Module that predicts the crash location if the motors would be
turned off, assuming a ballistic trajectory based on the current velocity. Suggested use: trigger exceptions in the flight plan with the ballistic_pos variable.
Example for airframe file
Add to your firmware section:
<module name="ballistic_touchdown"/>
Module functions
Init Functions
These initialization functions are called once on startup.
Periodic Functions
These functions are called periodically at the specified frequency from the module periodic loop.
- ballistic_touchdown_run()
- Running at maximum module frequency.
- Autorun: TRUE
Periodic function automatically starts after init.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw ballistic_touchdown.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="ballistic_touchdown" dir="nav">
<doc>
<description>
Module that predicts the crash location if the motors would be
turned off, assuming a ballistic trajectory based on the current
velocity. Suggested use: trigger exceptions in the flight plan with
the ballistic_pos variable.
</description>
</doc>
<dep>
<depends>@navigation</depends>
</dep>
<header>
<file name="ballistic_touchdown.h"/>
</header>
<init fun="ballistic_touchdown_init()"/>
<periodic fun="ballistic_touchdown_run()" autorun="TRUE"/>
<makefile target="ap|nps">
<file name="ballistic_touchdown.c"/>
</makefile>
</module>