Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
px4-analyse-position [2018/10/27 21:57] natwati [calculate_target_airspeed()] |
px4-analyse-position [2018/10/27 21:57] natwati [get_waypoint_heading_distance()] |
||
---|---|---|---|
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); |