Skip to content

Commit

Permalink
added all components
Browse files Browse the repository at this point in the history
  • Loading branch information
tblaha committed Jun 13, 2023
1 parent 328d5ca commit 1e6bacf
Show file tree
Hide file tree
Showing 10 changed files with 121 additions and 189 deletions.
26 changes: 0 additions & 26 deletions .vscode/c_cpp_properties.json

This file was deleted.

44 changes: 0 additions & 44 deletions .vscode/launch.json

This file was deleted.

16 changes: 0 additions & 16 deletions .vscode/settings.json

This file was deleted.

14 changes: 8 additions & 6 deletions conf/airframes/tudelft/flamewheel_indi_new_alloc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
<module name="pprzlog"/>
<module name="logger" type="sd_chibios"/>
<module name="flight_recorder"/>
<module name="logger" type="control_effectiveness"/>
<module name="logger" type="control_effectiveness">
<define name="LOGGER_CONTROL_EFFECTIVENESS_ACTUATORS" value="TRUE"/>
</module>

<define name="STABILIZATION_ATTITUDE_INDI_LOG_ALLOC_EXEC_TIME" value="true"/>

<define name="SDLOG_AUTO_FLUSH_PERIOD" value="1" unit="s"/>
<define name="SDLOG_START_DELAY" value="5" unit="s"/>
Expand Down Expand Up @@ -86,7 +90,7 @@
-->
<module name="stabilization" type="indi">
<configure name="INDI_OUTPUTS" value="4"/>
<configure name="INDI_NUM_ACTUATOTS" value="4"/>
<configure name="INDI_NUM_ACT" value="6"/>
</module>
<!--
<module name="stabilization" type="indi"/>
Expand Down Expand Up @@ -294,16 +298,14 @@
<define name="CTL_ALLOC_COND_BOUND" value="1e5"/>
</section>

<!--
<section name="actuator_sizes">
<define name="INDI_OUTPUTS" value="4"/>
<define name="INDI_NUM_ACT" value="6"/>
<define name="AS_N_V" value="4"/>
<define name="AS_N_U" value="6"/>
</section>

<section name="CONTROL_EFFECTIVENESS" prefix="LOGGER_CONTROL_EFFECTIVENESS_">
<define name="ACTUATORS" value="TRUE"/>
</section>
-->

<section name="GUIDANCE_V" prefix="GUIDANCE_V_">
<define name="HOVER_KP" value="283"/>
Expand Down
62 changes: 0 additions & 62 deletions conf/flight_plans/tudelft/control_alloc_planar.xml

This file was deleted.

4 changes: 2 additions & 2 deletions conf/flight_plans/tudelft/control_alloc_planar_yaw.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</block>
<block key="t" name="Takeoff" strip_button="Takeoff" strip_icon="takeoff.png">
<exception cond="GetPosAlt() @GT 0.8" deroute="Standby"/>
<stay vmode="climb" climb="nav_climb_vspeed" wp="CLIMB"/>
<stay vmode="climb" climb="nav.climb_vspeed" wp="CLIMB"/>
</block>
<block key="s" name="Standby" strip_button="Standby" strip_icon="home.png">
<stay wp="STDBY"/>
Expand All @@ -52,7 +52,7 @@
<exception cond="!nav_is_in_flight()" deroute="Landed"/>
<exception cond="0.10 @GT GetPosAlt()" deroute="Landed"/>
<!--<call_once fun="NavStartDetectGround()"/>-->
<stay climb="nav_descend_vspeed" vmode="climb" wp="HOME"/>
<stay climb="nav.descend_vspeed" vmode="climb" wp="HOME"/>
</block>
<block name="Landed">
<call_once fun="NavKillThrottle()"/>
Expand Down

0 comments on commit 1e6bacf

Please sign in to comment.