Skip to content
Snippets Groups Projects
Commit b76458a0 authored by roangel's avatar roangel
Browse files

Ready to test downstairs

parent 24d54627
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.0.2, 2017-05-18T11:46:07. -->
<!-- Written by QtCreator 4.0.2, 2017-05-18T12:14:24. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
......
......@@ -171,7 +171,7 @@
<rect>
<x>760</x>
<y>230</y>
<width>171</width>
<width>181</width>
<height>171</height>
</rect>
</property>
......@@ -308,11 +308,16 @@
<property name="geometry">
<rect>
<x>120</x>
<y>120</y>
<width>51</width>
<y>118</y>
<width>61</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>7</pointsize>
</font>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
......
......@@ -20,7 +20,7 @@
#include "d_fall_pps/ViconData.h"
#include "d_fall_pps/UnlabeledMarker.h"
#define TESTING_FAKE_DATA
// #define TESTING_FAKE_DATA
// notice that unit here are in milimeters
using namespace ViconDataStreamSDK::CPP;
......@@ -84,9 +84,26 @@ int main(int argc, char* argv[]) {
crazyfly.x = 0;
crazyfly.y = 0;
crazyfly.z = 0;
crazyfly.yaw = 3.14159/600 * f;
viconData.crazyflies.push_back(crazyfly);
crazyfly.crazyflieName = "CF2";
crazyfly.x = 1000;
crazyfly.y = 1000;
crazyfly.z = 0;
crazyfly.yaw = -3.14159/600 * f;
viconData.crazyflies.push_back(crazyfly);
if(i > 50 && i < 100)
{
crazyfly.crazyflieName = "CF3";
crazyfly.x = 1000;
crazyfly.y = -1000;
crazyfly.z = 0;
crazyfly.yaw = -3.14159/600 * f;
viconData.crazyflies.push_back(crazyfly);
}
viconDataPublisher.publish(viconData); // testing data
}
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment