diff options
author | Marcel Stüttgen <stuettgen@fh-aachen.de> | 2015-03-20 17:01:52 +0100 |
---|---|---|
committer | Marcel Stüttgen <stuettgen@fh-aachen.de> | 2015-03-20 17:01:52 +0100 |
commit | 9130976d9e0e8d5fa27a78967eddfce2e0113b8a (patch) | |
tree | 5bd3bc6f9d49193fbad8b64540d54ec0098a347a /src/examples/rover_steering_control | |
parent | f23b1d23501c9c56c5fc371a17a3537972088461 (diff) | |
download | px4-firmware-9130976d9e0e8d5fa27a78967eddfce2e0113b8a.tar.gz px4-firmware-9130976d9e0e8d5fa27a78967eddfce2e0113b8a.tar.bz2 px4-firmware-9130976d9e0e8d5fa27a78967eddfce2e0113b8a.zip |
Update main.cpp
removed debug output code
Diffstat (limited to 'src/examples/rover_steering_control')
-rw-r--r-- | src/examples/rover_steering_control/main.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/examples/rover_steering_control/main.cpp b/src/examples/rover_steering_control/main.cpp index 67ff48916..edde5627d 100644 --- a/src/examples/rover_steering_control/main.cpp +++ b/src/examples/rover_steering_control/main.cpp @@ -155,24 +155,6 @@ int parameters_update(const struct param_handles *h, struct params *p) void control_attitude(const struct vehicle_attitude_setpoint_s *att_sp, const struct vehicle_attitude_s *att, struct actuator_controls_s *actuators) { - - //double r,p,y,t; - - - - //printf("vehicle_attitude_setpoint:\n"); - //print values only when they change to get less spam in console - if((double)att_sp->roll_body > 0.0) { printf("att_sp->roll_body: %8.4f\n" , (double)att_sp->roll_body); } - if((double)att_sp->pitch_body > 0.0) {printf("att_sp->pitch_body: %8.4f\n" , (double)att_sp->pitch_body); } - if((double)att_sp->yaw_body > 0.0) { printf("att_sp->yaw_body: %8.4f\n" , (double)att_sp->yaw_body); } - if((double)att_sp->thrust > 0.0) { printf("att_sp->throttle: %8.4f\n" , (double)att_sp->thrust); } - - // r = (double)att_sp->roll_body; - // p = (double)att_sp->pitch_body; - // y = (double)att_sp->yaw_body; - // t = (double)att_sp->thrust; - - /* * The PX4 architecture provides a mixer outside of the controller. * The mixer is fed with a default vector of actuator controls, representing |