Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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 440 of file actuators_uavcan.c.

References MAX_PPRZ, MIN_PPRZ, 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 419 of file actuators_uavcan.c.

References uavcan_broadcast().

Here is the call graph for this function:

◆ actuators_uavcan_init()