rosjava / android_apps

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

How to use teleop app? #71

Closed jrlandau closed 6 years ago

jrlandau commented 6 years ago

I have been unable to figure out how this app is to be used. Is there documentation? The wiki is uninformative.

jubeira commented 6 years ago

Hi @jrlandau, it's true that the wiki doesn't give much information about it. I will update it myself when I have some free time, but in the meantime...

Does that make sense?

jrlandau commented 6 years ago

I did get the robot to move, and I was able to see the cmd_vel messages by using rostopic echo on the robot. I don't understand what you are doing with images at all. What images?

Is this a rosjava app?

On Mon, Oct 9, 2017 at 6:12 PM, Juan Ignacio Ubeira < notifications@github.com> wrote:

Hi @jrlandau https://github.com/jrlandau, it's true that the wiki doesn't give much information about it. I will update it myself when I have some free time, but in the meantime...

  • When you turn on the application, you will first see the MasterChooser activity. Write the IP address of your ROS master running (which would probably be the robot) and press "connect"
  • Once connected, try listing the topics. You will see ´cmd_vel´, ´compressed_image´ among others. Moving the joystick will publish ´twist´ commands to ´cmd_vel´. You can publish images to ´compressed_image´ to visualize the image stream there too.

Does that make sense?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rosjava/android_apps/issues/71#issuecomment-335330882, or mute the thread https://github.com/notifications/unsubscribe-auth/ADxmjGPz_puQWktqwI4KWjLtF5LUeY9Vks5sqsSQgaJpZM4PxjJS .

jubeira commented 6 years ago

When you connect to the ROS master in the teleop app, you will see not only the joystick but an optional image stream: image To visualize that in your Android device, you need your robot to publish compressed images to the topic compressed_image. If your robot doesn't have a camera or can't publish images, don't worry about it, you can still teleoperate it.

jrlandau commented 6 years ago

Thanks--I understand. I am working with Ubiquity Robotics and have written a robot control app https://play.google.com/store/apps/details?id=com.jrlandau.robotcmdr&hl=en with voice control. So, I'm always interested in what other people have done.

I will investigate providing the image facility, as you do.

My app is a Cordova app, uses Rosbridge, open src, and is on GitHub https://github.com/UbiquityRobotics/Robot_Commander.

Your comments are welcome.

Joe

On Sat, Oct 14, 2017 at 10:29 AM, Juan Ignacio Ubeira < notifications@github.com> wrote:

When you connect to the ROS master in the teleop app, you will see not only the joystick but an optional image stream: [image: image] https://user-images.githubusercontent.com/2480899/31577819-d9256d22-b0eb-11e7-984a-fe5e5dc300d8.png To visualize that in your Android device, you need your robot to publish compressed images to the topic compressed_image. If your robot doesn't have a camera or can't publish images, don't worry about it, you can still teleoperate it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rosjava/android_apps/issues/71#issuecomment-336650623, or mute the thread https://github.com/notifications/unsubscribe-auth/ADxmjFCgRWwi9eq9VplXKZ0lc0gjhtoxks5ssO9xgaJpZM4PxjJS .

jubeira commented 6 years ago

@jrlandau interesting! Thanks for the info.

/cc @Shokman @FlorGrosso @eborghi10 ^