22 lines
514 B
C++
22 lines
514 B
C++
#pragma once
|
|
|
|
#include "Perception.h"
|
|
#include "Roboid.h"
|
|
|
|
namespace Passer {
|
|
namespace RoboidControl {
|
|
|
|
class NetworkSync {
|
|
public:
|
|
virtual void NetworkUpdate(Roboid *roboid) = 0;
|
|
virtual void DestroyObject(PerceivedObject *obj) = 0;
|
|
|
|
static const char PoseMsg = 0x10;
|
|
static const char Pose_Position = 0x01;
|
|
static const char Pose_Orientation = 0x02;
|
|
static const char Pose_LinearVelocity = 0x04;
|
|
static const char Pose_AngularVelocity = 0x08;
|
|
};
|
|
|
|
} // namespace RoboidControl
|
|
} // namespace Passer
|