ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2022-11-03 18:52:13 -0500 | received badge | ● Great Question (source) |
2018-07-05 22:34:06 -0500 | received badge | ● Good Question (source) |
2016-07-07 13:59:43 -0500 | received badge | ● Famous Question (source) |
2016-03-19 18:38:51 -0500 | received badge | ● Nice Question (source) |
2016-01-11 11:14:51 -0500 | commented answer | How to change the version of Python catkin uses I checked the date on catkin_create_pkg from /usr/local, turns out it was created in 2013, so it must have been from when I was mucking around with ROS in the past. I thought I uninstalled all of the old stuff and replaced it with the new version, but it seems a few things were missed. |
2016-01-11 11:06:47 -0500 | commented answer | How to change the version of Python catkin uses Thanks! I've got it working now. Uninstalling with pip or pip3 didn't fix it (got a message saying it couldn't find anything to uninstall) so what I ended up doing was just renaming the file in /usr/local/bin to something else so it wouldn't use that one. |
2016-01-11 10:42:52 -0500 | received badge | ● Notable Question (source) |
2016-01-09 03:19:11 -0500 | received badge | ● Popular Question (source) |
2016-01-08 13:54:36 -0500 | commented question | How to change the version of Python catkin uses I'm using Ubuntu 14.04 with ROS Indigo. I think installed it with |
2016-01-08 12:49:08 -0500 | asked a question | How to change the version of Python catkin uses I'm trying to create a package with
I think this is because it is trying to use Python 3 rather than Python 2. (running Is there a nice way to switch it to always use Python 2 instead (the default Python on my system, and the one I prefer to use)? I just installed it with apt-get following the tutorials. Other stuff like |
2015-11-28 16:19:41 -0500 | marked best answer | PCL not being built with rosmake I'm trying to build ROS fuerte on my debian sid/jessie machine. I'm compiling from source as the apt-get stuff doesn't work for me. Pretty much everything runs fine except packages that depend on the PCL package. When I try to build the gazebo_plugins with rosmake, I get an error like the one below: I tried doing rosmake on perception_pcl, but ended up with this error: It seems like there is a cmake file missing? I did a grep of my system, and the files it mentions aren't anywhere. I also tried downloading the stand-alone pcl code from github, and these files still don't exist. I feel like I am doing something wrong, but I am not sure how to fix it, any help would be greatly appreciated. I am new to ROS and fairly new to unix. Let me know if you need any more information. Thanks! :) |
2015-06-04 15:39:56 -0500 | received badge | ● Famous Question (source) |
2014-04-20 06:54:55 -0500 | marked best answer | Easiest way to control an inverted pendulum I'm trying to create a simple model for a controller of an inverted pendulum. What I have so far is a model that receives position and velocity from the pendulum, and outputs motor commands. What I want is a physical model that this controller can interact with (using ROS topics to communicate between the two) I have a feeling this should be relatively simple, but I can't seem to find a good place to start. I think all I need is a rod with mass/intertia with a revolute joint attached to a cart, that can move linearly. What would you suggest as the best way to set up this environment? I've looked at http://www.openrobots.org/morse/doc/stable/user/actuators/armature.html (armature actuators) in MORSE, but I'm not sure how to build a model that can use them properly. Any help or suggestions will be much appreciated! :) I've mostly been using MORSE/Blender, and I'd prefer to keep working with that simulator, but a solution using Gazebo would be okay as well (I'm using ROS Fuerte on Debian Jessie, with Gazebo 1.7 and MORSE 1.0.1) EDIT: Just to follow up in case anyone else runs into a similar problem, here is a list of tutorials that I've found to be helpful: Accessing and modifying joint state: http://gazebosim.org/wiki/Tutorials/1.3/intermediate/pid_control_joint Revolute joint for the pendulum: http://gazebosim.org/wiki/Tutorials/1.2/control_robot/animate_joint Creating a subscriber for ROS messages: http://gazebosim.org/wiki/Tutorials/1.5/ros_enabled_model_plugin Pendulum control for newer version of Gazebo (doesn't work for me, but might for you): http://gazebosim.org/wiki/Tutorials/1.9/Using_A_URDF_In_Gazebo |
2014-04-20 06:54:42 -0500 | marked best answer | How do I convert an ROS image into a numpy array? Hi All, I'm trying to read ROS images published from a video camera (from MORSE) into a numpy array in my python script, but I don't know what is the correct way to do this, and everything I have tried hasn't worked. Does anyone know how to do this? Here is a snippet of what I have tried so far: I get an error that looks like this: I noticed that the Image object has a deserialize_numpy() method, I couldn't find any documentation on how to use it, so I crossed my fingers and tried it out: and got more errors: |
2014-04-10 05:05:28 -0500 | received badge | ● Notable Question (source) |
2014-03-25 17:06:43 -0500 | received badge | ● Enlightened (source) |
2014-03-25 17:06:43 -0500 | received badge | ● Good Answer (source) |
2014-03-25 09:17:58 -0500 | commented answer | rosjava - errors setting up a simple publisher guava version 13+ https://code.google.com/p/guava-libraries/wiki/Release15 DOMSerializer http://mvnrepository.com/artifact/org.apache.ws.commons.util/ws-commons-util/1.0.2 DNS java: sudo apt-get install libdnsjava-java netty: http://mvnrepository.com/artifact/org.jboss.netty/netty/3.2.9.Final |
2014-03-25 09:17:46 -0500 | commented answer | rosjava - errors setting up a simple publisher For me I didn't use eclipse, and I had to manually find and download various libraries to get it running. Most things were installed in the /opt/ros/hydro/share/maven/ directory, I kept a list of the other dependencies that I will post below. |
2014-03-23 21:16:10 -0500 | received badge | ● Nice Answer (source) |
2014-03-12 04:52:50 -0500 | received badge | ● Good Question (source) |
2014-03-12 04:42:27 -0500 | received badge | ● Famous Question (source) |
2014-01-31 16:43:31 -0500 | marked best answer | rosjava - errors setting up a simple publisher I'm trying to set up a simple publisher using rosjava (pure java, I don't need Android). I've been following some tutorials and making lots of progress, but now I'm stuck. Here is the code I have so far: I've been basing this off of this question and this tutorial. Some of the syntax used is out of data, so I've been looking through the source code here to get things to compile. I'm using ROS Hydro on an Ubuntu 13.04 machine. My goal is to get a publisher and subscriber implemented in pure java running in jython. I've compiled my class using javac, and can import it into jython fine, I get an error when I try to set up my node in the constructor for Publisher_Test: From what I understand so far, it looks like DefaultNodeFactory is setting up the DefaultNode with the Collection<nodelistener> to be null (which looking at the source code seems to be a valid thing to do), and then the addAll() method which is called in the DefaultNode constructor throws this exception when it tries to iterate on null. I'm thinking I need to give a Listener to the DefaultNodeFactory, but I am unsure how I would go about doing this. What is a ... (more) |
2014-01-31 16:43:31 -0500 | received badge | ● Teacher (source) |
2014-01-31 16:43:31 -0500 | received badge | ● Self-Learner (source) |