Skip to content

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

@juliangaal

Description

@juliangaal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions