Enable sendpose

This commit is contained in:
Pascal Serrarens 2024-09-09 15:14:27 +02:00
parent d486cd7b4f
commit 290ef4bb03
2 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 69bad8f66296ff85f397b1d02f9df9f1dd5bacc6
Subproject commit 407e7712c6fad230270198359774d56264dc4bc3

View File

@ -1,6 +1,6 @@
#include "NetworkSync.h"
#define RC_DEBUG 1
// #define RC_DEBUG 1
#ifdef RC_DEBUG
#include <Arduino.h>
@ -49,7 +49,7 @@ void NetworkSync::PublishState(Roboid* roboid) {
// if (roboid->updated == false)
// return;
// SendPose(roboid);
SendPose(roboid);
// PublishPerception(roboid);
}
@ -189,7 +189,7 @@ void NetworkSync::SendPose(Roboid* roboid, bool recurse) {
SendBuffer(ix);
#if RC_DEBUG
// printf("Sent PoseMsg [%d/%d]\n", networkId, buffer[1]);
printf("Sent PoseMsg [%d/%d]\n", networkId, buffer[1]);
#endif
if (recurse) {