Enable sendpose
This commit is contained in:
		
							parent
							
								
									d486cd7b4f
								
							
						
					
					
						commit
						290ef4bb03
					
				| @ -1 +1 @@ | ||||
| Subproject commit 69bad8f66296ff85f397b1d02f9df9f1dd5bacc6 | ||||
| Subproject commit 407e7712c6fad230270198359774d56264dc4bc3 | ||||
| @ -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) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user