apollo icon indicating copy to clipboard operation
apollo copied to clipboard

CyberRT topics to ROS and vice versa

Open Prj1508 opened this issue 4 years ago • 15 comments

I am working on an external component that has ROS interface. I would like to connect Apollo cyber topics into ROS topics. Is there a way to convert CyberRT topics and messages into ROS topics/messages?

Prj1508 avatar Jan 26 '21 23:01 Prj1508

maybe you can try apollo_ros_bridge

SeasoulChris avatar Jan 27 '21 05:01 SeasoulChris

maybe you can try apollo_ros_bridge

apollo_ros_bridge, this project is on github. but It's not offical. maybe you can try.

lx18233184051 avatar Feb 09 '21 09:02 lx18233184051

Hi @Prj1508, Have you tried if apollo_ros_bridge is working successfully or have you found another solution?

@lx18233184051 and @SeasoulChris I am planning to use the other simulator for my project ( VIRES VTD) not LGSVL. As far as I know, there is no Cyber RT integration available yet. VIRES VTD offers ROS integration and API for C ++ Integration. There are bridges connection between LGSVL to Apollo and Carla to Apollo. Is there any chance to modify these bridges to use them for VIRES VTD to Apollo? If you have knowledge in this area please give me some suggestions. I am totally new to this area and just start my project. Thank you.

Thinsheep avatar Feb 23 '21 12:02 Thinsheep

Yes, the bridge is working fine. If your simulator has ROS interface, then Apollo+ apollo_ros_bridge should do it for you I think. Any specific reason you are not using LGSVL or Carla? Just curious

Sent from my iPhone

On Feb 23, 2021, at 07:17, Thinsheep [email protected] wrote:

 Hi @Prj1508, Have you tried if apollo_ros_bridge is working successfully or have you found another solution?

@lx18233184051 and @SeasoulChris I am planning to use the other simulator for my project ( VIRES VTD) not LGSVL. As far as I know, there is no Cyber RT integration available yet. VIRES VTD offers ROS integration and API for C ++ Integration. There are bridges connection between LGSVL to Apollo and Carla to Apollo. Is there any chance to modify these bridges to use them for VIRES VTD to Apollo? If you have knowledge in this area please give me some suggestions. I am totally new to this area and just start my project. Thank you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Prj1508 avatar Feb 23 '21 12:02 Prj1508

Hi @Prj1508 Thanks for your reply, actually, we already have LGSVL, we just want to try a commercial simulator for the comparison. We are developing the simulation testing technique.

Thinsheep avatar Feb 24 '21 23:02 Thinsheep

Ok. Thank you I have spent sometime with dSPACE simulator and am happy to help on the bridge and other sim aspects.

Sent from my iPhone

On Feb 24, 2021, at 18:30, Thinsheep [email protected] wrote:

 Hi @Prj1508 Thanks for your reply, actually, we already have LGSVL, we just want to try a commercial simulator for the comparison. We are developing the simulation testing technique.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Prj1508 avatar Feb 25 '21 14:02 Prj1508

Hi Prj1508, I need Vires VTD communicating with Apollo 6.0. I need to build a ROS interface for Vires VTD as they only have an example for 1 signal not completed package (I do not know if Vires VTD was developed for Autonomous software platform because they do not build the communication bridge with current popular AV stacks). I have a few questions below if you have experience with this please share some information.

  1. To build the interface for Vires VTD, I need to know which message VTD will need to provide-publish to and which message VTD can get-subscribe from Apollo. VTD will send sensor data and get the AV commands (accelerator, brake, throttle). How can I get the full list of sensor data and AV commands so I do not miss any interface?

  2. Is apollo_ros_bridge is the completed package that I can directly use for Apollo 6.0? because they have only some ROS topics like Path, Odometry, PointCloud2 and IMU but not all. I also do not see if they publish AV commands like accelerator, brake and throttle.

  3. Can Vires VTD interface and apollo_ros_bridge can publish/subcribe data directly or do I have to build something to establish the communication?

Thinsheep avatar Mar 15 '21 08:03 Thinsheep

Hi @Prj1508 , I am looking for a tutor for this topic. If you are available please drop me an email at [email protected], we can discuss further :).

Thinsheep avatar Mar 27 '21 22:03 Thinsheep

Yes, the bridge is working fine. If your simulator has ROS interface, then Apollo+ apollo_ros_bridge should do it for you I think. Any specific reason you are not using LGSVL or Carla? Just curious

Hi @Prj1508

I will be glad if you can help me!

I'm trying to figure it out with apollo_ros_bridge.
https://github.com/AuroAi/apollo_ros_bridge

But when I run the bridge in docker, then the frequency of received channels in apollo_ros_bridge does not match the frequency of messages in Apollo.
I am attaching a photo showing the frequencies.
Maybe you have an idea how to fix this ??
Screenshot from 2021-03-30 09-48-24

AlexandrZabolotny avatar Mar 30 '21 08:03 AlexandrZabolotny

Hi @AlexandrZabolotny apollo_ros_bridge was developed for Apollo 3.5. Do you know any chance to use this apollo_ros_bridge for Apollo 6.0?

Thinsheep avatar Apr 07 '21 21:04 Thinsheep

Hi @AlexandrZabolotny apollo_ros_bridge was developed for Apollo 3.5. Do you know any chance to use this apollo_ros_bridge for Apollo 6.0?

bridge also works in version 6

AlexandrZabolotny avatar Apr 11 '21 12:04 AlexandrZabolotny

Hi @AlexandrZabolotny apollo_ros_bridge was developed for Apollo 3.5. Do you know any chance to use this apollo_ros_bridge for Apollo 6.0?

bridge also works in version 6

Thanks for your information. Importing these three packages to Apollo 6.0 Master is the right idea to run the bridge in version 6.0? image

Thinsheep avatar Apr 12 '21 20:04 Thinsheep

Hi @AlexandrZabolotny apollo_ros_bridge was developed for Apollo 3.5. Do you know any chance to use this apollo_ros_bridge for Apollo 6.0?

bridge also works in version 6

Thanks for your information. Importing these three packages to Apollo 6.0 Master is the right idea to run the bridge in version 6.0? image

I use Apollo pre6

AlexandrZabolotny avatar Apr 13 '21 11:04 AlexandrZabolotny

@AlexandrZabolotny Thank you. Sorry, I am lacking knowledge in this. How is your setup? Is it like this ApollotoROS(3.5) + Apollo Pre6? does the below command launch the bridge along with Apollo Pr6? cyber_launch start cyber_ros_bridge/launch/bridge_example.launch

Because the bridge and Apollo run in different docker so I do not know how they work together?

Thinsheep avatar Apr 13 '21 14:04 Thinsheep

Hi @AlexandrZabolotny apollo_ros_bridge was developed for Apollo 3.5. Do you know any chance to use this apollo_ros_bridge for Apollo 6.0?

bridge also works in version 6

@AlexandrZabolotny, hello. Maybe you know, does apollo_ros_bridge work with Apollo ver 8.0?

Shadow-Haund avatar Mar 21 '24 08:03 Shadow-Haund