ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
This struct defines a received range and bearing packet. More...
#include <ci_footbot_range_and_bearing_sensor.h>
Public Types | |
typedef UInt8 | TData [10] |
typedef UInt16 | TRawValues [12] |
Public Member Functions | |
SRABPacket () | |
SRABPacket (const SRABPacket &t_packet) | |
SRABPacket & | operator= (const SRABPacket &t_packet) |
Public Attributes | |
std::string | RobotId |
Real | Range |
CRadians | BearingHorizontal |
CRadians | BearingVertical |
TData | Data |
TRawValues | RawValues |
UInt64 | Id |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SRABPacket &t_packet) |
This struct defines a received range and bearing packet.
It holds the id of the sending robot, the distance (in meters), the horizontal and vertical angle (signed radians), the packet payload data (10 bytes) and a packet id, that is sequentially increased each time a packet is received.
The vertical angle is always zero in case of the hand-bot and the foot-bot.
Please note that this packet is only used to hold data on the receiving end of the communication.
Definition at line 71 of file ci_footbot_range_and_bearing_sensor.h.
typedef UInt8 argos::SRABPacket::TData[10] |
Definition at line 73 of file ci_footbot_range_and_bearing_sensor.h.
typedef UInt16 argos::SRABPacket::TRawValues[12] |
Definition at line 74 of file ci_footbot_range_and_bearing_sensor.h.
argos::SRABPacket::SRABPacket | ( | ) | [inline] |
Definition at line 98 of file ci_footbot_range_and_bearing_sensor.h.
argos::SRABPacket::SRABPacket | ( | const SRABPacket & | t_packet | ) | [inline] |
Definition at line 103 of file ci_footbot_range_and_bearing_sensor.h.
SRABPacket& argos::SRABPacket::operator= | ( | const SRABPacket & | t_packet | ) | [inline] |
Definition at line 111 of file ci_footbot_range_and_bearing_sensor.h.
std::ostream& operator<< | ( | std::ostream & | os, |
const SRABPacket & | t_packet | ||
) | [friend] |
Definition at line 124 of file ci_footbot_range_and_bearing_sensor.h.
Definition at line 83 of file ci_footbot_range_and_bearing_sensor.h.
Definition at line 86 of file ci_footbot_range_and_bearing_sensor.h.
Definition at line 89 of file ci_footbot_range_and_bearing_sensor.h.
Definition at line 95 of file ci_footbot_range_and_bearing_sensor.h.
Definition at line 80 of file ci_footbot_range_and_bearing_sensor.h.
Definition at line 92 of file ci_footbot_range_and_bearing_sensor.h.
std::string argos::SRABPacket::RobotId |
Definition at line 77 of file ci_footbot_range_and_bearing_sensor.h.