|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <ref_serial_data.hpp>
Public Attributes | |
| BulletType | bulletType |
| 17mm or 42mm last projectile shot. | |
| MechanismID | launchMechanismID |
| Either 17mm mechanism 1, 3, or 42 mm mechanism. | |
| uint8_t | firingFreq |
| Firing frequency (in Hz). | |
| uint16_t | heat17ID1 |
| Current 17mm turret heat, ID1. | |
| uint16_t | heat17ID2 |
| Current 17mm turret heat, ID2. | |
| uint16_t | heat42 |
| Current 42mm turret heat. | |
| uint16_t | heatLimit |
| Turret heat limit. Shared with all turrets. | |
| uint16_t | coolingRate |
| Turret cooling value per second. Shared with all turrets. | |
| uint16_t | bulletsRemaining17 |
| uint16_t | bulletsRemaining42 |
| float | bulletSpeed |
| Last bullet speed (in m/s). | |
| float | yaw |
| Barrel yaw position (degree). | |
| uint32_t | lastReceivedLaunchingInfoTimestamp |
| float tap::communication::serial::RefSerialData::Rx::TurretData::bulletSpeed |
Last bullet speed (in m/s).
| uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::bulletsRemaining17 |
Number of bullets remaining in sentinel and drone only (500 max) if in RMUC, or any robot in RMUL.
| uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::bulletsRemaining42 |
Number of bullets remaining in hero if in RMUL or 0 if in RMUC.
| BulletType tap::communication::serial::RefSerialData::Rx::TurretData::bulletType |
17mm or 42mm last projectile shot.
| uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::coolingRate |
Turret cooling value per second. Shared with all turrets.
| uint8_t tap::communication::serial::RefSerialData::Rx::TurretData::firingFreq |
Firing frequency (in Hz).
| uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::heat17ID1 |
Current 17mm turret heat, ID1.
| uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::heat17ID2 |
Current 17mm turret heat, ID2.
| uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::heat42 |
Current 42mm turret heat.
| uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::heatLimit |
Turret heat limit. Shared with all turrets.
| uint32_t tap::communication::serial::RefSerialData::Rx::TurretData::lastReceivedLaunchingInfoTimestamp |
Last time in milliseconds that the real-time launching information message was received
| MechanismID tap::communication::serial::RefSerialData::Rx::TurretData::launchMechanismID |
Either 17mm mechanism 1, 3, or 42 mm mechanism.
| float tap::communication::serial::RefSerialData::Rx::TurretData::yaw |
Barrel yaw position (degree).