Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Raazi
    Raazi

    Raazi

    @Raazi

    0
    Reputation
    1
    Posts
    6
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    Raazi Follow

    Posts made by Raazi

    ROS Multiple Devices Serial Connection Procedure

    Hi I am using the python-openimu ros driver (ros openimu, on Ubuntu 18.04/Melodic) from the following git repo and the driver works when I have 1 OpenIMU300RI device connected via UART/RS-232 on /dev/openimu1. When I try to connect the second OpenIMU300RI device (UART/RS-232) on /dev/openimu2 the driver crashes at communicator.py citing that the serial port is already in use. I have remapped the open IMU drivers in the launch file to the proper com port and tested that each driver works individually however they crash when launch both nodes. Is there a configuration file or parameter which needs to be adjusted to launch multiple devices from the driver?

    Here is the section from my launch file which I use to launch both nodes:

      <<node pkg="ros_openimu"  type="openimu_driver.py" name="openimu1_driver" output="screen">
           <param name="timestamp_offset"  value=" 0.0" />
           <param name="imu_port"          value="/dev/openimu1" />
           <remap from="/imu_acc_ar"   to="/ptu1/imu"/>
      </node>>
    
      <<node pkg="ros_openimu"  type="openimu_driver.py" name="openimu2_driver" output="screen">
           <param name="timestamp_offset"  value=" 0.0" />
           <param name="imu_port"          value="/dev/openimu2" />
           <remap from="/imu_acc_ar"   to="/ptu2/imu"/>
      </node>>
    
    posted in The OpenIMU Family •