A WirelessDataPacket derived class representing a Raw Angle Strain packet.
explicit RawAngleStrainPacket( |
| ) |
Creates an RawAngleStrainPacket from the passed in WirelessPacket.
packet const WirelessPacket& | A WirelessPacket determined to be an RawAngleStrainPacket. |
Parses the passed in WirelessPacket for all the sweep information and adds a sweep to the sweeps container
Error_UnknownSampleRate: failed to find the sample rate in the list
static bool integrityCheck( |
| ) |
Verifies that the packet is a well formed RawAngleStrainPacket
packet const WirelessPacket& | The fully formed Wireless Packet to check the integrity of |
true if the packet is a well formed RawAngleStrainPacket, false otherwise
static UniqueWirelessPacketId getUniqueId( |
| ) |
Gets the unique Id of the WirelessPacket passed in
packet const WirelessPacket& | The WirelessPacket to get the unique id of |
The UniqueWirelessPacketId of the passed in packet
static std::vector<float> distributeAngles( |
| ) |
Gets a list of angles based on a low, high, and number of angles.
low float | The lower bound angle (inclusive). |
high float | The higher bound angle (inclusive). |
count uint8 | The total number of angles. |
The angles determined from the distribution range.