Driver for the Ostrich rover controller board
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!
1 <module name="actuators_ostrich">
2 <configure name="ACTUATORS_OSTRICH_PORT" value="UARTx" />
3 <configure name="ACTUATORS_OSTRICH_BAUD" value="B115200" />
Module configuration options
Configure Options
- name:
ACTUATORS_OSTRICH_PORT
value: UARTx
Description: UART port (default UART6)
- name:
ACTUATORS_OSTRICH_BAUD
value: B115200
Description: UART baudrate (default 115200)
Module functions
Periodic Functions
These functions are called periodically at the specified frequency from the module periodic loop.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw actuators_ostrich.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="actuators_ostrich" dir="actuators">
<doc>
<description>Driver for the Ostrich rover controller board</description>
<configure name="ACTUATORS_OSTRICH_PORT" value="UARTx" description="UART port (default UART6)"/>
<configure name="ACTUATORS_OSTRICH_BAUD" value="B115200" description="UART baudrate (default 115200)"/>
</doc>
<header>
<file name="actuators_ostrich.h"/>
</header>
<periodic fun="actuators_ostrich_periodic()" freq="10"/>
<makefile target="ap">
<configure name="ACTUATORS_OSTRICH_PORT" case="upper|lower" default="UART6"/>
<configure name="ACTUATORS_OSTRICH_BAUD" default="B115200"/>
<define name="USE_$(ACTUATORS_OSTRICH_PORT_UPPER)"/>
<define name="ACTUATORS_OSTRICH_DEV" value="$(ACTUATORS_OSTRICH_PORT_LOWER)"/>
<define name="$(ACTUATORS_OSTRICH_PORT_UPPER)_BAUD" value="$(ACTUATORS_OSTRICH_BAUD)"/>
<file name="actuators_ostrich.c"/>
</makefile>
</module>