Ask Your Question
1

Ability to Virtualize or Use Android Phone as Joystick?

asked 2016-03-09 15:38:20 -0500

bzhan gravatar image

Hi, I'm hoping to create a virtual joystick or use my android phone as a joystick so that I don't need the physical joystick to be with me at all times, but couldn't figure out how to do so online. In particular, the app I'm creating reads out of the buttons and axes. Are there any suggestions? I am using ROS indigo

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-10 03:36:26 -0500

gvdhoorn gravatar image

(note: I'm not the author of this, don't know if/how it works, and just found it using a 'random' Google search)

For a non-ROS solution: apparently there are tools that can do this. See droidpad fi (Github repository here). It's a bit unclear, but if this creates an actual joystick device under Linux (uses uinput, so potentially it should/could), it should work just like any other joystick, and you'd be able to use the regular joy node(s) and everything else that works with Linux joysticks.

A different approach is taken with the various Android 'teleop' applications, which connect to a remote ROS node graph and directly publish geometry_msgs/Twist and associated messages. An example would be com.github.rosjava.android_apps.teleop.indigo (playstore link).

edit flag offensive delete link more

Comments

Playstore link is not working.

Arpit_Patel gravatar image Arpit_Patel  ( 2020-07-26 17:16:26 -0500 )edit

I would be surprised if it did, seeing as this is a question from over 4 years ago ..

gvdhoorn gravatar image gvdhoorn  ( 2020-07-27 03:13:15 -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: 2016-03-09 15:38:20 -0500

Seen: 530 times

Last updated: Mar 10 '16