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

Camera Stream Muliplexer

asked 2018-01-31 18:18:09 -0600

skipper762 gravatar image

HI Everyone,

The robot platform I am working on has 6 cameras onboard with different views. The Coms system only has the bandwidth for one of these views, what is the best (quickest/easiest) way to select one of the streams and publish it as a single topic.

I assume using the image transport system would be a good place to start?

Regards, Nick

edit retag flag offensive close merge delete

Comments

That seems like a good answer to me, @gvdhoorn.

joq gravatar image joq  ( 2018-02-01 15:35:10 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-02-01 14:44:05 -0600

gvdhoorn gravatar image

Does your robot have onboard processing running? Is the 'Coms system' a bridge between the system on on the robot and your 'base station'? If so, topic_mux could help here.

edit flag offensive delete link more

Comments

There is an Intel NUC running as the main processor, so plenty of processing power. You are right, I didn't explain the situation very well. The robot is teleoperated over a non-ROS comumincation link to the base station. It seems like topic_mux is perfect for my needs, thank you very much

skipper762 gravatar image skipper762  ( 2018-02-01 15:55:41 -0600 )edit
2

Do realise that the NUC will then subscribe to all 6 cameras, but only republish one topic, that your base station node(s) will subscribe to. Depending on what sort of cameras these are, that could be very wasteful of cpu resources. Be sure to look at the lazy parameter.

gvdhoorn gravatar image gvdhoorn  ( 2018-02-02 03:40:23 -0600 )edit

Question Tools

Stats

Asked: 2018-01-31 18:18:09 -0600

Seen: 203 times

Last updated: Jan 31 '18