ros-drivers / urg_node

ROS wrapper for the Hokuyo urg_c library.
Other
99 stars 148 forks source link

invalid response error when connecting to hokuyo from systemd machine tag #101

Closed knorth55 closed 1 year ago

knorth55 commented 1 year ago

When I launch hokuyo from roslaunch, machine tag works properly. but when I launch hokuyo from systemd, machine tag works but in the remote computer, hokuyo node shows the following error.

[ WARN] [1675788508.145446820]: Could not grab single echo scan.
[ERROR] [1675788516.846528624]: Error count exceeded limit, reconnecting.
[ERROR] [1675788519.038192102]: Error connecting to Hokuyo: Could not open serial Hokuyo:
/dev/ttyACM0 @ 115200
invalid response.
knorth55 commented 1 year ago

i dont know why but my problem got solved... probably env was not correctly set.