Ask Your Question
0

Running Trajectory Following Example from Autoware.Auto without LGSVL

asked 2021-01-05 11:47:55 -0600

shlokgoel gravatar image

Hi,

I am trying to execute/implement the trajectory following example as listed on the tutorial at Autoware.Auto website (https://autowarefoundation.gitlab.io/...)

I have been following the autoware class 2020 provided by Apex.AI.

I am able to run the tutorial for trajectory following using the LGSVL simulator, but I would like to modify the plant environment (LGSVL) and replace it with a different plant environment (that provides it the required sensor [lidar - front and rear] data .

I have gone through the the ROS2 launch.py file that launches the ROS nodes in detail to understand how the nodes are initialized and how they work. If I do not start the simulation (LGSVL) and directly run the ROS2 launch command line to start the trajectory following examples, all ROS2 nodes are generated EXCEPT for the UNITYROS2 node. After further inspection, I found that this node publishes lidar data and subscribes to data from the vehicle etc.

Is there any way that someone could provide me some help as to what needs to be changed (in the python launch file, .yaml configuration file etc. ) in order to run this example using a different simulation platform (plant environment).

PS. I can publish ROS topics from my plant/simulation for the lidars with any name - just need to know what needs to change on the autoware.auto side.

Thanks,

Shlok

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-01-06 16:01:06 -0600

Josh Whitley gravatar image

@Shlok The lgsvl_interface package is the one that translates between messages produced/received by Autoware and those produced/received by LGSVL. Another example of a vehicle interface is also provided in the ssc_interface package. Another package similar to these (that inherits from the classes in vehicle_interface) will need to be created to interface with your simulator. Once you've done this, we would be happy to review a merge request to see this included in Autoware! See https://autowarefoundation.gitlab.io/... for more information.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2021-01-05 11:47:55 -0600

Seen: 123 times

Last updated: Jan 06 '21