Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotwing takeoff update. #3269

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Dennis-Wijngaarden
Copy link
Contributor

Takeoff for 250 ms in current attitude. Then go to attitude 0,0

Added check for attitude within bounds

@Dennis-Wijngaarden
Copy link
Contributor Author

@EwoudSmeur, can you verify this PR?

Comment on lines +256 to +257
uint32_t stage_timer_msec = 0;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can add local variables directly to the flight plan. See: https://github.com/paparazzi/paparazzi/blob/master/conf/flight_plans/ENAC/fish_outdoor.xml#L44

<call_once fun="NavResurrect()"/>
<attitude pitch="0" roll="0" throttle="0" until="stage_time>10" vmode="throttle"/>
</block>
<block name="Wait takeoff">
<exception cond="stage_time > 10" deroute="Holding point"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should avoid using >' characters. Use @gtor@DEREF` if needed. See https://wiki.paparazziuav.org/wiki/Flight_Plans#Expressions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants