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

Image transport to android consumes high memory

asked 2013-06-14 07:10:25 -0600

grzebyk gravatar image

Hello I tried to run simple image_transport tutorial on my android 4.0 phone to display image captured by camera. It connects with the master, it displays the image, but the frame rate is extremely low and eventually device hangs itself. It seems that the app is using a lot of memory and therefore GC_FOR_ALLOC pauses the execution of the program. I suppose that each image received is stored instead of being removed after the frame is used. Can anybody help me to fix this problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-06-14 12:45:52 -0600

grzebyk gravatar image

The solution is here: http://code.google.com/p/rosjava/issues/detail?id=141

It is needed to make RosImageView a SurfaceView instead of an ImageView.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-14 07:10:25 -0600

Seen: 883 times

Last updated: Jun 14 '13