Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
actuators_uavcan.h File Reference
#include "modules/uavcan/uavcan.h"
#include <BOARD_CONFIG>
+ Include dependency graph for actuators_uavcan.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ACTUATORS_UAVCAN_RAW_DIV   1
 
#define ACTUATORS_UAVCAN_CMD_DIV   1
 

Functions

void actuators_uavcan_init (struct uavcan_iface_t *iface)
 Initialize an uavcan interface.
 
void actuators_uavcan_commit (struct uavcan_iface_t *iface, int16_t *values, uint8_t nb)
 Commit actuator values to the uavcan interface (EQUIPMENT_ESC_RAWCOMMAND)
 
void actuators_uavcan_cmd_commit (struct uavcan_iface_t *iface, int16_t *values, uint8_t nb)
 Commit actuator values to the uavcan interface (EQUIPMENT_ACTUATOR_ARRAYCOMMAND)
 

Macro Definition Documentation

◆ ACTUATORS_UAVCAN_CMD_DIV

#define ACTUATORS_UAVCAN_CMD_DIV   1

Definition at line 36 of file actuators_uavcan.h.

◆ ACTUATORS_UAVCAN_RAW_DIV

#define ACTUATORS_UAVCAN_RAW_DIV   1

Definition at line 31 of file actuators_uavcan.h.

Function Documentation

◆ actuators_uavcan_cmd_commit()

void actuators_uavcan_cmd_commit ( struct uavcan_iface_t iface,
int16_t values,
uint8_t  nb 
)
extern

Commit actuator values to the uavcan interface (EQUIPMENT_ACTUATOR_ARRAYCOMMAND)

Definition at line 389 of file actuators_uavcan.c.

References foo, MAX_PPRZ, MIN_PPRZ, msg, uavcan_broadcast(), and UAVCAN_CMD_UNUSED.

+ Here is the call graph for this function:

◆ actuators_uavcan_commit()

void actuators_uavcan_commit ( struct uavcan_iface_t iface,
int16_t values,
uint8_t  nb 
)
extern

Commit actuator values to the uavcan interface (EQUIPMENT_ESC_RAWCOMMAND)

Definition at line 368 of file actuators_uavcan.c.

References foo, msg, and uavcan_broadcast().

+ Here is the call graph for this function:

◆ actuators_uavcan_init()