Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
px4-analyse-position [2018/10/27 21:57] natwati [calculate_target_airspeed()] |
px4-analyse-position [2018/10/27 22:02] (current) natwati |
||
---|---|---|---|
Line 326: | Line 326: | ||
If flag_init is false the passed waypoint_next and waypoint_prev are used to generate a line. The waypoint_prev is generated on the line 1100 meters behind waypoint_next and the new waypoint_next is generated on the line 4000 meters ahead of the old waypoint_next.\\ | If flag_init is false the passed waypoint_next and waypoint_prev are used to generate a line. The waypoint_prev is generated on the line 1100 meters behind waypoint_next and the new waypoint_next is generated on the line 4000 meters ahead of the old waypoint_next.\\ | ||
_hold_alt is used for all waypoints. | _hold_alt is used for all waypoints. | ||
+ | |||
+ | ==== update_desired_altitude() ==== | ||
<code c++ FixedwingPositionControl.hpp> | <code c++ FixedwingPositionControl.hpp> | ||
bool update_desired_altitude(float dt); | bool update_desired_altitude(float dt); | ||
Line 331: | Line 333: | ||
Update desired altitude base on user pitch stick input based on _manual.x (from manual_control_setpoint) and a dt (delta time) argument. | Update desired altitude base on user pitch stick input based on _manual.x (from manual_control_setpoint) and a dt (delta time) argument. | ||
- | ==== control_takeoff() ==== | ||
- | Not examined yet | ||
- | ==== control_landing() ==== | ||
- | Not examined yet | ||
==== handle_command() ==== | ==== handle_command() ==== | ||
- | Not examined yetÌý | + | This funcion solely handles the VEHICLE_CMD_DO_GO_AROUND.Ìý |
- | ==== tecs_update_pitch_throttle() ====Ìý | + | It abort landing before point of no return (horizontal and vertical) by setting _fw_pos_ctrl_status.abort_landing to true.Ìý |
- | Not examined yet | + | |
==== airspeed_poll() ==== | ==== airspeed_poll() ==== | ||
Line 348: | Line 346: | ||
TECS is notified if airspeed is still valid by calling _tecs.enable_airspeed(_airspeed_valid). | TECS is notified if airspeed is still valid by calling _tecs.enable_airspeed(_airspeed_valid). | ||
- | ===== Copyright ===== | ||
+ | ==== control_takeoff() ==== | ||
+ | Not examined yet | ||
+ | ==== control_landing() ==== | ||
+ | Not examined yet | ||
+ | ==== tecs_update_pitch_throttle() ==== | ||
+ | Not examined yet | ||
+ | |||
+ | ===== Copyright ===== | ||
The following copyright applies to all sourcecode shown on this page: | The following copyright applies to all sourcecode shown on this page: |