advanced_navigation_driver icon indicating copy to clipboard operation
advanced_navigation_driver copied to clipboard

No excplicit error when called with wrong port from launch file

Open juliangaal opened this issue 7 years ago • 0 comments

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

juliangaal avatar Jan 18 '18 14:01 juliangaal