forked from Archive/PX4-Autopilot
removed whitespaces removed small unused code block
This commit is contained in:
parent
21465bc287
commit
fbedd3ed20
|
@ -2240,7 +2240,7 @@ set_control_mode()
|
||||||
control_mode.flag_control_velocity_enabled = false;
|
control_mode.flag_control_velocity_enabled = false;
|
||||||
control_mode.flag_control_termination_enabled = false;
|
control_mode.flag_control_termination_enabled = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NAVIGATION_STATE_ALTCTL:
|
case NAVIGATION_STATE_ALTCTL:
|
||||||
control_mode.flag_control_manual_enabled = true;
|
control_mode.flag_control_manual_enabled = true;
|
||||||
control_mode.flag_control_auto_enabled = false;
|
control_mode.flag_control_auto_enabled = false;
|
||||||
|
|
|
@ -77,7 +77,6 @@
|
||||||
#include <ecl/attitude_fw/ecl_roll_controller.h>
|
#include <ecl/attitude_fw/ecl_roll_controller.h>
|
||||||
#include <ecl/attitude_fw/ecl_yaw_controller.h>
|
#include <ecl/attitude_fw/ecl_yaw_controller.h>
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fixedwing attitude control app start / stop handling function
|
* Fixedwing attitude control app start / stop handling function
|
||||||
*
|
*
|
||||||
|
@ -637,7 +636,7 @@ FixedwingAttitudeControl::task_main()
|
||||||
orb_set_interval(_att_sub, 17);
|
orb_set_interval(_att_sub, 17);
|
||||||
|
|
||||||
parameters_update();
|
parameters_update();
|
||||||
|
|
||||||
/* get an initial update for all sensor and status data */
|
/* get an initial update for all sensor and status data */
|
||||||
vehicle_airspeed_poll();
|
vehicle_airspeed_poll();
|
||||||
vehicle_setpoint_poll();
|
vehicle_setpoint_poll();
|
||||||
|
|
|
@ -766,8 +766,6 @@ MulticopterAttitudeControl::task_main_trampoline(int argc, char *argv[])
|
||||||
void
|
void
|
||||||
MulticopterAttitudeControl::task_main()
|
MulticopterAttitudeControl::task_main()
|
||||||
{
|
{
|
||||||
warnx("started");
|
|
||||||
fflush(stdout);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* do subscriptions
|
* do subscriptions
|
||||||
|
|
Loading…
Reference in New Issue