Ask Your Question
0

Modelling of own Package dependencies in ROS environment

asked 2013-09-28 21:31:47 -0600

RB gravatar image

Hi! suppose I have a method in path_planning package (my own package) and its output must be made available to a method that reside in another package called "Navigation package" (my own package). How to correctly model this scenario in ROS environment using nodes, topics etc.

I am new to ROS; please help.
Many thanks.
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-09-29 02:11:56 -0600

dornhege gravatar image

Publish the output into a message on a topic and subscribe this topic in your other package passing the message into that function.

edit flag offensive delete link more

Comments

Is there any practical hand on example related to this is available?

RB gravatar imageRB ( 2013-09-29 07:17:32 -0600 )edit

The standard ROS tutorials have those.

dornhege gravatar imagedornhege ( 2013-09-29 22:51:20 -0600 )edit

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: 2013-09-28 21:31:47 -0600

Seen: 25 times

Last updated: Sep 29 '13