Ask Your Question
0

ROS Node for computation

asked 2018-03-06 01:29:12 -0500

surya gravatar image

I'm trying to understand the ROS Computation graph. I understand that we can have nodes such as a camera, a servo motor, an ultrasonic sensor, or an esc. These nodes publish their messages to topics which may come back to the master or go to other notes. I feel silly asking this, but where do you do the computation? Where do you take all these inputs, calculate and output a resulting value?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-03-06 01:45:29 -0500

gvdhoorn gravatar image

where do you do the computation? Where do you take all these inputs, calculate and output a resulting value?

in other nodes, that get their data from the 'camera', 'servo motor' and 'ultrasonic sensor' nodes.

Nodes that interact with (hardware) devices are typicall called drivers.

The other nodes implement your business logic.

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

1 follower

Stats

Asked: 2018-03-06 01:29:12 -0500

Seen: 71 times

Last updated: Mar 06 '18