Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. ROS
  4. RMW_IMPLEMENTATION not set for ros2

RMW_IMPLEMENTATION not set for ros2

Scheduled Pinned Locked Moved ROS
2 Posts 1 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Kyuhyong YouK Offline
    Kyuhyong YouK Offline
    Kyuhyong You
    Contributor
    wrote on last edited by Kyuhyong You
    #1

    Hello,

    I just upgraded my voxl2 with the latest sdk 1.1.0 and apt installed ros2 relate packages as follows

    sudo apt install voxl-ros2-foxy
    $ sudo apt install voxl-microdds-agent
    $ sudo apt install voxl-mpa-to-ros2
    $ pip3 install netifaces
    $ pip3 install pyyaml
    

    After source /opt/ros/foxy/setup.bash and tried to run ros2 topic and it returns following error.

    $ ros2 topic list
    Unable to get rmw_implementation_identifier, try specifying the implementation to use via the 'RMW_IMPLEMENTATION' environment variable
    

    It seems like RMW_IMPLEMENTATION not set in the bash.
    How to set this variable to run on voxl?


    Also tried to run configuration as below

    $ sudo voxl-configure-microdds
    Starting Wizard
     
    do you want to enable or disable voxl-microdds-agent
    factory-enable will also reset the config file back to default
    1) disable
    2) enable
    #? 2
    enabling  voxl-microdds-agent systemd service
    Created symlink /etc/systemd/system/multi-user.target.wants/voxl-microdds-agent.service → /etc/systemd/system/voxl-microdds-agent.service.
    Done configuring voxl-microdds-agent
    

    And inspect service returns

    $ voxl-inspect-services
    Scanning services...
    
     Service Name             |  Enabled  |   Running   |  CPU Usage
    -------------------------------------------------------------------
     docker-autorun           | Disabled  | Not Running |  
     modallink-relink         | Disabled  | Not Running |  
     voxl-camera-server       |  Enabled  | Not Running |  
     voxl-cpu-monitor         |  Enabled  |   Running   |     0.7%
     voxl-dfs-server          | Disabled  | Not Running |  
     voxl-feature-tracker     | Disabled  | Not Running |  
     voxl-flow-server         | Disabled  | Not Running |  
     voxl-imu-server          |  Enabled  |   Running   |     6.2%
     voxl-lepton-server       | Disabled  | Not Running |  
     voxl-mavcam-manager      |  Enabled  |   Running   |     0.0%
     voxl-mavlink-server      |  Enabled  |   Running   |     3.4%
     voxl-microdds-agent      |  Enabled  |   Running   |    13.5%
     voxl-modem               | Disabled  | Not Running |  
     voxl-portal              |  Enabled  |   Running   |     0.1%
     voxl-px4-imu-server      | Disabled  | Not Running |  
     voxl-px4                 |  Enabled  |   Running   |    40.2%
     voxl-qvio-server         |  Enabled  |   Running   |     4.2%
     voxl-rangefinder-server  | Disabled  | Not Running |  
     voxl-remote-id           | Disabled  | Not Running |  
     voxl-softap              | Disabled  | Not Running |  
     voxl-static-ip           | Disabled  | Not Running |  
     voxl-streamer            |  Enabled  |   Running   |     0.1%
     voxl-tag-detector        | Disabled  | Not Running |  
     voxl-tflite-server       | Disabled  | Not Running |  
     voxl-time-sync           | Disabled  | Not Running |  
     voxl-uvc-server          | Disabled  | Not Running |  
     voxl-vision-hub          |  Enabled  |   Running   |     1.8%
     voxl-wait-for-fs         |  Enabled  |  Completed  |``
    
    Kyuhyong YouK 1 Reply Last reply
    0
    • Kyuhyong YouK Kyuhyong You

      Hello,

      I just upgraded my voxl2 with the latest sdk 1.1.0 and apt installed ros2 relate packages as follows

      sudo apt install voxl-ros2-foxy
      $ sudo apt install voxl-microdds-agent
      $ sudo apt install voxl-mpa-to-ros2
      $ pip3 install netifaces
      $ pip3 install pyyaml
      

      After source /opt/ros/foxy/setup.bash and tried to run ros2 topic and it returns following error.

      $ ros2 topic list
      Unable to get rmw_implementation_identifier, try specifying the implementation to use via the 'RMW_IMPLEMENTATION' environment variable
      

      It seems like RMW_IMPLEMENTATION not set in the bash.
      How to set this variable to run on voxl?


      Also tried to run configuration as below

      $ sudo voxl-configure-microdds
      Starting Wizard
       
      do you want to enable or disable voxl-microdds-agent
      factory-enable will also reset the config file back to default
      1) disable
      2) enable
      #? 2
      enabling  voxl-microdds-agent systemd service
      Created symlink /etc/systemd/system/multi-user.target.wants/voxl-microdds-agent.service → /etc/systemd/system/voxl-microdds-agent.service.
      Done configuring voxl-microdds-agent
      

      And inspect service returns

      $ voxl-inspect-services
      Scanning services...
      
       Service Name             |  Enabled  |   Running   |  CPU Usage
      -------------------------------------------------------------------
       docker-autorun           | Disabled  | Not Running |  
       modallink-relink         | Disabled  | Not Running |  
       voxl-camera-server       |  Enabled  | Not Running |  
       voxl-cpu-monitor         |  Enabled  |   Running   |     0.7%
       voxl-dfs-server          | Disabled  | Not Running |  
       voxl-feature-tracker     | Disabled  | Not Running |  
       voxl-flow-server         | Disabled  | Not Running |  
       voxl-imu-server          |  Enabled  |   Running   |     6.2%
       voxl-lepton-server       | Disabled  | Not Running |  
       voxl-mavcam-manager      |  Enabled  |   Running   |     0.0%
       voxl-mavlink-server      |  Enabled  |   Running   |     3.4%
       voxl-microdds-agent      |  Enabled  |   Running   |    13.5%
       voxl-modem               | Disabled  | Not Running |  
       voxl-portal              |  Enabled  |   Running   |     0.1%
       voxl-px4-imu-server      | Disabled  | Not Running |  
       voxl-px4                 |  Enabled  |   Running   |    40.2%
       voxl-qvio-server         |  Enabled  |   Running   |     4.2%
       voxl-rangefinder-server  | Disabled  | Not Running |  
       voxl-remote-id           | Disabled  | Not Running |  
       voxl-softap              | Disabled  | Not Running |  
       voxl-static-ip           | Disabled  | Not Running |  
       voxl-streamer            |  Enabled  |   Running   |     0.1%
       voxl-tag-detector        | Disabled  | Not Running |  
       voxl-tflite-server       | Disabled  | Not Running |  
       voxl-time-sync           | Disabled  | Not Running |  
       voxl-uvc-server          | Disabled  | Not Running |  
       voxl-vision-hub          |  Enabled  |   Running   |     1.8%
       voxl-wait-for-fs         |  Enabled  |  Completed  |``
      
      Kyuhyong YouK Offline
      Kyuhyong YouK Offline
      Kyuhyong You
      Contributor
      wrote on last edited by
      #2

      @Kyuhyong-You

      After reboot this error is magically gone.
      now I can see topics
      after $ ros2 run voxl_mpa_to_ros2 voxl_mpa_to_ros2_node

      then in another terminal on voxl, I see below topics

      $ ros2 topic list
      /fmu/in/obstacle_distance
      /fmu/in/offboard_control_mode
      /fmu/in/onboard_computer_status
      /fmu/in/sensor_optical_flow
      /fmu/in/telemetry_status
      /fmu/in/trajectory_setpoint
      /fmu/in/vehicle_attitude_setpoint
      /fmu/in/vehicle_command
      /fmu/in/vehicle_mocap_odometry
      /fmu/in/vehicle_rates_setpoint
      /fmu/in/vehicle_trajectory_bezier
      /fmu/in/vehicle_trajectory_waypoint
      /fmu/in/vehicle_visual_odometry
      /fmu/out/failsafe_flags
      /fmu/out/position_setpoint_triplet
      /fmu/out/sensor_combined
      /fmu/out/timesync_status
      /fmu/out/vehicle_attitude
      /fmu/out/vehicle_control_mode
      /fmu/out/vehicle_local_position
      /fmu/out/vehicle_odometry
      /fmu/out/vehicle_status
      /parameter_events
      /rosout
      
      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ModalAI
      Categories Recent Tags ModalAI.com Docs
      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups