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

selliott's profile - activity

2012-08-19 06:17:19 -0500 received badge  Famous Question (source)
2012-08-19 06:17:19 -0500 received badge  Popular Question (source)
2012-08-19 06:17:19 -0500 received badge  Notable Question (source)
2012-05-16 15:27:20 -0500 asked a question failed to load openni_kinect libraries

I'm using my turtlebot for the first time with electric. Every time I try to roslaunch anything that uses packages from the openni_kinect stack (follower.launch, openni.launch, etc), I get a bunch of errors about failing to load libraries from openni_kinect. Here's an example of one of the errors.

[ERROR] [1337214239.808330340]: Failed to load nodelet [/camera/depth/metric_rect] of type [depth_image_proc/convert_metric]: Failed to load library /opt/ros/electric/stacks/openni_kinect/depth_image_proc/lib/libdepth_image_proc.so. Make sure that you are calling the PLUGINLIB_REGISTER_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Cannot load library: /opt/ros/electric/stacks/perception_pcl/pcl/lib/libpcl_visualization.so.1.1: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference
[FATAL] [1337214239.809701780]: Service call failed!
[camera/depth/metric_rect-8] process has died [pid 16675, exit code 255].
log files: /home/turtlebot/.ros/log/f32ffc28-9fb2-11e1-ac38-485d603306cf/camera-depth-metric_rect-8*.log

There are a bunch of similar errors all with libraries from the same stack. I've tried reinstalling that stack but to no avail. Hopefully this is something really obvious that I'm missing.

Thanks!

2012-02-29 09:00:49 -0500 commented question Target compile does not exist in project app_chooser

Are you using Eclipse?

2012-02-27 05:15:09 -0500 commented answer creating my first android app : DefaultNodeFactory symbol not found.

I can't seem to replicate that error. You mentioned that when you ran the 'android' command you saw components "to be installed". Did you install them?

2012-02-23 10:32:16 -0500 commented answer creating my first android app : DefaultNodeFactory symbol not found.

As far as I can see your environment variables look fine. What is the exact error you're getting? Also, you mentioned that you saw all the SDK components. Did they say "Installed" next to them?

2012-02-23 10:16:32 -0500 commented answer creating my first android app : DefaultNodeFactory symbol not found.

Maybe double check your environment variables too.

2012-02-23 10:15:03 -0500 commented answer creating my first android app : DefaultNodeFactory symbol not found.

Is it possible that you're missing components of the Android SDK? Try running the 'android' command with no arguments. The AVD Manager should come up. Make sure you have all the API levels selected. Remember to check the box for obsolete packages so you can install API 9 if it's missing.

2012-02-23 09:58:19 -0500 commented answer creating my first android app : DefaultNodeFactory symbol not found.

I don't think I've seen that error before. Do you think you could post more detail? I'll see if I can replicate it.

2012-02-21 13:55:30 -0500 answered a question App for android

There is a good overview of the Applications Platform here: Applications Platform Overview

You can check out the documentation here as well: Applications Platform Links

If you're developing on Linux there's a good description of how to set up your environment here: Clients/Android

And there's a step-by-step tutorial for how to write the simple Pr2 Props App here: How to Write Pr2 Props

If you just want to publish messages to a topic on your computer then a good app to use as a template would be the Teleop app. It publishes messages directly to topics. If you've set up your environment as described on the wiki then you can roscd to android_teleop to take a look at that code.

If you have any trouble finding anything or if there's anything missing from the documentation, please let me know.

Thanks!

2012-02-21 08:04:04 -0500 commented answer creating my first android app : DefaultNodeFactory symbol not found.

I pushed a change to the appmanandroid library to fix this issue. I did a setup of a whole environment last night and got similar feedback from someone else. We were able to fix this issue on our installations after I updated appmanandroid. So sorry for the issues. Hope it will work now.

2012-02-17 10:27:58 -0500 commented answer Running rosjava node on an android device - crashes

Have you also updated your appmanandroid library? Parts of that library were updated to match with the newest rosjava. Wthout actually seeing your errors, I'd say that outdated appmanandroid parts could cause errors with NodeRunner and DefaultNodeFactory.

2012-02-17 10:17:50 -0500 answered a question creating my first android app : DefaultNodeFactory symbol not found.

This could be caused by having an older version of Rosjava. With the latest version of Rosjava, DefaultNodeFactory can no longer be called with no arguments. RosActivity.java in the appmanandroid library was updated to reflect that. The line where you're getting the error is one that changed.

I would try updating your version of rosjava. Try:

hg pull
hg update

in rosjava_core. If there are any more difficulties in the process for building Android apps let me know. I'm trying to make the documentation as clear as possible.

2012-02-17 09:39:16 -0500 received badge  Supporter (source)
2012-02-17 09:38:02 -0500 answered a question RosActivity vs RosAppActivity

If you're writing an Android application, you probably want your main activity to extend RosAppActivity. RosActivity contains the functionality for how intents are handled for starting activities. RosAppActivity extends RosActivity and it handles making the top bar on the screen with the dashboard.

2012-02-06 14:38:54 -0500 received badge  Teacher (source)
2012-02-06 10:10:52 -0500 answered a question Running rosjava node on an android device - crashes

I'm not sure if this will help, but here's an example of how I'm currently creating a node using DefaultNodeFactory with the newest rosjava:

NodeMainExecutor nodeMainExecutor = DefaultNodeMainExecutor.newDefault(); 
node = new DefaultNodeFactory(nodeMainExecutor.getScheduledExecutorService()).newNode(config);