Ask Your Question
0

Howto implement a teleop node using rosjava?

asked 2012-08-02 21:19:23 -0500

SanghaNam gravatar image

updated 2012-08-03 01:02:31 -0500

Lorenz gravatar image

hello..

i want to make new project.

the project is 'turtlebot teleoperation' using rosjava.

so i'm searching http://docs.rosjava.googlecode.com/hg/rosjava_core/html/javadoc/index-all.html this page.

but i cannot find adjust API 'move, stop, turn etc...'

How can i make it? or Where can i get the example source?

please help me.

thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-08-02 23:15:34 -0500

Lorenz gravatar image

First, you should understand the basics of ROS, what nodes are, what topics are etc. Have a look at these tutorials. If you need C++ example code, have a look at the source code of turtlebot_teleop.

The implementation is pretty simple: when you want to move the robot, publish a message of type geometry_msgs/Twist on the topic cmd_vel.

edit flag offensive delete link more

Comments

thankyou! where can i get a sample code by rosjava? not c++ code

SanghaNam gravatar image SanghaNam  ( 2012-08-05 02:23:18 -0500 )edit

Have a look at the android repository on rosjava.googlecode.com. Maybe you find something there. But be aware that rosjava is not released yet and its API is highly unstable and might change in the future. Not all apps in the android repository might still be working.

Lorenz gravatar image Lorenz  ( 2012-08-05 08:26:25 -0500 )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

Stats

Asked: 2012-08-02 21:19:23 -0500

Seen: 340 times

Last updated: Aug 03 '12