AGVC SDK  0.8.0
agvc_interface::RunningInfo结构体 参考

agv 运行信息 更多...

#include <type.h>

agvc_interface::RunningInfo 的协作图:

Public 属性

Header header
 agv的SN码,agv的名称,当前时间,地图的id
RunningMode running_mode
 agv当前运行模式
Speed current_speed
 当前行驶速度 {v w},单位{m/s rad/s}
int8_t location_score
 当前定位评分,[0-100]
double total_dist
 累计行驶里程,单位 m
double current_dist
 本次累计行驶里程,单位 m
double total_running_time
 累计运行时间,单位 s
double current_running_time
 本次运行时间,单位 s
double battery_voltage
 电池电压,单位 V
double battery_current
 电池电流,单位 A
int8_t remaining_voltage
 剩余电量,百分比 % [0-100]
int8_t battery_status
 电池状态,0-无,1-放电,2-充电,3-充满,4-急需充电
int8_t safety_edge_status
 安全触边状态,0-无,1-左前侧碰撞,2-右前碰撞,3-左后碰撞,4-右后碰撞
bool low_battery
 是否电量低
bool pause
 是否处于暂停状态
bool emergency_stop
 是否处于急停状态
bool blocked
 是否被障碍物遮挡
bool localization_loss
 是否定位丢失
bool fault_alarm
 故障报警(电机故障、传感器故障、电池故障),具体故障信息可在日志中查看
bool break_release_flag
 是否释放刹车,true 代表释放,false 代表未释放

详细描述

agv 运行信息

在文件 type.h460 行定义.

类成员变量说明

◆ battery_current

double agvc_interface::RunningInfo::battery_current

电池电流,单位 A

在文件 type.h471 行定义.

◆ battery_status

int8_t agvc_interface::RunningInfo::battery_status

电池状态,0-无,1-放电,2-充电,3-充满,4-急需充电

在文件 type.h473 行定义.

◆ battery_voltage

double agvc_interface::RunningInfo::battery_voltage

电池电压,单位 V

在文件 type.h470 行定义.

◆ blocked

bool agvc_interface::RunningInfo::blocked

是否被障碍物遮挡

在文件 type.h478 行定义.

◆ break_release_flag

bool agvc_interface::RunningInfo::break_release_flag

是否释放刹车,true 代表释放,false 代表未释放

在文件 type.h481 行定义.

◆ current_dist

double agvc_interface::RunningInfo::current_dist

本次累计行驶里程,单位 m

在文件 type.h467 行定义.

◆ current_running_time

double agvc_interface::RunningInfo::current_running_time

本次运行时间,单位 s

在文件 type.h469 行定义.

◆ current_speed

Speed agvc_interface::RunningInfo::current_speed

当前行驶速度 {v w},单位{m/s rad/s}

在文件 type.h464 行定义.

◆ emergency_stop

bool agvc_interface::RunningInfo::emergency_stop

是否处于急停状态

在文件 type.h477 行定义.

◆ fault_alarm

bool agvc_interface::RunningInfo::fault_alarm

故障报警(电机故障、传感器故障、电池故障),具体故障信息可在日志中查看

在文件 type.h480 行定义.

◆ header

Header agvc_interface::RunningInfo::header

agv的SN码,agv的名称,当前时间,地图的id

在文件 type.h462 行定义.

◆ localization_loss

bool agvc_interface::RunningInfo::localization_loss

是否定位丢失

在文件 type.h479 行定义.

◆ location_score

int8_t agvc_interface::RunningInfo::location_score

当前定位评分,[0-100]

在文件 type.h465 行定义.

◆ low_battery

bool agvc_interface::RunningInfo::low_battery

是否电量低

在文件 type.h475 行定义.

◆ pause

bool agvc_interface::RunningInfo::pause

是否处于暂停状态

在文件 type.h476 行定义.

◆ remaining_voltage

int8_t agvc_interface::RunningInfo::remaining_voltage

剩余电量,百分比 % [0-100]

在文件 type.h472 行定义.

◆ running_mode

RunningMode agvc_interface::RunningInfo::running_mode

agv当前运行模式

在文件 type.h463 行定义.

◆ safety_edge_status

int8_t agvc_interface::RunningInfo::safety_edge_status

安全触边状态,0-无,1-左前侧碰撞,2-右前碰撞,3-左后碰撞,4-右后碰撞

在文件 type.h474 行定义.

◆ total_dist

double agvc_interface::RunningInfo::total_dist

累计行驶里程,单位 m

在文件 type.h466 行定义.

◆ total_running_time

double agvc_interface::RunningInfo::total_running_time

累计运行时间,单位 s

在文件 type.h468 行定义.


该结构体的文档由以下文件生成:
  • include/agvc_interface/type.h