ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2017-02-14 08:26:11 -0500 | received badge | ● Famous Question (source) |
2016-10-20 03:53:30 -0500 | received badge | ● Notable Question (source) |
2016-09-04 08:18:14 -0500 | received badge | ● Popular Question (source) |
2016-09-03 18:28:22 -0500 | asked a question | Clarification on ros-kinetic-robot metapackage GUI dependencies According to REP 142 there should be no GUI dependencies on the Robot metapackage (emphasis mine):
Question: When I do Is the intention that you can run all the nodes without GUI interaction, although they may require some libraries from a GUI library for some other reason? ( I put the full apt-get output below for reference. Thanks! dougbot01 Output |
2015-05-08 01:57:26 -0500 | received badge | ● Nice Answer (source) |
2015-02-28 07:58:12 -0500 | received badge | ● Enlightened (source) |
2014-09-24 05:21:12 -0500 | received badge | ● Good Answer (source) |
2014-09-01 01:38:24 -0500 | received badge | ● Famous Question (source) |
2014-01-28 17:27:03 -0500 | marked best answer | tf.getYaw() in python? Well I feel very foolish to ask this question, but I am looking for the equivalent of tf::getYaw() that exists in the C++ API for Python. I've tried looking in the API docs and using the dir() and help() functions in the Python console, but so far coming up short. Does this function exist? If not, can anyone point to a reliable implementation where I can pass a Quaternion message and get the yaw back? I can go back and rewrite my code in C++, but that would be a little silly. I'm on Electric Thanks! |
2014-01-28 17:26:33 -0500 | marked best answer | Problem adding rosserial node to turtlebot bringup Hello All, This is my first question to the list so please advise any etiquette that I may have overlooked regards to posts. Sorry about the length, but I figure more detail is better! I am trying to add some hardware to my Turtlebot using an Arduino. I have created and tested my rosserial nodes and Arduino code, and everything is working. I have also added these nodes to a separate launch file, and when I call roslaunch on it, it runs without any issues from my user account. The problem occurs when I try to get the rosserial node to start with all the other Turtlebot nodes by including my launch file in minimal.launch.
Ubuntu 11.10 Oneiric ROS Electric ros-electric-rosserial, 0.3.0-s1336605681~oneiric Arduino UNO (Rev 2 board) For reference, I had installed Ubuntu first, then ROS electric, then the turtlebot stacks.
This is from the error log in /home/turtlebot/.ros/log/....../ As you can see, there is a signal_shutdown coming from somewhere that kills the node, however I am not touching anything and all other nodes live on. [rospy.client][INFO] 2012-07-13 19:53:18,918: init_node, name[/rosserial_lipo], pid[17829]
In turtlebot_bringup package, I've edited minimal.launch to have the following. The "laptop battery" stuff has been pulled out since I am using a mini-PC instead of a netbook (I'm using Arduino as a LiPo voltage monitor). <!-- Turtlebot Laptop Battery Diagnostics --> <include file="$(find turtlebot_lipo)/lipo.launch" />
This is the complete file. The launch file, as well as turtlebot_lipo_diag.py, live under /home/doug/ros_workspace/turtlebot_lipo/. <launch> <!-- Turtlebot Laptop Battery Diagnostics --> <node pkg="rosserial_python" type="serial_node.py" name="rosserial_lipo" output="screen"> <param name="~port" value="/dev/ttyACM0" /> <param name="~baud" value="57600" /> </node> <node ...(more) |
2014-01-16 05:07:12 -0500 | received badge | ● Famous Question (source) |
2014-01-15 21:31:28 -0500 | received badge | ● Notable Question (source) |
2013-10-25 07:13:22 -0500 | received badge | ● Famous Question (source) |
2013-10-14 03:52:08 -0500 | received badge | ● Nice Question (source) |
2013-10-14 03:51:53 -0500 | received badge | ● Popular Question (source) |
2013-08-22 04:27:43 -0500 | received badge | ● Notable Question (source) |
2013-07-15 20:12:21 -0500 | received badge | ● Popular Question (source) |
2013-07-14 21:52:06 -0500 | asked a question | Problem with libhdf5 dependency Recently I had an issue updating my Fuerte packages. When I ran I received the error for 12 packages. After digging into the issue, I found that ros-fuerte-perception-pcl requires libhdf5-serial-dev. However, I had installed Paraview (which has a PCL viewer plugin) and paraview requires libhdf5-openmpi-dev. It appears these two packages are mutually exclusive. Because I haven't been using Paraview lately, I decided to uninstall it so I could update my ROS Fuerte install. However, since it was coexisting peacefully before I feel something must have changed. During the uninstall of Paraview and update of perception-pcl, I noticed that libnetcdf6 can use either libhdf5-serial or -openmpi Could perception-pcl be modified to accept either also? This would allow Paraview installation again. Yes, I'm also going to query the Ubuntu package maintainers about doing the same with Paraview. |
2013-06-12 21:13:53 -0500 | commented answer | Help troubleshooting TurtleBot arm interactive markers I tried an arm only URDF, with the top plate as the base_link (otherwise it was throwing some errors for multi-dof joints?). Even with that, still no luck... same errors as before. I would love to figure it out, but for now I will have to go back to 11.10/Electric. Thanks for the feedback @fergs !! |
2013-06-12 08:19:53 -0500 | commented answer | Help troubleshooting TurtleBot arm interactive markers Thank you @fergs for checking. It's on a Turtlebot, and RViz didn't report TF errors. I will set up an arm only URDF for testing. If that doesn't work, I'm assuming it would be a change to the ros-fuerte-simple-arms stack, since the arbotix and turtlebot_arm code are the same (AFAIK). Thanks! |
2013-06-11 20:57:28 -0500 | asked a question | Help troubleshooting TurtleBot arm interactive markers Hi All, I can't expect anyone to hold the golden key here, but I hope people can suggest what I might do to figure out where the error is. Previously Ubuntu 11.10 and Electric was working. Currently using Ubuntu 12.04 with Fuerte... not working yet. I can use the arm's interactive markers in the "joint mode", but the "trajectory mode" gives errors. It appears code in ROS is outdated, so I am using the arbotix code from When I try moving the gripper, here are the messages I get from the marker server... Also, I get some weird output from the arm server (there's an error val at bottom, and appears to have no plan)... Here are all the nodes/commands I run THANK YOU! |
2013-04-11 08:51:28 -0500 | received badge | ● Popular Question (source) |
2013-04-11 08:51:28 -0500 | received badge | ● Notable Question (source) |
2013-04-02 19:12:30 -0500 | commented answer | how to make rosserial work with 32 bit micro controller. please help If that is all you need, simply use the Serial.print commands in your Arduino code. There are many examples of Python code for reading serial commands. Here's a site with some good info http://eli.thegreenplace.net/2009/07/30/setting-up-python-to-work-with-the-serial-port/ |
2013-04-01 18:48:09 -0500 | answered a question | how to make rosserial work with 32 bit micro controller. please help Although it does not use rosserial, I would strongly recommend you take a look at the ROS Arduino Bridge (http://www.ros.org/wiki/ros_arduino_bridge). The nice thing about this package is that it communicates over the serial port without relying on rosserial_arduino. It is very easy to port from Arduino to any Arduino-compatible microcontroller. I also found rosserial can be very slow... sending one message was taking about 1.8ms according to an oscilloscope. Because of that I could only publish about 30 Hz. Using the bridge approach, I was able to quickly improve that to about 500 Hz. |
2013-04-01 18:38:16 -0500 | commented answer | Updates for tf::MessageFilter example in geometry_tutorials Thanks for pointing me in the right direction! My pull request was already merged into geometry_tutorials. |
2013-03-25 11:10:51 -0500 | received badge | ● Student (source) |
2013-03-24 19:52:04 -0500 | asked a question | Updates for tf::MessageFilter example in geometry_tutorials Hi, I was trying to work through the tf tutorials, and had some issues when I got to the part about message filters. The tutorial refers to "turtle_tf_sensor.launch" which is not in the package. I am using Fuerte, and it appears that the file is also missing from Groovy. Also, this issue was previously raised, but I cannot see it being fixed. I have recreated the missing launch file, and a python node that it runs, based on code from Box Turtle. If you want me to submit a patch somewhere else please advise. Missing file 1: geometry_tutorials/turtle_tf/launch/turtle_tf_sensor.launch <launch> <include file="$(find turtle_tf)/launch/turtle_tf_demo.launch" /> <node name="turtle_pose_stamped_publisher" pkg="turtle_tf" type="turtle_tf_message_broadcaster.py" respawn="false" output="screen" /> </launch> Missing file 2: geometry_tutorials/turtle_tf/nodes/turtle_tf_message_broadcaster.py [Note: this was modified from Box Turtle code to use Point instead of Pose to match the tutorial code] #!/usr/bin/env python import roslib roslib.load_manifest('turtle_tf') import rospy import tf import turtlesim.msg, turtlesim.srv from geometry_msgs.msg import PointStamped, Point from std_msgs.msg import Header class PointPublisher: def handle_turtle_pose(self, msg, turtlename): self.pub.publish(PointStamped(Header(0, rospy.rostime.get_rostime(), "/world"), Point(msg.x, msg.y, 0))) def __init__(self): self.turtlename = "turtle3" #rospy.get_param('~turtle') self.sub = rospy.Subscriber('/%s/pose' % self.turtlename, turtlesim.msg.Pose, self.handle_turtle_pose, self.turtlename) self.pub = rospy.Publisher('turtle_point_stamped', PointStamped) if __name__ == '__main__': rospy.init_node('tf_turtle_stamped_msg_publisher') rospy.wait_for_service('spawn') spawner = rospy.ServiceProxy('spawn', turtlesim.srv.Spawn) spawner(4, 2, 0, 'turtle3') pp = PointPublisher() pub = rospy.Publisher("turtle3/command_velocity", turtlesim.msg.Velocity) while not rospy.is_shutdown(): pub.publish(turtlesim.msg.Velocity(1,1)) rospy.sleep(rospy.Duration(0.1)) It would also be great to add to the tutorial that the following lines should be added to CMakeLists.txt (assumes the file with code is named "turtle_msgfilter.cpp"). rosbuild_add_boost_directories() rosbuild_add_executable(turtle_msgfilter src/turtle_msgfilter.cpp) rosbuild_link_boost(turtle_msgfilter signals) |
2012-11-06 23:38:36 -0500 | received badge | ● Famous Question (source) |
2012-10-19 04:45:02 -0500 | received badge | ● Good Answer (source) |
2012-10-14 15:02:08 -0500 | commented question | How to model simple URDF objects? Also, you are better off posting Gazebo questions at http://answers.gazebosim.org |
2012-10-14 14:59:30 -0500 | commented question | How to model simple URDF objects? First step, please post your URDF and the command you're using to try spawing it. |
2012-09-29 13:49:00 -0500 | answered a question | How to remove the history of roscd? Above comments are correct, but if you want a little more understanding check out this link. http://ros.org/doc/api/rospkg/html/rospack.html#efficiency-considerations |