ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::SRABPacket Struct Reference

This struct defines a received range and bearing packet. More...

#include <ci_footbot_range_and_bearing_sensor.h>

List of all members.

Public Types

typedef UInt8 TData [10]
typedef UInt16 TRawValues [12]

Public Member Functions

 SRABPacket ()
 SRABPacket (const SRABPacket &t_packet)
SRABPacketoperator= (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)

Detailed Description

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.


Member Typedef Documentation


Constructor & Destructor Documentation

argos::SRABPacket::SRABPacket ( const SRABPacket t_packet) [inline]

Definition at line 103 of file ci_footbot_range_and_bearing_sensor.h.


Member Function Documentation

SRABPacket& argos::SRABPacket::operator= ( const SRABPacket t_packet) [inline]

Definition at line 111 of file ci_footbot_range_and_bearing_sensor.h.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const SRABPacket t_packet 
) [friend]

Definition at line 124 of file ci_footbot_range_and_bearing_sensor.h.


Member Data Documentation

Definition at line 77 of file ci_footbot_range_and_bearing_sensor.h.


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