Ask Your Question

Kel Guerin's profile - activity

2015-06-22 00:59:04 -0600 received badge  Famous Question (source)
2015-03-24 05:04:37 -0600 received badge  Good Question (source)
2013-11-08 09:24:05 -0600 received badge  Notable Question (source)
2013-10-22 23:21:52 -0600 received badge  Nice Question (source)
2013-10-20 23:23:22 -0600 received badge  Taxonomist
2013-09-19 07:50:32 -0600 received badge  Famous Question (source)
2013-08-06 11:41:46 -0600 received badge  Notable Question (source)
2013-08-06 11:41:46 -0600 received badge  Popular Question (source)
2013-07-23 06:15:05 -0600 received badge  Popular Question (source)
2013-07-23 05:44:19 -0600 asked a question moveit crashes while loading model, or shows no model

Hello,

I am running ubuntu 12.04 with ros groovy. I have installed moveit from source (I also tried the debian package, but get the same errors).

I start by running

kel@balmorra:~$ roslaunch moveit_setup_assistant setup_assistant.launch 

which yields this startup message and presents the assistant gui.

kel@balmorra:~$ roslaunch moveit_setup_assistant setup_assistant.launch
WARNING: Metapackage "rqt" must buildtool_depend on catkin.
... logging to /home/kel/.ros/log/d1000d52-f2de-11e2-b551-0019d170a2e8/roslaunch-balmorra-22425.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://192.168.1.3:49438/

SUMMARY

PARAMETERS * /rosdistro * /rosversion

NODES / moveit_setup_assistant (moveit_setup_assistant/moveit_setup_assistant)

ROS_MASTER_URI=http://192.168.1.2:11311

core service [/rosout] found WARNING: Metapackage "rqt" must buildtool_depend on catkin. process[moveit_setup_assistant-1]: started with pid [22434] Xlib: extension "RANDR" missing on display ":0.0".

When I click on Create New MoveIt Configuration Package and load the pr2.urdf file I generated as per the instructions on the moveit wiki, and click Load Files, I get one of two behaviors (seemingly randomly):

Either the model loads, and I can view the joints under active joints, but there is nothing shown in the render window, or the program crashes with the following error:

[ INFO] [1374593536.722684914]: Loaded pr2 robot model.
================================================================================REQUIRED process [moveit_setup_assistant-1] has died!
process has died [pid 22538, exit code -11, cmd /home/kel/ros_workspace/catkin_overlay/devel/lib/moveit_setup_assistant/moveit_setup_assistant __name:=moveit_setup_assistant __log:=/home/kel/.ros/log/d1000d52-f2de-11e2-b551-0019d170a2e8/moveit_setup_assistant-1.log].
log file: /home/kel/.ros/log/d1000d52-f2de-11e2-b551-0019d170a2e8/moveit_setup_assistant-1*.log

Initiating shutdown!

[moveit_setup_assistant-1] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done

Here is the same behavior with debug:=true


[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[New Thread 0x7fffa698c700 (LWP 22643)]
[New Thread 0x7fffbd4c4700 (LWP 22644)]
[New Thread 0x7fffa718d700 (LWP 22645)]
[New Thread 0x7fff97efe700 (LWP 22646)]
[New Thread 0x7fff976fd700 (LWP 22647)]
[New Thread 0x7fff96efc700 (LWP 22648)]
[New Thread 0x7fff966fb700 (LWP 22649)]
[New Thread 0x7fff95efa700 (LWP 22650)]
[New Thread 0x7fff955f9700 (LWP 22673)]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
Program received signal SIGSEGV, Segmentation fault.
0x00007fffec357415 in Ogre::EdgeListBuilder::buildTrianglesEdges(Ogre::EdgeListBuilder::Geometry const&) () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4

and gdb where returns the following:

(gdb) where
#0  0x00007fffec357415 in Ogre::EdgeListBuilder::buildTrianglesEdges(Ogre::EdgeListBuilder::Geometry const&) () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#1  0x00007fffec357bff in Ogre::EdgeListBuilder::build() ()
   from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#2  0x00007fffec4029ee in Ogre::Mesh::buildEdgeList() ()
   from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#3  0x00007ffff3166c31 in ogre_tools::STLLoader::toMesh(std::string const&) ()
   from /opt/ros/groovy/lib/librviz.so
#4  0x00007ffff314cff6 in rviz::loadMeshFromResource(std::string const&) ()
   from /opt/ros/groovy/lib/librviz ...
(more)
2013-06-27 05:45:10 -0600 commented answer rosnode name of connected publishers (rospy)

Thank you so much, I will try this out!!

2013-06-26 14:52:16 -0600 received badge  Nice Question (source)
2013-06-26 13:38:29 -0600 received badge  Student (source)
2013-06-26 12:47:18 -0600 asked a question rosnode name of connected publishers (rospy)

Hello,

I have a rospy Subscriber which is connected to several publishers, and I would like to retrieve a list of the names of the rosnodes that are connected as publishers to that subscriber, via a rospy interface. I have looked at the Subscriber.impl API and I thought that maybe it was in impl.connections or impl.get_stats, but connections gives you the address (I think) of the connected nodes... something like

[<rospy.impl.tcpros_base.TCPROSTransport object at 0x17e3450>, ...]

Thanks for the help!

Cheers, Kel

2013-01-16 13:36:04 -0600 received badge  Nice Answer (source)
2013-01-16 13:17:40 -0600 received badge  Teacher (source)
2013-01-16 13:17:40 -0600 received badge  Necromancer (source)
2013-01-16 12:06:15 -0600 received badge  Editor (source)
2013-01-16 11:46:34 -0600 answered a question OpenNI/NITE incompatible in Fuerte/Groovy on Precise

On precise, with a fresh install of ros-fuerte-desktop-full and ros-fuerte-openni-kinect, I still get this issue. I am running the latest ros openni_kinect version 1.5.4.0, I believe.

OpenNI version is 1.5.4.0.

Registered modules:

(compiled with OpenNI 1.5.4.0):
    Script: OpenNI/OpenNI/1.5.4.0
/usr/lib/libnimMockNodes.so.0 (compiled with OpenNI 1.5.4.0):
    ProductionNode: OpenNI/Mock/1.5.4.0
    Generator: OpenNI/Mock/1.5.4.0
    MapGenerator: OpenNI/Mock/1.5.4.0
    Device: OpenNI/Mock/1.5.4.0
    Depth: OpenNI/Mock/1.5.4.0
    IR: OpenNI/Mock/1.5.4.0
    Image: OpenNI/Mock/1.5.4.0
    Audio: OpenNI/Mock/1.5.4.0

/usr/lib/libnimCodecs.so.0 (compiled with OpenNI 1.5.4.0):
    Codec: OpenNI/16zP/1.5.4.0
    Codec: OpenNI/16zT/1.5.4.0
    Codec: OpenNI/Im8z/1.5.4.0
    Codec: OpenNI/JPEG/1.5.4.0
    Codec: OpenNI/NONE/1.5.4.0

/usr/lib/libnimRecorder.so.0 (compiled with OpenNI 1.5.4.0):
    Recorder: OpenNI/Recorder/1.5.4.0
    Player: OpenNI/Player/1.5.4.0

/usr/lib/libXnVFeatures.so (compiled with OpenNI 1.0.0.22):
    Scene: PrimeSense/XnVSceneAnalyzer/1.3.0.17
    User: PrimeSense/XnVSkeletonGenerator/1.3.0.17

/usr/lib/libXnVHandGenerator.so (compiled with OpenNI 1.0.0.22):
    Gesture: PrimeSense/XnVGestureGenrator/1.3.0.17
    Hands: PrimeSense/XnVHandTracker/1.3.0.17

/usr/lib/libXnDeviceSensorV2.so.0 (compiled with OpenNI 1.5.4.0):
    Device: PrimeSense/SensorV2/5.1.0.41
    Depth: PrimeSense/SensorV2/5.1.0.41
    Image: PrimeSense/SensorV2/5.1.0.41
    IR: PrimeSense/SensorV2/5.1.0.41
    Audio: PrimeSense/SensorV2/5.1.0.41

/usr/lib/libXnDeviceFile.so.0 (compiled with OpenNI 1.5.4.0):
    Player: PrimeSense/File/5.1.0.41

Since there is no longer an openni_tracker 'tracker.launch' file, if I run the executable directly out of the bin directory:

kel@malastare:/opt/ros/fuerte/stacks/openni_tracker/bin$ ./openni_tracker 
[ERROR] [1358379755.623919021]: Find user generator failed: This operation is invalid!
kel@malastare:/opt/ros/fuerte/stacks/openni_tracker/bin$

Thanks for the help!

-Kel

EDIT:

I just tried the workaround posted by isura above, and it worked fine. So, not sure what the problem is with the built in version of NITE.

Thanks all! -Kel