-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rotating wing state machine * state now drives the wing rotation * module does not run stand-alone * Update conf/modules/rotwing_state.xml Co-authored-by: Dennis van Wijngaarden <D.C.vanWijngaarden@tudelft.nl> Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
- Loading branch information
1 parent
5c04a35
commit 0ec27e7
Showing
6 changed files
with
759 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE module SYSTEM "module.dtd"> | ||
<module name="rotwing_state" dir="rot_wing_drone"> | ||
<doc> | ||
<description>This module keeps track of the current state of a rotating wing drone and desired state set by the RC or flightplan. Paramters are being scheduled in each change of a current state and desired state. Functions are defined in this module to call the actual state and desired state and set a desired state.</description> | ||
</doc> | ||
<settings> | ||
<dl_settings> | ||
<dl_settings NAME="RotWingState"> | ||
<dl_setting var="rotwing_state_skewing.wing_angle_deg_sp" min="0" step="1" max="90" shortname="skew angle"/> | ||
<dl_setting var="rotwing_state_skewing.force_rotation_angle" min="0" step="1" max="1" values="FALSE|TRUE" shortname="force_skew"/> | ||
<dl_setting var="hover_motors_active" min="0" step="1" max="1" values="FALSE|TRUE" shortname="h_motors_active"/> | ||
<dl_setting var="bool_disable_hover_motors" min="0" step="1" max="1" values="FALSE|TRUE" shortname="h_motors_disable"/> | ||
</dl_settings> | ||
</dl_settings> | ||
</settings> | ||
<header> | ||
<file name="rotwing_state.h"/> | ||
</header> | ||
<init fun="init_rotwing_state()"/> | ||
<periodic fun="periodic_rotwing_state()" freq="50"/> | ||
<makefile> | ||
<file name="rotwing_state.c"/> | ||
</makefile> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.