Skip to content

Commit

Permalink
Changes to Rotwing 7kg simulator and Actuator dynamics (#3394)
Browse files Browse the repository at this point in the history
* First push

* More airframes adapted
  • Loading branch information
tmldeponti authored Oct 15, 2024
1 parent 32074c9 commit 5ae4fd9
Show file tree
Hide file tree
Showing 7 changed files with 186 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
<define name = "FILT_CUTOFF_RDOT" value = "0.5" />
<define name = "FILTER_YAW_RATE" value = "TRUE"/>
<!-- | MF | MR | MB | ML | MP | ELE | RUD | AIL | FLA | PHI | THETA | -->
<define name = "ACT_DYN" value = "{ 15.1f, 15.1f, 15.1f, 15.1f, 24.07f, 50.00f, 50.00f, 50.00f, 50.00f, 0.00f, 0.00f }" />
<define name = "ACT_DYN" value = "{ 22.0f, 22.0f, 22.0f, 22.0f, 30.0f, 50.00f, 50.00f, 50.00f, 50.00f, 0.00f, 0.00f }" />
<define name = "ACT_IS_SERVO" value = "{ 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0 }" />
<define name = "ACT_MAX" value = "{ 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, M_PI_4, M_PI_4}"/>
<define name = "ACT_MIN" value = "{ 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, -9600.0f, -9600.0f, -9600.0f, -M_PI_4, -M_PI_4}"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/tudelft/rotwing_v3c_oneloop.xml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
<define name = "FILT_CUTOFF_RDOT" value = "0.5" />
<define name = "FILTER_YAW_RATE" value = "TRUE"/>
<!-- | MF | MR | MB | ML | MP | ELE | RUD | AIL | FLA | PHI | THETA | -->
<define name = "ACT_DYN" value = "{ 15.1f, 15.1f, 15.1f, 15.1f, 24.07f, 50.00f, 50.00f, 50.00f, 50.00f, 0.00f, 0.00f }" />
<define name = "ACT_DYN" value = "{ 22.0f, 22.0f, 22.0f, 22.0f, 30.0f, 50.00f, 50.00f, 50.00f, 50.00f, 0.00f, 0.00f }" />
<define name = "ACT_IS_SERVO" value = "{ 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0 }" />
<define name = "ACT_MAX" value = "{ 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, M_PI_4, M_PI_4}"/>
<define name = "ACT_MIN" value = "{ 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, -9600.0f, -9600.0f, -9600.0f, -M_PI_4, -M_PI_4}"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/tudelft/rotwing_v3c_oneloop_optitrack.xml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
<define name = "FILT_CUTOFF_RDOT" value = "0.5" />
<define name = "FILTER_YAW_RATE" value = "TRUE"/>
<!-- | MF | MR | MB | ML | MP | ELE | RUD | AIL | FLA | PHI | THETA | -->
<define name = "ACT_DYN" value = "{ 15.1f, 15.1f, 15.1f, 15.1f, 24.07f, 50.00f, 50.00f, 50.00f, 50.00f, 0.00f, 0.00f }" />
<define name = "ACT_DYN" value = "{ 22.0f, 22.0f, 22.0f, 22.0f, 30.0f, 50.00f, 50.00f, 50.00f, 50.00f, 0.00f, 0.00f }" />
<define name = "ACT_IS_SERVO" value = "{ 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0 }" />
<define name = "ACT_MAX" value = "{ 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, M_PI_4, M_PI_4}"/>
<define name = "ACT_MIN" value = "{ 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, -9600.0f, -9600.0f, -9600.0f, -M_PI_4, -M_PI_4}"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
<define name = "FILT_CUTOFF_RDOT" value = "0.5" />
<define name = "FILTER_YAW_RATE" value = "TRUE"/>
<!-- | MF | MR | MB | ML | MP | ELE | RUD | AIL | FLA | PHI | THETA | -->
<define name = "ACT_DYN" value = "{ 15.1f, 15.1f, 15.1f, 15.1f, 24.07f, 50.00f, 50.00f, 50.00f, 50.00f, 0.00f, 0.00f }" />
<define name = "ACT_DYN" value = "{ 22.0f, 22.0f, 22.0f, 22.0f, 30.0f, 50.00f, 50.00f, 50.00f, 50.00f, 0.00f, 0.00f }" />
<define name = "ACT_IS_SERVO" value = "{ 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0 }" />
<define name = "ACT_MAX" value = "{ 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, M_PI_4, M_PI_4}"/>
<define name = "ACT_MIN" value = "{ 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, -9600.0f, -9600.0f, -9600.0f, -M_PI_4, -M_PI_4}"/>
Expand Down
2 changes: 1 addition & 1 deletion conf/airframes/tudelft/rotwing_v3c_oneloop_simulation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
<define name = "FILT_CUTOFF_RDOT" value = "0.5" />
<define name = "FILTER_YAW_RATE" value = "TRUE"/>
<!-- | MF | MR | MB | ML | MP | ELE | RUD | AIL | FLA | PHI | THETA | -->
<define name = "ACT_DYN" value = "{ 15.1f, 15.1f, 15.1f, 15.1f, 24.07f, 50.00f, 50.00f, 50.00f, 50.00f, 0.00f, 0.00f }" />
<define name = "ACT_DYN" value = "{ 22.0f, 22.0f, 22.0f, 22.0f, 30.0f, 50.00f, 50.00f, 50.00f, 50.00f, 0.00f, 0.00f }" />
<define name = "ACT_IS_SERVO" value = "{ 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0 }" />
<define name = "ACT_MAX" value = "{ 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, 9600.0f, M_PI_4, M_PI_4}"/>
<define name = "ACT_MIN" value = "{ 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, -9600.0f, -9600.0f, -9600.0f, -M_PI_4, -M_PI_4}"/>
Expand Down
Loading

0 comments on commit 5ae4fd9

Please sign in to comment.