|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <ref_serial_data.hpp>

Public Attributes | |
| RobotId | robotId |
| Robot type and team. | |
| uint8_t | robotLevel |
| Current level of this robot (1-3). | |
| uint16_t | previousHp |
| uint16_t | currentHp |
| Current health of this robot. | |
| uint16_t | maxHp |
| Max health of this robot. | |
| RobotPower_t | robotPower |
| Flags indicating which parts of the robot have power. | |
| ArmorId | damagedArmorId |
| Armor ID that was damaged. | |
| DamageType | damageType |
| Cause of damage. | |
| float | receivedDps |
| Damage per second received. | |
| ChassisData | chassis |
| Chassis power draw and position data. | |
| TurretData | turret |
| Turret firing and heat data. | |
| RobotHpData | allRobotHp |
| Current HP of all the robots. | |
| uint16_t | remainingCoins |
| Number of remaining coins left to spend. | |
| RobotBuffStatus | robotBuffStatus |
| Status of all buffs on the robot. | |
| RFIDActivationStatus_t | rfidStatus |
| uint32_t | robotDataReceivedTimestamp |
| RefereeWarningData | refereeWarningData |
| RobotEnergyLevel | robotEnergyRemaining |
| The current energy level of the robot. | |
| RobotHpData tap::communication::serial::RefSerialData::Rx::RobotData::allRobotHp |
Current HP of all the robots.
| ChassisData tap::communication::serial::RefSerialData::Rx::RobotData::chassis |
Chassis power draw and position data.
| uint16_t tap::communication::serial::RefSerialData::Rx::RobotData::currentHp |
Current health of this robot.
| ArmorId tap::communication::serial::RefSerialData::Rx::RobotData::damagedArmorId |
Armor ID that was damaged.
| DamageType tap::communication::serial::RefSerialData::Rx::RobotData::damageType |
Cause of damage.
| uint16_t tap::communication::serial::RefSerialData::Rx::RobotData::maxHp |
Max health of this robot.
| uint16_t tap::communication::serial::RefSerialData::Rx::RobotData::previousHp |
Health of this robot before damage was received, used to calculate receivedDps if no damage was received recently, previousHp = currentHp.
| float tap::communication::serial::RefSerialData::Rx::RobotData::receivedDps |
Damage per second received.
| RefereeWarningData tap::communication::serial::RefSerialData::Rx::RobotData::refereeWarningData |
Referee warning information, updated when a robot receives a penalty
| uint16_t tap::communication::serial::RefSerialData::Rx::RobotData::remainingCoins |
Number of remaining coins left to spend.
| RFIDActivationStatus_t tap::communication::serial::RefSerialData::Rx::RobotData::rfidStatus |
The current status of which RFID zones are being activated by the current robot.
| RobotBuffStatus tap::communication::serial::RefSerialData::Rx::RobotData::robotBuffStatus |
Status of all buffs on the robot.
| uint32_t tap::communication::serial::RefSerialData::Rx::RobotData::robotDataReceivedTimestamp |
Most recent time at which data with message id REF_MESSAGE_TYPE_ROBOT_STATUS has been received.
| RobotEnergyLevel tap::communication::serial::RefSerialData::Rx::RobotData::robotEnergyRemaining |
The current energy level of the robot.
| RobotId tap::communication::serial::RefSerialData::Rx::RobotData::robotId |
Robot type and team.
| uint8_t tap::communication::serial::RefSerialData::Rx::RobotData::robotLevel |
Current level of this robot (1-3).
| RobotPower_t tap::communication::serial::RefSerialData::Rx::RobotData::robotPower |
Flags indicating which parts of the robot have power.
| TurretData tap::communication::serial::RefSerialData::Rx::RobotData::turret |
Turret firing and heat data.