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

Elizabeth C's profile - activity

2014-05-29 00:01:12 -0500 received badge  Nice Question (source)
2014-05-29 00:00:44 -0500 received badge  Famous Question (source)
2014-02-24 02:35:23 -0500 received badge  Student (source)
2013-07-25 23:24:07 -0500 received badge  Notable Question (source)
2013-04-05 09:30:43 -0500 received badge  Popular Question (source)
2013-04-04 18:16:16 -0500 received badge  Guru (source)
2013-04-04 18:16:16 -0500 received badge  Enlightened (source)
2013-04-03 12:28:40 -0500 commented answer confuse with rosrun

The message is telling you that you have too many recursive method calls. From looking at the code, this appears to be because you're calling get_joint() from within get_joint() (under while not rospy.is_shutdown() ).

2013-04-01 22:53:38 -0500 received badge  Great Answer (source)
2013-04-01 14:55:31 -0500 received badge  Good Answer (source)
2013-04-01 13:49:43 -0500 received badge  Nice Answer (source)
2013-04-01 09:20:40 -0500 answered a question confuse with rosrun

The problem is most likely in your code and has nothing to do with rosrun. It appears that your node did start, but it didn't keep running for very long. For the node to continue running, it has to either continuously be doing things (for example: while not rospy.is_shutdown(): #do stuff), or include rospy.spin() somewhere to keep it running after initialization is done. (You can see examples of both of those in this tutorial.)

If that wasn't the problem, you'll need to post your code before anyone will be able to help you.

EDIT: The actual problem appears to have been that a return statement was placed too early a method. Fixing this revealed another problem with infinite recursive method calls.

2013-02-08 04:56:59 -0500 received badge  Famous Question (source)
2013-01-14 18:15:05 -0500 received badge  Necromancer (source)
2013-01-09 04:15:23 -0500 received badge  Notable Question (source)
2012-12-03 23:37:26 -0500 received badge  Necromancer (source)
2012-12-03 21:07:24 -0500 answered a question Dynamixel motors not found

The USB port isn't set to writable. Run sudo chmod a+rw /dev/ttyUSB0 to make it writable by all users.

You can add a udev rule to make USB ports be writable by all users by default. Make a file called 75-usb-rw.rules in /etc/udev/rules.d and add the following to it:

SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", MODE="0666"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", MODE="0666"
2012-12-03 18:58:28 -0500 commented answer problem with contact sensor. Easy question

Instructions are added. Unfortunately I STILL can't post any direct links (like the specific path to the tag in the svn repository) until I get enough upvotes on my questions and answers to get 30 karma. :(

2012-12-03 17:22:51 -0500 received badge  Popular Question (source)
2012-12-03 03:16:22 -0500 received badge  Teacher (source)
2012-11-27 05:09:37 -0500 received badge  Scholar (source)
2012-11-26 18:24:12 -0500 asked a question Bumpers/contact sensors broken in Gazebo (Fuerte)?

Does ANYONE have contact sensors working with Gazebo and Fuerte? If so, how did you get them working? I have sensors defined in the urdf of my model (and all the links have <collision> blocks), and the topics for the sensors are being advertised, but whenever I try to subscribe to the topics, I get a variation on this each clock cycle I'm subscribed to the topic:

Error [ContactSensor.cc:237] Contact Sensor[sensor_name] has no collision[link_name_geom]

At least part of the issue seems to have been fixed (Gazebo bitbucket issue 141), but I don't think the fix has made it to the released version yet. Also, issue 244 might still create problems, and a comment on issue 141 makes it sound like the bumper plugin might have problems as well. (Sorry about the lack of real links.)

2012-11-26 18:07:14 -0500 received badge  Supporter (source)
2012-11-26 18:04:35 -0500 answered a question how to add pressure sensors, gyroscopes, and accelerometers to an URDF model?

The link 1Daniel1 posted has the correct information about how to add a pressure sensor (also known as a bumper) to the URDF of a model. However, whenever you try to listen to the contact sensor topic, you'll most likely get a variation on this message:

Error [ContactSensor.cc:237] Contact Sensor[contact_sensor] has no collision[base_link_geom]

This is because the contact sensor implementation is broken in the version of Gazebo that comes with Fuerte. The comment thread on Gazebo bitbucket issue 13 has information about how to get a version of Gazebo with working contact sensors. (I'd link to it, but I don't have enough karma.)

2012-11-26 18:02:01 -0500 answered a question problem with contact sensor. Easy question

I don't think that message is your fault--it's because the contact sensor implementation is broken in the version of Gazebo that comes with Fuerte. At least one of the bugs causing the problem is now fixed, but the fix hasn't made it to the released version yet. It also sounds like that there might be bugs in the bumper implementation itself (based on this and this).

EDIT: Thomas Koletschka's comment has information about how to get a working version of Gazebo, which I've included and expanded below.

Installing a new version of Gazebo

  • Choose somewhere to put your new version of Gazebo. I put mine in ~/ros/simulator_gazebo, and I'll assume that's the location for the rest of the instructions.
  • $ mkdir ~/ros
  • $ svn co https://code.ros.org/svn/ros-pkg/stacks/simulator_gazebo/tags/simulator_gazebo-1.7.11/ ~/ros/simulator_gazebo
  • In your ~/.bashrc (or wherever it is that you set your ROS_PACKAGE_PATH), add ~/ros/simulator_gazebo to ROS_PACKAGE_PATH before the original value. For example:
    export ROS_PACKAGE_PATH=~/ros/simulator_gazebo:$ROS_PACKAGE_PATH
  • $ source ~/.bashrc
  • $ rosmake -i simulator_gazebo (-i means put a ROS_NOBUILD in the directories)
    This took about 30 minutes to run successfully. The first time I tried running it, I got this:
    -- BUILD ERRORS: These must be resolved before compiling.
    -- Missing: Google Protobuf Compiler Library (libprotoc-dev)
    -- Missing: libtar
    so I did:
    $ sudo apt-get install libprotoc-dev libtar-dev
    and tried again, and it worked.

When you launch Gazebo as usual, you'll get the new version you just compiled, and it should have semi-working contact sensors (with the caveats mentioned above). Be aware though that it's possible existing models you want to use might be incompatible with this new version.

EDIT 4/9/2013: The issue seems to have been resolved as of Gazebo 1.3, which is included in the simulator-gazebo-1.7.11 tag.

2012-11-24 03:18:56 -0500 received badge  Popular Question (source)
2012-11-18 15:04:41 -0500 asked a question Broken rospy code API docs?

The rospy code API docs seem to be broken right now. The "Code API" link on the wiki page for rospy goes to a directory with nothing useful in it. Unless I'm massively missing something and looking in the wrong place, can someone either fix this, or direct me to the correct place to report the problem?

2012-11-11 12:07:21 -0500 received badge  Editor (source)
2012-11-11 12:06:21 -0500 answered a question problem with contact sensor. Easy question

I'm having a similar problem. Based on this open issue, it looks like the problem might be caused by a bug in Gazebo: https://bitbucket.org/osrf/gazebo/issue/141/contact-sensor-state

(Sorry that's not actually much help.)

2012-08-10 09:41:14 -0500 asked a question Calls to rospy.log* from secondary threads not working

After starting a thread like this:

threading.Thread(target=self.__update_servo_states).start()

calls to rospy.log* from within __update_servo_states don't display anything. Does anyone know why that might be happening and what I can do to fix it? (I'm using a modified version of the dynamixel_motor stack, but the line of code above is directly from the original version.)