Commit 5d768748 authored by Paul Beuchat's avatar Paul Beuchat
Browse files

Fixed small bug related to controller activated after CrazyRadio changed status

parent 03afe094
......@@ -289,6 +289,7 @@ void MainWindow::controllerUsedChangedCallback(const std_msgs::Int32& msg)
break;
case REMOTE_CONTROLLER:
highlightRemoteControllerTab();
break;
case TUNING_CONTROLLER:
highlightTuningControllerTab();
break;
......
......@@ -369,7 +369,7 @@
</font>
</property>
<property name="currentIndex">
<number>5</number>
<number>0</number>
</property>
<property name="usesScrollButtons">
<bool>true</bool>
......
......@@ -87,11 +87,16 @@ CMD_RECONNECT = 0
CMD_DISCONNECT = 1
# Commands for PPSClient
CMD_USE_SAFE_CONTROLLER = 1
CMD_USE_CUSTOM_CONTROLLER = 2
CMD_CRAZYFLY_TAKE_OFF = 3
CMD_CRAZYFLY_LAND = 4
CMD_CRAZYFLY_MOTORS_OFF = 5
#CMD_USE_SAFE_CONTROLLER = 1
#CMD_USE_DEMO_CONTROLLER = 2
#CMD_USE_STUDENT_CONTROLLER = 3
#CMD_USE_MPC_CONTROLLER = 4
#CMD_USE_REMOTE_CONTROLLER = 5
#CMD_USE_TUNING_CONTROLLER = 6
CMD_CRAZYFLY_TAKE_OFF = 11
CMD_CRAZYFLY_LAND = 12
CMD_CRAZYFLY_MOTORS_OFF = 13
rp = RosPack()
record_file = rp.get_path('d_fall_pps') + '/LoggingOnboard.bag'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment