rosjava / android_apps

Applications built on top of the rosjava android libraries.
133 stars 112 forks source link

Teleop Code Structure #38

Closed syazfraser closed 10 years ago

syazfraser commented 10 years ago

Hi guys.

I'm working on the code structure of the teleop of turtlebot (hydro).

Is there anyway possible to find out what code is being sent out when i shift the joystick up, down, left, etc?

I understand that the joystick it self is being imported from:

import org.ros.android.view.VirtualJoystickView;

From the best of my knowledge, I can't really figure out which part of the whole source code actually has the code that I'm looking for

I would like to play around with GUI itself. Well, let's say just inserting a 4 directional buttons (up, down, left, right) to move to the turtlebot.

What is the code that is needed to be sent out here?

How may i go about doing this?

Any help will be greatly appreciated. Thank you! :)

syazfraser commented 10 years ago

http://docs.ros.org/hydro/api/android_core/html/classorg_1_1ros_1_1android_1_1view_1_1VirtualJoystickView.html

http://docs.ros.org/hydro/api/android_core/html/VirtualJoystickView_8java_source.html