MBot Software Library
v1.0
An API documentation to mbot_firmware repository
mbot_firmware
comms
include
comms
mbot_channels.h
1
#include <stdio.h>
2
#include <stdint.h>
3
// #include <memory.h>
4
#include <string.h>
5
#include <pico/binary_info.h>
6
7
#ifndef MBOT_MESSAGES_H
8
#define MBOT_MESSAGES_H
9
10
11
// These must match the channels also defined for mbot_lcm_serial in mbot_lcm_base
12
enum
message_topics{
13
MBOT_TIMESYNC = 201,
14
MBOT_ODOMETRY = 210,
15
MBOT_ODOMETRY_RESET = 211,
16
MBOT_VEL_CMD = 214,
17
MBOT_IMU = 220,
18
MBOT_ENCODERS = 221,
19
MBOT_ENCODERS_RESET = 222,
20
MBOT_MOTOR_PWM_CMD = 230,
21
MBOT_MOTOR_VEL_CMD = 231,
22
MBOT_MOTOR_VEL = 232,
23
MBOT_MOTOR_PWM = 233,
24
MBOT_VEL = 234
25
};
26
27
#endif
Generated by
1.9.1