Ask Your Question
0

Streaming baxter camera feed to phone using android app

asked 2018-01-30 17:09:14 -0500

fc23 gravatar image

updated 2018-01-30 18:48:53 -0500

jayess gravatar image

So I'm making an app in android tor baxter and one of its features is the camera.

So what the camera activity does is, the user can select which camera it wants (left hand, right hand and head) and then the camera from baxter is broadcasted to the users phone in which they can see what baxter sees on their phone and take a photo with a button.

I know you can see a live feed using rviz on ubuntu but I'm stuck on how to implement it into android.

Any idea how to get started?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-01-31 08:41:30 -0500

jubeira gravatar image

updated 2018-01-31 08:41:57 -0500

Hi @fc23!

You will need ROS Android stuff. You can go to https://wiki.ros.org/android to get started and create a new package/ project from scratch. Another option (perhaps a bit faster) would be to take a look at https://github.com/rosjava/android_apps . You can use teleop app as a template, remove what you don't need and build your app on top of that. You will see that this app has a place where an image stream can be visualized; you can probably grab that and tweak it to meet your needs.

If you won't use any custom service or message, you should be able to build your app using Gradle as a regular Android app without installing anything else just with Android Studio. You can also do it the catkin-way; in that case you will need to install rosjava and it's build tools. Check https://wiki.ros.org/rosjava for installation tutorials (personal recommendation: go to source installation).

edit flag offensive delete link more

Comments

@fc23 were you able to get started? Do you need anything else...?

jubeira gravatar image jubeira  ( 2018-02-08 12:04:31 -0500 )edit

@jubeira hi, I was able to get started using a socket server I found online, here is my post regarding it : https://answers.ros.org/question/2819...

fc23 gravatar image fc23  ( 2018-02-08 19:06: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

2 followers

Stats

Asked: 2018-01-30 17:09:14 -0500

Seen: 306 times

Last updated: Jan 31 '18