Clearpath Jackal - launch error: unable to open port

asked 2019-06-20 08:22:02 -0500

GabrielBagon44 gravatar image

updated 2019-06-20 12:01:18 -0500


I am running Ubuntu 16.04 with ROS kinetic on a ClearPath jackal. I am running into a problem where I run a launch file called base.launch and end up getting an error shown below. I found a few lines in one of the nodes that are run by the launch file (shown below), but I am not sure how to deal with this problem. If anyone can offer any help thank you in advance.

Launch File

  <include file="$(find jackal_description)/launch/description.launch" />

  <node pkg="jackal_base" type="jackal_node" name="jackal_node">
      # TODO: Specify these in code rather than here.
          - status
          - feedback
          - imu/data_raw
          - navsat/nmea_sentence
          - cmd_drive
          - wifi_connected
    <param name="wireless_interface" value="$(optenv JACKAL_WIRELESS_INTERFACE wlp2s0)" />

  <!-- TODO: Eliminate this by compiling the necessary message definitions into jackal_base. -->
  <node pkg="rosserial_python" type="" name="rosserial_message_info" />

  <!-- Translate Sentence messages from the MCU to NavSatFix messages -->
  <node pkg="nmea_navsat_driver" type="nmea_topic_driver" name="nmea_topic_driver" ns="navsat" />

  <!-- Filter raw gyro data into a usable IMU message -->
  <node pkg="imu_filter_madgwick" type="imu_filter_node" name="imu_filter">
    <!-- This environment variable is populated by an env hook in the jackal_base
         package. It looks for a user-generated mag config (eg, from running
         the calibrate_compass script), and falls back on a default one. -->
    <rosparam file="$(env JACKAL_MAG_CONFIG)" />
      gain: 0.1
      zeta: 0.001
      publish_tf: false
      use_magnetic_field_msg: false

  <!-- Differential controller and basic localization -->
  <include file="$(find jackal_control)/launch/control.launch" />

  <!-- Teleoperation via joystick and rviz interactive markers -->
  <include file="$(find jackal_control)/launch/teleop.launch" />

  <!-- Diagnostic Aggregator for robot monitor usage -->
  <node pkg="diagnostic_aggregator" type="aggregator_node" name="diagnostic_aggregator">
    <rosparam command="load" file="$(find jackal_base)/config/diagnostic_analyzers.yaml" />

Related lines from node

  // Create the serial rosserial server in a background ASIO event loop.
  std::string port;
  ros::param::param<std::string>("~port", port, "/dev/jackal");
  boost::asio::io_service io_service;
  new rosserial_server::SerialSession(io_service, port, 115200);
  boost::thread(boost::bind(&boost::asio::io_service::run, &io_service));


[ERROR] [1561035200.806246227]: Unable to open port /dev/jackal: system:2
edit retag flag offensive close merge delete


It looks like something happened during the copy/paste of your launch file. Can you try posting it again?

jayess gravatar image jayess  ( 2019-06-20 11:45:36 -0500 )edit

oh yes, sorry about that, updated now.

GabrielBagon44 gravatar image GabrielBagon44  ( 2019-06-20 12:01:38 -0500 )edit

Is /dev/jackal visible in the filesystem? You might be missing a udev rule perhaps?

ssnover gravatar image ssnover  ( 2019-06-20 14:32:10 -0500 )edit

No, I do not see it when I search through

ls /dev
GabrielBagon44 gravatar image GabrielBagon44  ( 2019-06-20 14:42:36 -0500 )edit

Then either your cable isn't plugged in, there's an issue mounting it, or there are no udev rules set up I would guess.

ssnover gravatar image ssnover  ( 2019-06-20 16:57:40 -0500 )edit

I would highly recommend contacting Clearpath support directly for any issues like this. Clearpath have been very helpful with the occasional issue I've had with my Jackal. In addition, Clearpath has a lot of custom and hidden configuration files that dictate how the Jackal's network is set up. So if your problem is anything like mine was (link) then the solution might involve configuration parameters only Clearpath knows about.

M@t gravatar image M@t  ( 2019-06-20 18:20:44 -0500 )edit

yeah, I thought it might have been an unplugged cable as well. However, it is not apparent to me, so I have sent a request to clearpath. Thank you for the help everyone.

GabrielBagon44 gravatar image GabrielBagon44  ( 2019-06-21 12:11:05 -0500 )edit

Hey, did Clearpath give you a solution for this?

robo-jordo gravatar image robo-jordo  ( 2019-10-16 13:29:41 -0500 )edit