Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No excplicit error when called with wrong port from launch file #2

Open
juliangaal opened this issue Jan 18, 2018 · 0 comments
Open

Comments

@juliangaal
Copy link

juliangaal commented Jan 18, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant