advanced_navigation_driver
advanced_navigation_driver copied to clipboard
No excplicit error when called with wrong port from launch file
Running e.g.
rosrun advanced_navigation_driver advanced_navigation_driver /dev/ttyUSB0 11520
(One 0
ommited on purpose, I get an invalid baudrate
error - and rightfully so!
Starting the node from a launch file (again, with an ivalid port for testing purposes) does indeed throw an error, but it is a generic "process has died. Retrying.."-error. My file:
<?xml version="1.0"?>
<launch>
<!-- params for advanced technology gps -->
<arg name="an_serial_port" default="/dev/ttyUSB1"/>
<arg name="an_port" default="11520"/>
<!-- advanced navigation driver (modell: spatial dual) -->
<node pkg="advanced_navigation_driver" type="advanced_navigation_driver" name="advanced_navigation_driver" args="$(arg an_serial_port) $(arg an_port)" respawn="true">
</node>
</launch>
I'm not sure what could cause this, the args
-parameter in the launch file should be dealt with exactly as if i'd run the rosrun adva..... /dev/ttyUSB1 11520
command. Thanks