简体   繁体   English

失去传感器测量值的机器人

[英]robot with lost sensor measurements

I am trying to implement a localization algorithm for 4 robots on a Raspberry, the robots move too fast and send sensor measurements via Bluetooth low energy to the Raspberry but sometimes the packets arrive late or get lost so they don't reflect the actual state of the robots . 我正在尝试为Raspberry上的4个机器人实现定位算法,这些机器人移动得太快,无法通过蓝牙低功耗向Raspberry发送传感器测量值,但是有时数据包延迟到达或丢失,因此它们无法反映实际状态。机器人。

How can I deal with that? 我该如何处理?

How often are you sending sensor measurements? 您多久发送一次传感器测量结果? In addition, if you're worried about lost packets, you could try using Indicate as that ensures that the receiver has read the message. 另外,如果您担心丢失数据包,可以尝试使用Indicate,以确保接收方已阅读该消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM