Two BlueROV2 running simultaneously (odom frame synchronisation)

Hello,

In our lab, we are using two BlueROV2s with ROS as our command and communication interface. We run this interface in a Docker container.

ROS Interface

The primary objective is to capture the odom frame from both vehicles before motion and run transformation to let both vehicles work in the same frame.

Not sure how to achive is?

Currently, I am wondering if it’s possible to run both BlueROV2s simultaneously from one Docker container, so we can list the rostopics from both vehicles. If so, we will be able to perform a proper transformation.

Has anyone faced a similar challenge and can share their experience?

The first idea was to create a Docker network and connect the two running Docker containers with this network, but it’s not relevant because the interface needs a roscore and there is no option in ROS to run two roscore.

We could use ROS 2, but we do not have this interface at the moment.

Can anyone support me in the challenge?

Thanks.

Regards,
Markus