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

Giving goal points without using rviz [closed]

asked 2013-03-03 02:11:12 -0600

updated 2013-03-03 05:12:36 -0600

In various scenarios we need to give goals to the robot and using rviz is the most popular way to do it in the ROS community. However, in various low level processors (viz. Raspberry Pi and other ARM processors) or in a bare bones installation one may not have the luxury of getting OGRE working, hence no rviz. So, what options do we have then, is it possible to give goal points using some other means ?

Typically a command line execution as

[rospackage] [executable] [goal-x, goal-y]

may be very useful, does such exist ?

edit retag flag offensive reopen merge delete

Closed for the following reason Question does not follow our guidelines for questions. Please see: for more details. by Arkapravo
close date 2014-08-03 01:55:34.830838

1 Answer

Sort by ยป oldest newest most voted

answered 2013-03-03 03:16:25 -0600

dornhege gravatar image

From you command, I assume you mean without a GUI?

In that case, just do what rviz does: It sends a message to a topic (usually /move_base_simple/goal). You can do the same via rostopic pub.

A wrapper script that expects x,y,theta could be easily done.

From software, you should use the actionlib interface.

edit flag offensive delete link more


@dornhege I see what you are getting at !! seems possible, do you guess the command structure I have suggested can indeed be implemented ? [rospackage] [executable] [goal-x, goal-y] ??

Arkapravo gravatar image Arkapravo  ( 2013-03-03 05:10:53 -0600 )edit

Sure. Just write a wrapper script that takes x,y and calls rostopic pub with the correct parameters fed in. If you put that script in a ROS package, you'll have exactly the syntax you wanted.

dornhege gravatar image dornhege  ( 2013-03-03 05:23:19 -0600 )edit

Question Tools


Asked: 2013-03-03 02:11:12 -0600

Seen: 369 times

Last updated: Mar 03 '13