Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
tap::communication::serial::RefSerialData::Rx::TurretData Struct Reference

#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
 

Member Data Documentation

◆ bulletSpeed

float tap::communication::serial::RefSerialData::Rx::TurretData::bulletSpeed

Last bullet speed (in m/s).

◆ bulletsRemaining17

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.

◆ bulletsRemaining42

uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::bulletsRemaining42

Number of bullets remaining in hero if in RMUL or 0 if in RMUC.

◆ bulletType

BulletType tap::communication::serial::RefSerialData::Rx::TurretData::bulletType

17mm or 42mm last projectile shot.

◆ coolingRate

uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::coolingRate

Turret cooling value per second. Shared with all turrets.

◆ firingFreq

uint8_t tap::communication::serial::RefSerialData::Rx::TurretData::firingFreq

Firing frequency (in Hz).

◆ heat17ID1

uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::heat17ID1

Current 17mm turret heat, ID1.

◆ heat17ID2

uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::heat17ID2

Current 17mm turret heat, ID2.

◆ heat42

uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::heat42

Current 42mm turret heat.

◆ heatLimit

uint16_t tap::communication::serial::RefSerialData::Rx::TurretData::heatLimit

Turret heat limit. Shared with all turrets.

◆ lastReceivedLaunchingInfoTimestamp

uint32_t tap::communication::serial::RefSerialData::Rx::TurretData::lastReceivedLaunchingInfoTimestamp

Last time in milliseconds that the real-time launching information message was received

◆ launchMechanismID

MechanismID tap::communication::serial::RefSerialData::Rx::TurretData::launchMechanismID

Either 17mm mechanism 1, 3, or 42 mm mechanism.

◆ yaw

float tap::communication::serial::RefSerialData::Rx::TurretData::yaw

Barrel yaw position (degree).


The documentation for this struct was generated from the following file: