
git-subtree-dir: ControlCore git-subtree-mainline: 2b5f5a58ac608aca3aad452a87f6cb27f428cbde git-subtree-split: 0a57e6d99abadc3257c6b1fdf5880b993e0d0fcb
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
#include "LinearAlgebra/Spherical.h"
|
|
#include "LinearAlgebra/SwingTwist.h"
|
|
|
|
namespace Passer {
|
|
namespace Control {
|
|
|
|
class LowLevelMessages {
|
|
public:
|
|
static void SendAngle8(unsigned char *buffer, unsigned char *ix,
|
|
const float angle);
|
|
static Angle8 ReceiveAngle8(const unsigned char *buffer,
|
|
unsigned char *startIndex);
|
|
|
|
static void SendFloat16(unsigned char *buffer, unsigned char *ix,
|
|
float value);
|
|
static float ReceiveFloat16(const unsigned char *buffer,
|
|
unsigned char *startIndex);
|
|
|
|
static void SendSpherical16(unsigned char *buffer, unsigned char *ix,
|
|
Spherical16 s);
|
|
static Spherical16 ReceiveSpherical16(const unsigned char *buffer,
|
|
unsigned char *startIndex);
|
|
|
|
static void SendQuat32(unsigned char *buffer, unsigned char *ix,
|
|
SwingTwist16 q);
|
|
static SwingTwist16 ReceiveQuat32(const unsigned char *buffer,
|
|
unsigned char *ix);
|
|
};
|
|
|
|
} // namespace Control
|
|
} // namespace Passer
|
|
using namespace Passer::Control; |