ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Unable to connect Autoware.auto and LGSVL with ROS2 native

asked 2020-10-12 14:59:48 -0500

Mackou gravatar image

Hello everyone, I am trying to run LGSVL alongside autoware.auto but I am totally unable to make anything work. I am following thoses tutorials :

https://autowarefoundation.gitlab.io/autoware.auto/AutowareAuto/lgsvl.html

In the tutorial it is said to download the latest assets and setup the bridge as ROS2 native. But when starting the simulation with ROS2 native the simulator crashes with this error message in the command line : Aborted (core dumped) And this error message in the web UI :

Invalid: type_support is null, at /tmp/binarydeb/ros-dashing-rmw-cyclonedds-cpp-0.5.1/src/rmw_node.cpp:1311, at /tmp/binarydeb/ros-dashing-rcl-0.7.9/src/rcl/publisher.c:171

Any idea ? Thanks !

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2020-10-25 21:00:54 -0500

Josh Whitley gravatar image

updated 2020-10-25 21:01:17 -0500

This happens when you have not sourced the Autoware workspace first. Please make sure you run

ade$ source /opt/AutowareAuto/setup.bash

in a terminal before staring LGSVL in the same terminal.

edit flag offensive delete link more

Comments

Thanks ! It works indeed ! What is the reason to use ROS2 Native instead of the classical ROS2 bridge ?

  • Did you run into any difficulties with the ROS2 bridge ?
  • No ROS2 bridge was available when you started ?

Thanks !

Mackou gravatar image Mackou  ( 2020-10-30 08:55:03 -0500 )edit

@Mackou The primary reason was that we were seeing very high CPU usage and dropped messages through the websockets-based bridge.

Josh Whitley gravatar image Josh Whitley  ( 2020-11-02 17:57:27 -0500 )edit
0

answered 2021-11-08 09:40:37 -0500

I have the same issue but

source /opt/AutowareAuto/setup.bash did not solve it.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-10-12 14:59:48 -0500

Seen: 385 times

Last updated: Oct 25 '20