NTURT Zephyr v0.0.1
NTURT common library for Zephyr RTOS
Loading...
Searching...
No Matches

Control message printing format strings. More...

+ Collaboration diagram for Control Message Printing:

Macros

#define PRImsg_ctrl_vehicle_state    PRImsg_header "\n\r\tvelocity (m/s): %" PRImsg_2d_data
 Insert msg_ctrl_vehicle_state printf format string.
 
#define PRImsg_ctrl_vehicle_state_arg(data)
 Insert msg_ctrl_vehicle_state arguments to printf format.
 
#define PRImsg_ctrl_word    PRImsg_header "\n\r\tcontrol word: %" PRImsg_4wheel_flags
 Insert msg_ctrl_word printf format string.
 
#define PRImsg_ctrl_word_arg(data)
 Insert msg_ctrl_word arguments to printf format.
 
#define PRImsg_ctrl_torque    PRImsg_header "\n\r\ttarget torque (Nm): %" PRImsg_4wheel_data
 Insert msg_ctrl_torque printf format string.
 
#define PRImsg_ctrl_torque_arg(data)
 Insert msg_ctrl_torque arguments to printf format.
 
#define PRImsg_ctrl_cmd   PRImsg_header "\n\r\trtd: %hu, emcy_stop: %hu"
 Insert msg_ctrl_cmd printf format string.
 
#define PRImsg_ctrl_cmd_arg(data)
 Insert msg_ctrl_cmd arguments to printf format.
 

Detailed Description

Control message printing format strings.

Macro Definition Documentation

◆ PRImsg_ctrl_cmd

#define PRImsg_ctrl_cmd   PRImsg_header "\n\r\trtd: %hu, emcy_stop: %hu"

#include <vcu/msg/interfaces/ctrl.h>

Insert msg_ctrl_cmd printf format string.

Parameters
[in]dataThe control command message data.

◆ PRImsg_ctrl_cmd_arg

#define PRImsg_ctrl_cmd_arg ( data)

#include <vcu/msg/interfaces/ctrl.h>

Value:
PRImsg_header_arg((data).header), (data).rtd, (data).emcy_stop
#define PRImsg_header_arg(data)
Insert msg_header arguments to print format.
Definition common.h:40

Insert msg_ctrl_cmd arguments to printf format.

Parameters
[in]dataThe control command message data.

◆ PRImsg_ctrl_torque

#define PRImsg_ctrl_torque    PRImsg_header "\n\r\ttarget torque (Nm): %" PRImsg_4wheel_data

#include <vcu/msg/interfaces/ctrl.h>

Insert msg_ctrl_torque printf format string.

◆ PRImsg_ctrl_torque_arg

#define PRImsg_ctrl_torque_arg ( data)

#include <vcu/msg/interfaces/ctrl.h>

Value:
PRImsg_header_arg((data).header), PRImsg_4wheel_data_arg((data).torque)
#define PRImsg_4wheel_data_arg(data)
Insert msg_4wheel_data arguments to print format.
Definition common.h:78

Insert msg_ctrl_torque arguments to printf format.

Parameters
[in]dataThe target torque message data.

◆ PRImsg_ctrl_vehicle_state

#define PRImsg_ctrl_vehicle_state    PRImsg_header "\n\r\tvelocity (m/s): %" PRImsg_2d_data

#include <vcu/msg/interfaces/ctrl.h>

Insert msg_ctrl_vehicle_state printf format string.

◆ PRImsg_ctrl_vehicle_state_arg

#define PRImsg_ctrl_vehicle_state_arg ( data)

#include <vcu/msg/interfaces/ctrl.h>

Value:
PRImsg_header_arg((data).header), PRImsg_2d_data_arg((data).velocity)
#define PRImsg_2d_data_arg(data)
Insert msg_2d_data arguments to print format.
Definition common.h:52

Insert msg_ctrl_vehicle_state arguments to printf format.

Parameters
[in]dataThe vehicle state message data.

◆ PRImsg_ctrl_word

#define PRImsg_ctrl_word    PRImsg_header "\n\r\tcontrol word: %" PRImsg_4wheel_flags

#include <vcu/msg/interfaces/ctrl.h>

Insert msg_ctrl_word printf format string.

◆ PRImsg_ctrl_word_arg

#define PRImsg_ctrl_word_arg ( data)

#include <vcu/msg/interfaces/ctrl.h>

Value:
PRImsg_header_arg((data).header), PRImsg_4wheel_flags_arg((data).ctrl)
#define PRImsg_4wheel_flags_arg(data)
Insert msg_4wheel_flags arguments to print format.
Definition common.h:89

Insert msg_ctrl_word arguments to printf format.

Parameters
[in]dataThe control word message data.