ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2020-07-01 05:10:32 -0500 | received badge | ● Guru (source) |
2020-07-01 05:10:32 -0500 | received badge | ● Great Answer (source) |
2016-09-18 14:42:18 -0500 | received badge | ● Famous Question (source) |
2016-05-19 10:36:19 -0500 | received badge | ● Good Question (source) |
2016-05-16 09:08:10 -0500 | received badge | ● Nice Question (source) |
2016-05-16 09:08:08 -0500 | received badge | ● Good Answer (source) |
2016-05-16 09:08:08 -0500 | received badge | ● Enlightened (source) |
2015-08-31 21:15:31 -0500 | marked best answer | revolute joint not working in gazebo I'm trying to simulate a door in gazebo but the revolute joint does not seem to work. Could someone take a look at my urdf file and see what might be possibly wrong with it This is the link the video I took http://www.youtube.com/watch?v=iCwonqFniqA&feature=youtu.be I'm running Fuerte, Ubuntu 12.04 Thank you EDIT: I tried a second time but this time with an extra block to prevent the thing from toppling: http://www.youtube.com/watch?v=l3gPdSxkyCU&feature=youtu.be The door managed to open but with much difficulty, have to move pr2 very slowly. Does anyone know how to make the joint more smooth? *my velocity and effort for the revolute joint was 1000 and 10000 respectively for the second video if that makes any difference |
2015-08-26 11:11:21 -0500 | received badge | ● Nice Question (source) |
2015-07-01 14:27:22 -0500 | received badge | ● Nice Answer (source) |
2015-04-09 20:29:46 -0500 | received badge | ● Nice Question (source) |
2015-01-24 20:11:57 -0500 | received badge | ● Famous Question (source) |
2014-08-21 21:41:38 -0500 | received badge | ● Notable Question (source) |
2014-04-20 12:23:24 -0500 | marked best answer | adjusting speed of turtlebot Hi, I'm wondering if there's any way to adjust the speed of turtlebot. It's moving too fast for my preference. I'm using a logitech dual action game pad. I can move it perfectly fine when I press button 5 and the arrow keys, except that the speed is really fast and it gets jerky when I press and let go. Is there any way to get the right joystick of the game pad to control turtlebot. It seems that the right joystick is able to vary its speed depending on how far you move it. Otherwise, I would be happy if someone could teach me at least how to reduce the maximum speed. Thank you. |
2014-04-20 12:23:14 -0500 | marked best answer | Turtlebot calibration(Still waiting for imu/scan) When I type "roslaunch turtlebot_calibration calibrate.launch", the terminal shows Eariler on, it showed Does anybody know what these two messages might suggest? I can't understand the code. Extra info: -Using a bumblebee2 camera instead of a kinect -I am using a MicroStrain 3DM-GX2 IMU for turtlebot, I changed the frame_id to gyro_link and the remapped the topic "imu/data" robot_pose_ekf subscribes to to "bumblebee2/bumblebee2/imu/data" so that the imu messages can reach robot_pose_ekf. Despite doing this, I'm not sure if the gyro is working properly as I still get "Bad Gyro Calibration" under diagnosis Let me know if you require and extra information, I'm not too sure what is relevant. Thanks in advance! |
2014-04-20 12:23:11 -0500 | marked best answer | How to solve TF_NAN_INPUT Hi, I'm quite new to vslam and I was wondering if anyone who could help me with this problem. When I try to get live data using a bumblebee2 camera and rviz, the blue lines get all broken and scattered in weird places. like this: I suspect the following error message below(it was reported in my rviz window) will show what is responsible for this, but I cannot interpret where the error is. Thanks for the help. |
2014-04-20 12:23:09 -0500 | marked best answer | Using bumblebee camera for turtlebot I'm trying to set up turtlebot but I'm using a bumblebee camera instead of a kinect. I was wondering if anyone has done this before and how to go about doing it. So far what I have done is commenting out the kinect node in robot.launch and adding a bumblebee node in there which looks like this When I start turtlebot, I will get a Bad Gyro Callibration under Sensors Error in Diagnostics from the turtlebot dashboard. Another anomaly I observed is that [kinect_breaker_enabler-8] process has finished cleanly in the terminal where I'm running robot.launch (Well, I did comment out the entire kinect node so this might happen but would this lead to any problems? and how do you solve it?) Logfile attached:kinect_breaker_enabler-8.log.jpg(change .jpg to .log after download, they won't let me upload log files) I'm still quite new to this and I do not understand how openni is used in turtlebot(it seems to appear several times in the launch file, so I'm not sure if changing the camera would require me to reconfigure some things in openni) I would be really grateful to anyone who could help me with this. |
2014-04-20 12:23:07 -0500 | marked best answer | Unable to contact my own server I'm in the midst of trying to set up turtlebot and I have encountered this problem. When I type "roslaunch turtlebot_bringup robot.launch" on my laptop, the following message appears I tried pinging myself and it works. Any ideas what might be wrong? Thanks |
2014-04-20 12:22:56 -0500 | marked best answer | OpenCV Error: Image step is wrong () in cvInitMatHeader Hi, Recently, whenever I enter the command "rosbag record -a" while trying to run vslam, my bumblebee camera will stop working and the following error comes up: I was wondering if anyone could help me with this. Here are other info that might be needed. Message in rosbag record window (more) |
2014-04-20 06:53:56 -0500 | marked best answer | Measuring force of tip using Jacobian function in KDL Hi, I understand from here that you can use the Jacobian function from the KDL library to calculate a the torque to input for a desired force at the tip. i.e. Torque = Jac(j,i)*Force However, does anyone know a way to do the opposite, to measure the actual force exerted at the end tip by reading the respective measured joint torques. i.e. Measured Force = [some function?]*measured torque at joints. I tried using the pr2_mechanism_model::JointState to get the measured effort of each joint and use back the Jacobian Transform to get the measured force, However, when I can't compile it as the type for the JointState's measured force(double) is different from KDL::Wrench. Can anyone advise me on how do I go about measuring the force of the tip of pr2's arm using the Jacobian function in KDL? Thank you in advance. EDIT: Thanks Peter, I appreciate any help as I am not very familiar with coding or robotics. Anyway, I realised I made a very silly mistake. The code should be I forgot the I wrote "F_measured_" instead of "F_measured_(i)" earlier. It can compile now but not sure if it actually works. Will let you know my results afterwards. |
2014-04-20 06:53:47 -0500 | marked best answer | reading force on pr2 arm joint I have been reading the various packages that pr2 arm controls uses. 1)http://www.ros.org/wiki/pr2_mechanism_model 2)http://www.ros.org/wiki/pr2_mechanism/Tutorials/Coding%20a%20realtime%20Cartesian%20controller%20with%20KDL 3)http://ros.org/wiki/ee_cart_imped_control# The API from the first link shows that you can get the measured force of the joint. However, I can't find any of such members in the 2nd link(or in the KDL library). And from the 3rd link, it says that PR2 don't have force sensors on its joints. Why do they contradict each other? Could someone clarify with me on this? Thank you in advance. :) Also, if PR2 joints indeed cannot sense the force/torque on the joint. May I know what does "effort" mean in joint_states_listener Thanks! EDIT: I'm running simulation on Gazebo if that makes any difference |
2014-04-20 06:53:39 -0500 | marked best answer | Keyboard controller for PR2 arm Hi, I am currently trying to write a pr2 arm controller that will allow me to control all the arm joints of pr2 by keyboard I'm basing my code on this which will let me control r_arm_controller. I tried modifying it but I still cannot achieve what I want. The keyboard controls that I wrote does not allow me increase the joint angle each time I press it, but instead remains at the fixed increment I tried to specify. Can someone teach me how do I change it so that I can control the arms to move anywhere I want just by keyboard without the hassle of going into the c++ code to change the values. The code that I have written is below, I only wrote controls for the the first joint, r_shoulder_pan_joint. Thank you so much. (more) |
2014-04-20 06:52:04 -0500 | marked best answer | pr2: writing a realtime joint controller I'm currently attempting this tutorial http://www.ros.org/wiki/pr2_mechanism/Tutorials/Running%20a%20realtime%20joint%20controller Everything is okay until I reach this step:
I don't see MyControllerPlugin anywhere. I just tried to continue anyway by typing The controller successfully loads in and starts in Terminal but nothing is happening in Gazebo. I did exactly as the tutorial said except I changed my_controller_name to MyControllerPlugin. Did I do something wrong? The warning reflected after trying to run MyControllerPlugin is
I'm running ubuntu 12.04 and Fuerte. Thanks. EDIT: I managed to get rid of the warnings by & However, when I load and start the plugin, nothing happens on gazebo. PR2 just stands there doing nothing. Does anyone else have the same problem? EDIT2(to Arthur): What I typed rosrun pr2_controller_manager pr2_controller_manager load my_controller_pkg/MyControllerPlugin rosrun pr2_controller_manager pr2_controller_manager start my_controller_pkg/MyControllerPlugin rosrun pr2_controller_manager pr2_controller_manager list The results showed that the plugin was running[my_controller_pkg/MyControllerPlugin (running)] but nothing was happening in the simulator. :( EDIT3: Thanks Arthur. I see "my_controller_pkg/MyControllerPlugin" when I run "$ rosrun pr2_controller_manager pr2_controller_manager list-types" I changed "rosparam set my_controller_pkg/MyControllerPlugin/type my_controller_pkg/MyControllerPlugin" to "rosparam set my_controller_name/type my_controller_pkg/MyControllerPlugin". I also changed this respectively "rosparam set my_controller_pkg/MyControllerPlugin/joint_type r_shoulder_pan_joint" to " rosparam set my_controller_name/joint_type r_shoulder_pan_joint" Is that what you mean by not using the same name for Plugin and controller? After loading and starting the controller I ran this command $ rosrun pr2_controller_manager pr2_controller_manager list and found this: my_controller_name ( running ) Pr2 is still not doing anything in the simulator. :s EDIT4: I think I gave information very messily before so here is it again. I followed the tutorial (http://www.ros.org/wiki/pr2_mechanism/Tutorials/Writing%20a%20realtime%20joint%20controller) quite closely and managed to get it to load successfully with the help of Arthur. However, despite loading successfully, pr2 does not do anything in the simulator. This is the code at the end of my_controller_file.cpp(exactly the same from tutorial) PLUGINLIB_DECLARE_CLASS(my_controller_pkg,MyControllerPlugin, my_controller_ns::MyControllerClass, pr2_controller_interface::Controller) This is my contoller_plugins.xml file Step1 Step2 Step3 I get Step4 I get(yes, my_controller_pkg/MyControllerPlugin is there) (more) |
2014-04-20 06:52:01 -0500 | marked best answer | writing a revolute joint I'm trying to build a door model but I can't seem to get the coding for revolute joints right. the "base_link" is the wall and "door" is the door. My code "door.xml" is here I yield the following error Here's a picture of how it looks like on rviz when I run roslaunch urdf_tutorial display.launch model:=door.xml door.png The visualization on rviz works perfectly find when I use continuous or fixed joints. So I'm not sure whether it is due to my code or some python related script. I'm running on Ubuntu 12.04, Fuerte. Thanks! |
2014-04-20 06:51:46 -0500 | marked best answer | gazebo.hh not found Hi, I'm currently trying to do this tutorial http://gazebosim.org/wiki/tutorials/plugins/simple_world but at when I compile the code, 'cmake' works fine but 'make' produces the following error I did a locate and found gazebo.hh in Does the problem has anything to do with my ROS_PACKAGE_PATH or ROS_WORKSPACE? I've tried adding the above location to my ROS_PACKAGE_PATH but to no avail. My ROS_WORKSPACE is /home/u0905937/fuerte_workspace if that is any help. I'm running on Ubuntu 12.04 EDIT: Thanks Kai, I've tried using the rosmake method and at least it could partially build the package. But I still face the problem of the computer not being able to find gazebo.hh. I've tried copying gazebo.hh into /usr/include/ but it came up with a new error of not being able to find the next header which is gazebo_core.hh. So I copy and pasted it again which brought up another new error of not being able to find the next header the previous one referred to. There's got to be an easier way right? By the way, my system is downgraded to ubuntu 11.10. |