Added gyroscope
This commit is contained in:
parent
e0303ff369
commit
28e42df771
@ -267,7 +267,7 @@ void ParticipantUDP::ReceiveData(unsigned char packetSize,
|
|||||||
void ParticipantUDP::ReceiveData(unsigned char bufferSize,
|
void ParticipantUDP::ReceiveData(unsigned char bufferSize,
|
||||||
Participant* remoteParticipant) {
|
Participant* remoteParticipant) {
|
||||||
unsigned char msgId = this->buffer[0];
|
unsigned char msgId = this->buffer[0];
|
||||||
// std::cout << "receive msg " << (int)msgId << "\n";
|
std::cout << "receive msg " << (int)msgId << "\n";
|
||||||
switch (msgId) {
|
switch (msgId) {
|
||||||
case ParticipantMsg::id: {
|
case ParticipantMsg::id: {
|
||||||
ParticipantMsg* msg = new ParticipantMsg(this->buffer);
|
ParticipantMsg* msg = new ParticipantMsg(this->buffer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user