Could not open port /dev/ttyUSB0 at 9600
Closed this issue · 1 comments
liushuya7 commented
rosrun polaris_sensor polaris_sensor_node _roms:=/home/my.rom
[ WARN] [1674756463.740404100]: Using default port: /dev/ttyUSB0
[ WARN] [1674756463.741725350]: Using default camera name: polaris
Could not open port /dev/ttyUSB0 at 9600
[ INFO] [1674756465.866270553]: Starting Polaris tracker loop
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr: __pos (which is 2) > this->size() (which is 0)
Aborted (core dumped)
I have configured the port, but I still can't run the ros node. It says cannot open the port. Does anyone know how to solve this issue?
liushuya7 commented
It turns out that I need to configure it to 115200. Now it works.