Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
actuators_esc32 module

Actuators Driver for AutoQuad ESC32 over CAN

Only with stm32 required xml configuration:

  • servo section with driver="ESC32"
  • command_laws section to map motor_mixing commands to servos

Example for airframe file

Add to your firmware section:

1 <module name="actuators_esc32"/>

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw actuators_esc32.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="actuators_esc32" dir="actuators" task="actuators">
<doc>
<description>
Actuators Driver for AutoQuad ESC32 over CAN
Only with stm32
required xml configuration:
- servo section with driver="ESC32"
- command_laws section to map motor_mixing commands to servos
</description>
</doc>
<header>
<file name="actuators_esc32.h" dir="subsystems/actuators"/>
</header>
<makefile target="ap">
<define name="ACTUATORS"/>
<define name="USE_CAN_EXT_ID"/>
<file name="can.c" dir="mcu_periph"/>
<file_arch name="can_arch.c" dir="mcu_periph"/>
<file_arch name="actuators_esc32.c" dir="subsystems/actuators"/>
</makefile>
</module>