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

Connecting to multiple micro-ros devices

asked 2022-04-13 07:19:52 -0500

woody gravatar image

We are trying to connect multiple micro ros devices using the micro ros agent to a single host machine and encountering problems.

When used individually each device connects correctly with it's own agent and the topics work as expected.

However when connecting 4 devices at once, at least one of them always fails to display its topics and publish data. The agents all still look like they are connected to the devices though.

We are connecting the devices using 4 separate agents, assuming that the issue is related to having multiple agents running on the same machine, is it possible to use one agent to connect all 4 instead?

Are there any other things we should try?

Thanks! Woody

edit retag flag offensive close merge delete

Comments

I am also experiencing this issue—how do I connect 4 clients to 1 agent? Any advice or links would be greatly appreciated!

wx.bear gravatar image wx.bear  ( 2022-05-10 07:05:35 -0500 )edit

Please open a Github issue so we can track this.

Pablogs gravatar image Pablogs  ( 2022-05-11 07:23:03 -0500 )edit

I'm confused—a GitHub issue suggests that this feature does not yet exist? But in your reply to Woody you say that it is already possible. I would just like some guidance on how you think it is possible?

If you still think this is an "issue" to be raised on GitHub, then I will do so.

wx.bear gravatar image wx.bear  ( 2022-05-11 16:40:51 -0500 )edit

We provide support on existing features using Github issues in the repos that the micro-ROS team manages. This allows us to order, prioritize, track and solve all the problems or questions that the micro-ROS users have.

Pablogs gravatar image Pablogs  ( 2022-05-12 00:30:09 -0500 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2022-05-20 05:23:58 -0500

wx.bear gravatar image

For anyone else trying to do this, the thread continues here: https://github.com/micro-ROS/micro-RO...

edit flag offensive delete link more
0

answered 2022-04-13 07:52:32 -0500

Pablogs gravatar image

Hello, for sure connecting 4 clients to 1 agent is possible. Could you open an issue in the micro-ROS Github repo you are using in order to allow us to track this issue?

Maybe this is related to micro-ROS middleware client key that should be different for each micro-ROS client and some embedded platforms do not generate a true randomness here. Please try to set them using this API: https://github.com/micro-ROS/micro-RO...

edit flag offensive delete link more

Comments

Thank you, do you know where I'd find any documentation / examples around connecting multiple clients to a single agent?

I'll have a try at manually implementing different client keys now.and report back.

Cheers, W

woody gravatar image woody  ( 2022-04-13 08:41:58 -0500 )edit

Please open a Github issue so we can track this.

Pablogs gravatar image Pablogs  ( 2022-05-11 07:23:06 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2022-04-13 07:19:52 -0500

Seen: 535 times

Last updated: May 20 '22