UAVCan actuators
No detailed description...
Example for airframe file
Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!
<module name="actuators_uavcan">
b'<define name="UAVCAN_ACTUATORS_USE_CURRENT" value="TRUE" />\n '
</module>
Module configuration options
Define Options
- name:
UAVCAN_ACTUATORS_USE_CURRENT
value: TRUE
Description: Enable the usage of the current sensing in the ESC telemetry
Auto-loaded modules
The following modules are automatically loaded (just as if you had added them in the airframe file)
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw actuators_uavcan.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="actuators_uavcan" dir="actuators" task="actuators">
<doc>
<description>
UAVCan actuators
</description>
<define name="UAVCAN_ACTUATORS_USE_CURRENT" value="TRUE" description="Enable the usage of the current sensing in the ESC telemetry"/>
</doc>
<dep>
<depends>uavcan,actuators</depends>
<provides>actuators</provides>
</dep>
<autoload name="actuators" type="nps"/>
<header>
<file name="actuators_uavcan.h"/>
</header>
<makefile target="ap">
<file name="actuators_uavcan.c"/>
<file name="pprz_random.c" dir="math"/>
</makefile>
</module>