RoboidControl
Loading...
Searching...
No Matches
d:/PlatformIO/RoboidControl/NetworkPerception.h
Go to the documentation of this file.
1#pragma once
2
3#include "Roboid.h"
4#include "Sensor.h"
5#include "Types.h"
6
7namespace Passer {
8namespace RoboidControl {
9
10class NetworkPerception : public Sensor {
11public:
12 void ProcessPacket(Roboid *roboid, unsigned char *buffer, int packetsize);
13
14protected:
15 void ReceiveCreateMsg(unsigned char *data, Roboid *roboid);
16 void ReceivePoseMsg(unsigned char *data, Roboid *roboid);
17 void ReceiveTypedObject(unsigned char *data, Roboid *roboid);
18
19 void ReceivePlane(unsigned char *data, Roboid *roboid);
20
21 Int32 ReceiveInt32(unsigned char *data, int startIndex);
22 float ReceiveFloat100(unsigned char *data, int startIndex);
23 Vector3 ReceiveVector3(unsigned char *data, int startIndex);
24};
25
26} // namespace RoboidControl
27} // namespace Passer
SInt32 Int32
Definition Types.h:18
Definition NetworkPerception.h:10
void ReceiveCreateMsg(unsigned char *data, Roboid *roboid)
Definition NetworkPerception.cpp:23
void ReceivePoseMsg(unsigned char *data, Roboid *roboid)
Definition NetworkPerception.cpp:75
float ReceiveFloat100(unsigned char *data, int startIndex)
Definition NetworkPerception.cpp:172
Vector3 ReceiveVector3(unsigned char *data, int startIndex)
Definition NetworkPerception.cpp:178
Int32 ReceiveInt32(unsigned char *data, int startIndex)
Definition NetworkPerception.cpp:164
void ReceivePlane(unsigned char *data, Roboid *roboid)
Definition NetworkPerception.cpp:38
void ProcessPacket(Roboid *roboid, unsigned char *buffer, int packetsize)
Definition NetworkPerception.cpp:5
void ReceiveTypedObject(unsigned char *data, Roboid *roboid)
Definition NetworkPerception.cpp:139
A Roboid is used to control autonomous robots.
Definition Roboid.h:14
A sensor is a thing which can perform measurements in the environment.
Definition Sensor.h:9
Definition AbsoluteEncoder.h:5