Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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. More...
 
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) More...
 
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) More...
 

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 
)

Commit actuator values to the uavcan interface (EQUIPMENT_ACTUATOR_ARRAYCOMMAND)

Definition at line 455 of file actuators_uavcan.c.

References MAX_PPRZ, MIN_PPRZ, offset, uavcan_broadcast(), UAVCAN_CMD_UNUSED, UAVCAN_EQUIPMENT_ACTUATOR_ARRAYCOMMAND_ID, UAVCAN_EQUIPMENT_ACTUATOR_ARRAYCOMMAND_MAX_SIZE, and UAVCAN_EQUIPMENT_ACTUATOR_ARRAYCOMMAND_SIGNATURE.

+ 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 
)

Commit actuator values to the uavcan interface (EQUIPMENT_ESC_RAWCOMMAND)

Definition at line 436 of file actuators_uavcan.c.

References offset, uavcan_broadcast(), UAVCAN_EQUIPMENT_ESC_RAWCOMMAND_ID, UAVCAN_EQUIPMENT_ESC_RAWCOMMAND_MAX_SIZE, and UAVCAN_EQUIPMENT_ESC_RAWCOMMAND_SIGNATURE.

+ Here is the call graph for this function:

◆ actuators_uavcan_init()