aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Beall <matt.beall@greypointcorp.com>2015-02-24 12:29:51 -0700
committerThomas Gubler <thomasgubler@gmail.com>2015-02-28 15:19:16 +0100
commit877232119fe78af70a6a096f7d3a3deec2d825fe (patch)
tree4dc5f17297cdae3328440438cd3bc4463d464f84
parent40ae0ebdaca797ef9265c00ebb7f38eb82df7336 (diff)
downloadpx4-firmware-877232119fe78af70a6a096f7d3a3deec2d825fe.tar.gz
px4-firmware-877232119fe78af70a6a096f7d3a3deec2d825fe.tar.bz2
px4-firmware-877232119fe78af70a6a096f7d3a3deec2d825fe.zip
Small changes
-rw-r--r--src/modules/fw_att_control/fw_att_control_main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/fw_att_control/fw_att_control_main.cpp b/src/modules/fw_att_control/fw_att_control_main.cpp
index 6e49bd1d1..5052b41c3 100644
--- a/src/modules/fw_att_control/fw_att_control_main.cpp
+++ b/src/modules/fw_att_control/fw_att_control_main.cpp
@@ -520,7 +520,7 @@ FixedwingAttitudeControl::vehicle_control_mode_poll()
orb_check(_vcontrol_mode_sub, &vcontrol_mode_updated);
if (vcontrol_mode_updated) {
-
+ //vehicle_control_mode_s
orb_copy(ORB_ID(vehicle_control_mode), _vcontrol_mode_sub, &_vcontrol_mode);
}
}
@@ -795,10 +795,10 @@ FixedwingAttitudeControl::task_main()
/* Simple handling of failsafe: deploy parachute if failsafe is on */
if (_vcontrol_mode.flag_control_termination_enabled) {
_actuators_airframe.control[7] = 1.0f;
-// warnx("_actuators_airframe.control[1] = 1.0f;");
+ //warnx("_actuators_airframe.control[1] = 1.0f;");
} else {
_actuators_airframe.control[7] = 0.0f;
-// warnx("_actuators_airframe.control[1] = -1.0f;");
+ //warnx("_actuators_airframe.control[1] = -1.0f;");
}
/* decide if in stabilized or full manual control */