Android phone connecting to roscore on pc and thus how android phone can act as device for command input
Hi,
I already have a pubsubtutorial application up and running.
However, how can I modify it or how shall I change the given tutorial code so that the application does not set up its own RosCore, but instead connects to a RosCore already running on a PC (let's say with http://host:11311 ).
In addition, what I am intending to do is that the android phone can have a command line tool so that the user can simply give commands as if the user were typing the commands into the terminal on the pc. So, is there a way so that it is the android phone that connects to the phone in command line mode?
Thanks! Really Appreciate it! :D
David
1) Set the ROS_MASTER_URI environment variable to where the roscore is running. 2) You could send commands as String messages and execute the code on the client side.