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

ROS Android Apps: can't add a robot on Kindle Fire

asked 2012-01-12 09:22:35 -0500

brianpen gravatar image

updated 2014-01-28 17:11:07 -0500

ngrennan gravatar image

Edit: Added better screenshot

Hello all,

Please forgive what I'm sure is a silly question, but it has me stumped.

I have a rooted Kindle Fire with the ROS apps from the Google Android Market installed. I started the app and it prompts me to add a robot. I typed in the IP address of the robot, but there's no "ok" button to click and no "enter" button showing on the keyboard (the "enter" key is context sensitive on the Fire and doesn't show up if it's not mapped to any action). The Fire doesn't have a camera, so I can't use the QR code option either. I don't have any other android devices available to figure out how the dialog is supposed to work.

Here's a screenshot

image description

So, I can't figure out how to say "ok" and get the ROS app to add my robot. Any suggestions? I'm comfortable editing a file or something if that's what it takes.

Sorry for what seems like a silly question, but I'm stumped.

Thanks in advance, -Brian

edit retag flag offensive close merge delete

Comments

Letting me know how the app is supposed to work (are you supposed to press "enter"?) would also be helpful.
brianpen gravatar image brianpen  ( 2012-01-13 03:53:44 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-01-13 05:02:51 -0500

brianpen gravatar image

updated 2012-01-13 05:42:30 -0500

I figured out a workaround.

So... the ROS android app is expecting the "enter" key to be pressed, but for some reason the Fire doesn't realize that and isn't showing the enter key.

However, you can use the android debugger (or a terminal application) to simulate keypresses on android. See here: Simulating Keypresses on Android

You need to use the input command to send code 66 (enter).

On your laptop type this after you have entered the ip address of the robot.

$ adb shell input 66

A more permanent solution would be adding an "ok" button to the dialog

edit flag offensive delete link more

Comments

I've filed a bug on the android app to get this fixed: https://kforge.ros.org/appmanandroid/trac/ticket/27
ahendrix gravatar image ahendrix  ( 2012-01-13 07:45:22 -0500 )edit
Great. Thanks! I'm happy to do further testing on the Fire if the devs need it.
brianpen gravatar image brianpen  ( 2012-01-14 14:46:16 -0500 )edit

Question Tools

Stats

Asked: 2012-01-12 09:22:35 -0500

Seen: 381 times

Last updated: Jan 13 '12