ROS1 Melodic(kinetic)和ROS2 Dashing通用。
有时候需要蓝牙串口SPP提供无线通信方式进行机器人或者物联网硬件的控制。
掌握此部分内容需要先阅读下列参考文献:
- arduino bluetooth and ubuntu linux:https://forum.arduino.cc/index.php?topic=24680.0
- How to setup serial communication in Processing to /dev/rfcomm0:https://stackoverflow.com/questions/15464475/how-to-setup-serial-communication-in-processing-to-dev-rfcomm0
- How to ROS messages via bluetooth? (arduino):https://answers.ros.org/question/228869/how-to-ros-messages-via-bluetooth-arduino/
- error connection rosserial via bluetooth arduino notebook:https://answers.ros.org/question/169366/error-connection-rosserial-via-bluetooth-arduino-notebook/
- connect two separate computers using bluetooth:https://answers.ros.org/question/11877/connect-two-separate-computers-using-bluetooth/
理解之后,配置正确即可。
![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsISPrdEZwZ1Rh5WNXp1bwNjW1ZUba9VZwlHdsATOfd3bkFGazxCMx8VesATMfhHLlN3XnxCMwEzX0xiRGZkRGZ0Xy9GbvNGLpZTY1EmMZVDUSFTU4VFRR9Fd4VGdsYTMfVmepNHLrJXYtJXZ0F2dvwVZnFWbp1zczV2YvJHctM3cv1Ce-cmbw5CNhFTNmRGZlRjZwgTMyIjYlljMiVWOlVmYxMmZwYmN28CX2EzLchDMxIDMy8CXn9Gbi9CXzV2Zh1WavwVbvNmLvR3YxUjL2M3Lc9CX6MHc0RHaiojIsJye.png)
BT04-A
rosserial
AD~1
AD~2