Skip to main content

Custom Messages & Services

Development-source reference, not a released API contract. Availability, namespace, QoS and authorization must be verified on the installed robot. Read-only inspection is recommended; do not send commands to an operating robot without an approved procedure.

The following schemas are transcribed from amrj16_messages/msg and amrj16_messages/srv. A schema alone does not establish that a publisher or server is running. Perception definitions may be experimental. Units are only those specified in the source comments.

Message definitions​

BatteryCapacity​

amrj16_messages/msg/BatteryCapacity

builtin_interfaces/Time timestamp # Time of message reception or sending

uint32 full_capacity # Master full charge capacity in mAh
uint32 remaining_capacity # Master remaining capacity capacity in mAh

BatteryLoad​

amrj16_messages/msg/BatteryLoad

builtin_interfaces/Time timestamp # Time of message reception or sending

uint32 total_voltage # Master voltage in mV (Max voltage)
int32 current # Master current in mA (positive = charging, negative = discharging)

BatteryStatus​

amrj16_messages/msg/BatteryStatus

std_msgs/Header header # General information about the message
builtin_interfaces/Time timestamp # Time of message reception or sending

float32 total_voltage # Total battery voltage in volts
float32 current # Battery current in amperes (positive = charging, negative = discharging)
float32 remaining_capacity # Remaining capacity in Ah
float32 full_charge_capacity # Full charge capacity in Ah
uint16 cycle_count # Number of charge/discharge cycles
uint16 manufacture_date # Encoded manufacture date (YYYYMMDD)
uint16 balance_status # Bitmask for cell balancing status
uint16 protect_status # Bitmask for protection status
uint8 software_version # Software version of the BMS
uint8 rsoc # Remaining state of charge (percentage)
uint8 fet_status # Bitmask for MOSFET control (charging/discharging)
uint8 num_battery_cells # Number of battery cells
uint8 num_ntc_sensors # Number of temperature sensors
float32[] ntc_temperatures # List of NTC sensor temperatures in degrees Celsius
float32 nominal_capacity # Nominal capacity in Ah

BatteryTemps​

amrj16_messages/msg/BatteryTemps

builtin_interfaces/Time timestamp # Time of message reception or sending

int16 max_fet_temp # Max battey FET temperature in 0.1C
int16 max_cell_temp # Max battey cell temperature in 0.1C
uint32 design_capacity # Master design capacity in mAh

DetectedObjects​

amrj16_messages/msg/DetectedObjects

uint32 object_id
geometry_msgs/Point position
float32 height
float32 width
float32 thickness

DetectedSurfaces​

amrj16_messages/msg/DetectedSurfaces

uint32 surface_id
geometry_msgs/Point position
float32 height
float32 width

InferenceResult​

amrj16_messages/msg/InferenceResult

string class_name
int64 top
int64 left
int64 bottom
int64 right
int64 box_width
int64 box_height
float64 x
float64 y

ObjectCount​

amrj16_messages/msg/ObjectCount

std_msgs/Header header
string[] classes
int32[] counts

PoseKeypoint​

amrj16_messages/msg/PoseKeypoint

int64 id
float32 x
float32 y
float32 confidence

PoseResult​

amrj16_messages/msg/PoseResult

std_msgs/Header header
PoseKeypoint[] keypoints

SegmentationResult​

amrj16_messages/msg/SegmentationResult

int64 class_id
string class_name
float64 x
float64 y
float64 width
float64 height

Yolov8Inference​

amrj16_messages/msg/Yolov8Inference

std_msgs/Header header
InferenceResult[] yolov8_inference

Yolov8Segmentation​

amrj16_messages/msg/Yolov8Segmentation

std_msgs/Header header
SegmentationResult[] yolov8_segmentation

Service definitions​

ButtonPress​

amrj16_messages/srv/ButtonPress

string button_id
---
bool success
string message

GetPoiYaml​

amrj16_messages/srv/GetPoiYaml

# GetPoiYaml.srv
---
string yaml_content

MissionPoiServiceMessage​

amrj16_messages/srv/MissionPoiServiceMessage

geometry_msgs/Pose[3] poses
---
string output

amrj16_messages/srv/NavigateToWaypoint

string waypoint_id
---
bool success
string message

PoiServiceMessage​

amrj16_messages/srv/PoiServiceMessage

string label # may be the label of the position or the "end" command to save the pose
string point_type # The category of the waypoint (e.g., "delivery", "pick", "nav")
---
string output # indicate the file poi.yaml saved

SetRelay​

amrj16_messages/srv/SetRelay

uint8 relay_id
bool required_state
---
bool success
string message

ShowWaypointMarker​

amrj16_messages/srv/ShowWaypointMarker

string pick_label # e.g. "point20_start"
string delivery_label # e.g. "point20_end"
---
string output # e.g. "Both markers published."