Ask Your Question
0

How to subscribe to control commands from the LGSVL simulator using only ROS2?

asked 2020-05-03 12:54:22 -0500

dr563105 gravatar image

updated 2020-05-23 08:51:49 -0500

Hello!

Is it possible to get the control commands i.e steering pattern from the latest LGSVL simulator? What topic should I subscribe to, to fetch this data for training later? Previously it used to be /simulator/control/command. Now it has changed. I would like to strictly avoid using Autoware and Apollo and just use ROS2. Has any one done it this way? Any pointers?

If I have to change the internal code of LGSVL, any leads on how to do that?

Also if I want throttle, braking information too, how should I go about with just ROS2?

Thanks.

Update: The LGSVL team have updated their code base to reflect changes to the latest simulator. I'm currently testing it out.

Update 2: After testing and doing some modification to my needs, I was able collect data. The solution is to use a sensor plugin with custom topic name and type.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-05-23 08:52:29 -0500

dr563105 gravatar image

After testing and doing some modification to my needs, I was able collect data. The solution is to use a sensor plugin compatible with LGSVL using custom topic name and type.

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

2 followers

Stats

Asked: 2020-05-03 12:54:22 -0500

Seen: 19 times

Last updated: May 23