dawonn / vectornav

ROS Interface for the VectorNav IMU/GPS
145 stars 175 forks source link

Inconsistent connection to VN200 through UART #120

Open trinhgiahuy opened 1 year ago

trinhgiahuy commented 1 year ago

I modified this repository as https://github.com/trinhgiahuy/vectornav_mod. Now, the VN200 sensor is connected to Raspberry Pi through UART (GPIO14/15) and I changed in launchfile as well. (vn200.launch)

I compiled it with catkin_tools. The version is vnproglib-1.1.

It previously worked fine and could echo /vectornav/imugps topic and another node can subscribe to it (picture 1). However, sometime I launch the file and it yields error cannot connect. What could be the reason and how to avoid it (picture 2).

Is this something related to the baudrate or protocol?

Pic1:

able_launch

Pic2:

error_launch