File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
fw_pos_control_l1/autogyro_takeoff Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -305,12 +305,13 @@ float AutogyroTakeoff::getPitch(float tecsPitch)
305
305
switch (_state) {
306
306
307
307
case AutogyroTakeoffState::TAKEOFF_ERROR:
308
- case AutogyroTakeoffState::PRE_TAKEOFF_PREROTATE_START: // 0 Null pitch
309
308
return 0 ;
310
309
310
+ case AutogyroTakeoffState::PRE_TAKEOFF_PREROTATE_START: // 0 Null pitch
311
311
case AutogyroTakeoffState::PRE_TAKEOFF_PREROTATE: // 1 maximal pitch
312
312
case AutogyroTakeoffState::PRE_TAKEOFF_DONE: // 2
313
- return math::radians (_param_rwto_max_pitch.get ());
313
+ // return math::radians(_param_rwto_max_pitch.get());
314
+ return math::radians (_param_rwto_psp.get ());
314
315
315
316
// FLy
316
317
default :
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ void LoggedTopics::add_default_topics()
54
54
add_optional_topic (" actuator_controls_status_0" , 300 );
55
55
add_topic (" airspeed" , 1000 );
56
56
add_optional_topic (" airspeed_validated" , 200 );
57
- add_optional_topic (" autogyro_takeoff_status" , 100 );
58
57
add_optional_topic (" autotune_attitude_control_status" , 100 );
59
58
add_optional_topic (" camera_capture" );
60
59
add_optional_topic (" camera_trigger" );
@@ -96,7 +95,7 @@ void LoggedTopics::add_default_topics()
96
95
add_topic (" sensor_selection" );
97
96
add_topic (" sensors_status_imu" , 200 );
98
97
add_topic (" system_power" , 500 );
99
- add_optional_topic (" takeoff_status" , 1000 );
98
+ add_topic (" takeoff_status" );
100
99
add_optional_topic (" tecs_status" , 200 );
101
100
add_topic (" trajectory_setpoint" , 200 );
102
101
add_topic (" transponder_report" );
You can’t perform that action at this time.
0 commit comments