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

gopinath's profile - activity

2014-01-08 05:30:27 -0500 received badge  Famous Question (source)
2014-01-08 05:30:27 -0500 received badge  Popular Question (source)
2014-01-08 05:30:27 -0500 received badge  Notable Question (source)
2013-03-29 02:53:35 -0500 received badge  Taxonomist
2012-11-29 22:50:48 -0500 received badge  Notable Question (source)
2012-11-29 22:50:48 -0500 received badge  Famous Question (source)
2012-11-29 22:50:48 -0500 received badge  Popular Question (source)
2012-09-30 06:24:48 -0500 received badge  Notable Question (source)
2012-09-30 06:24:48 -0500 received badge  Famous Question (source)
2012-09-30 06:24:48 -0500 received badge  Popular Question (source)
2012-04-06 17:23:20 -0500 asked a question android_camera_tutorial consuming high memory (raw_image) slow image refresh

Hello, The android_camera tutorial memory consumption is too high. I just upgraded to new version of rosjava_android. I am using one mobile device as RosCameraPreview node which runs roscore and transmits images to another android device (motorola xoom) which subscribes to the message. Both seem to consume high memory and I can see GC constantly running. The frame changes approximately 30 seconds on the ImageTransport side I rarely see the message onFlyCompress. I think this version publishes /camera/raw_image/compressed, that may be the issue, how can I subscribe to /camera/image/compressed ?

The previous version I had was working very well. I recently upgraded to new version. Any ideas to improve the performance ? Regards GOPI

06 23:10:27.667: D/dalvikvm(24445): GC_CONCURRENT freed 1226K, 53% free 3950K/8263K, external 2486K/2773K, paused 2ms+2ms 04-06 23:10:27.977: D/dalvikvm(24445): GC_CONCURRENT freed 1226K, 53% free 3950K/8263K, external 2486K/2773K, paused 2ms+5ms 04-06 23:05:12.377: D/dalvikvm(24445): GC_CONCURRENT freed 1226K, 49% free 3951K/7623K,

external 2486K/2773K, paused 3ms+2ms

2012-04-06 14:07:17 -0500 commented answer Cameratutorial erroring out after some time

Sorry, I made a mistake, it works now. Thanks

2012-04-06 13:53:12 -0500 commented answer Cameratutorial erroring out after some time

I downloaded android_core and tried again still same error. Should I also have to get rosjava_core ?, I got only rosjava_android. Please let me know

2012-04-06 02:09:52 -0500 asked a question Cameratutorial erroring out after some time

Hello, I downloaded rosjava and rosjava.android (latest as of april 5th). I was able to compile and make it run. The camera tutorial however crashes after few seconds with the following error. Please help

The only change I made to the program is added ROSCORE which starts successfully

try { roscore = RosCore.newPublic(InetAddressFactory.newNonLoopback() .getHostName(), 11311); roscore.start(); roscore.awaitStart();

    } catch (InterruptedException e) {

        e.printStackTrace();
    }

04-06 08:08:09.247: D/dalvikvm(23125): GC_CONCURRENT freed 1230K, 49% free 3966K/7751K, external 2485K/2773K, paused 2ms+2ms

04-06 08:03:25.087: E/AndroidRuntime(22930): java.lang.IllegalArgumentException 04-06 08:03:25.087: E/AndroidRuntime(22930): at com.google.common.base.Preconditions.checkArgument(Preconditions.java:72) 04-06 08:03:25.087: E/AndroidRuntime(22930): at org.ros.internal.message.PrimitiveFieldType$4.serialize(PrimitiveFieldType.java:139) 04-06 08:03:25.087: E/AndroidRuntime(22930): at org.ros.internal.message.ListField.serialize(ListField.java:66) 04-06 08:03:25.087: E/AndroidRuntime(22930): at org.ros.internal.message.MessageImpl.serialize(MessageImpl.java:461) 04-06 08:03:25.087: E/AndroidRuntime(22930): at org.ros.internal.message.DefaultMessageSerializer.serialize(DefaultMessageSerializer.java:30) 04-06 08:03:25.087: E/AndroidRuntime(22930): at org.ros.internal.message.DefaultMessageSerializer.serialize(DefaultMessageSerializer.java:26) 04-06 08:03:25.087: E/AndroidRuntime(22930): at org.ros.internal.transport.OutgoingMessageQueue.writeMessageToChannel(OutgoingMessageQueue.java:79) 04-06 08:03:25.087: E/AndroidRuntime(22930): at org.ros.internal.transport.OutgoingMessageQueue.access$100(OutgoingMessageQueue.java:38) 04-06 08:03:25.087: E/AndroidRuntime(22930): at org.ros.internal.transport.OutgoingMessageQueue$Writer.loop(OutgoingMessageQueue.java:56) 04-06 08:03:25.087: E/AndroidRuntime(22930): at org.ros.concurrent.CancellableLoop.run(CancellableLoop.java:49) 04-06 08:03:25.087: E/AndroidRuntime(22930): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088) 04-06 08:03:25.087: E/AndroidRuntime(22930): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)

04-06 08:03:25.087: E/AndroidRuntime(22930): at java.lang.Thread.run(Thread.java:1019)

2011-12-29 02:26:49 -0500 answered a question rosmake rosjava.android

Never mind. I fixed the problem by deleting the android_rosserial from rosjava.android. I am not sure this is required but I can get past and can compile all packages

2011-12-29 02:21:11 -0500 answered a question Error in main.xml: could not find org.ros.android.views.RosTextView

You should fully qualify RosTextView in your main.xml something like this

<org.ros.android.views.RosTextView
    class="org.ros.android.views.RosTextView"
    android:id="@+id/textView1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
     />

This should fix the problem

2011-12-28 04:20:25 -0500 asked a question rosmake rosjava.android

Hello, I am using UBUNTU 10.04 and i was successfully able to install ROS Electric and ROSJAVA. I was able to run ROSJAVA pub/sub examples without any error, I am now trying to install rosjava.android from hg clone https://code.google.com/p/rosjava.android/ rosjava.android and when I do rosmake rosjava.android I am getting the following error

Not sure what to do. There are so many installation pages with different instructions. Not sure which one is correct.

Please help

Regards GOPI

=============

{------------------------------------------------------------------------------- rosrun rosjava_bootstrap make.py android_rosserial Traceback (most recent call last): File "/home/gopi/ros_workspace/rosjava/rosjava_bootstrap/src/main/python/rosjava_bootstrap/make.py", line 108, in <module> main(sys.argv) File "/home/gopi/ros_workspace/rosjava/rosjava_bootstrap/src/main/python/rosjava_bootstrap/make.py", line 100, in main build(rospack, package) File "/home/gopi/ros_workspace/rosjava/rosjava_bootstrap/src/main/python/rosjava_bootstrap/make.py", line 57, in build maven.write_ant_maven_dependencies(rospack, package, stream) File "/home/gopi/ros_workspace/rosjava/rosjava_bootstrap/src/main/python/rosjava_bootstrap/maven.py", line 298, in write_ant_maven_dependencies _write_maven_dependencies_group(rospack, package, 'compile', stream) File "/home/gopi/ros_workspace/rosjava/rosjava_bootstrap/src/main/python/rosjava_bootstrap/maven.py", line 255, in _write_maven_dependencies_group _map_package_dependencies(rospack, package, export_operator, scope=scope) File "/home/gopi/ros_workspace/rosjava/rosjava_bootstrap/src/main/python/rosjava_bootstrap/maven.py", line 105, in _map_package_dependencies _map_exports(rospack, dependency, export_operator, _transtive_dependency_scope_check, scope) File "/home/gopi/ros_workspace/rosjava/rosjava_bootstrap/src/main/python/rosjava_bootstrap/maven.py", line 86, in _map_exports package_directory = roslib.packages.get_pkg_dir(package) File "/opt/ros/electric/ros/core/roslib/src/roslib/packages.py", line 220, in get_pkg_dir raise InvalidROSPkgException("Cannot locate installation of package %s: %s. ROS_ROOT[%s] ROS_PACKAGE_PATH[%s]"%(package, rperr.strip(), ros_root, ros_package_path)) roslib.packages.InvalidROSPkgException: Cannot locate installation of package parsec_msgs: [rospack] couldn't find package [parsec_msgs]. ROS_ROOT[/opt/ros/electric/ros] ROS_PACKAGE_PATH[/home/gopi/ros_workspace:/opt/ros/electric/stacks:/opt/ros/electric/stacks] -------------------------------------------------------------------------------}