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

aecins's profile - activity

2021-07-02 03:28:16 -0500 received badge  Guru (source)
2021-07-02 03:28:16 -0500 received badge  Great Answer (source)
2017-06-13 18:46:02 -0500 received badge  Enlightened (source)
2017-06-13 18:46:02 -0500 received badge  Good Answer (source)
2017-06-02 15:01:28 -0500 received badge  Nice Question (source)
2013-06-18 11:01:24 -0500 answered a question Conflict between PCL and ROS Kinect drivers..Any Soln?

The answer is here. Basically PCL and ROS have incompatible versions of Kinect drivers. You can have one or the other installed but not both. If you want to use PCL with ROS you have to use the ROS version of PCL which is very limited compared to trunk PCL as far as I understand (I have not tested it myself).

2012-11-14 11:48:33 -0500 received badge  Famous Question (source)
2012-10-16 20:30:11 -0500 received badge  Famous Question (source)
2012-09-18 10:17:36 -0500 received badge  Notable Question (source)
2012-09-18 10:16:52 -0500 received badge  Scholar (source)
2012-09-18 10:16:42 -0500 commented answer Getting joint state value given joint name in C++

I see. Yes, copying to a variable is not necessary at all. Thanks for the info.

2012-09-17 02:34:53 -0500 received badge  Popular Question (source)
2012-09-16 19:53:08 -0500 received badge  Student (source)
2012-09-16 09:08:58 -0500 asked a question Getting joint state value given joint name in C++

Let's say the /joint_states topic published by joint_state_publisher has several joint states:

header: 
  seq: 2855
  stamp: 
    secs: 1347822047
    nsecs: 978094100
  frame_id: ''
name: ['ptu_pan_joint', 'ptu_tilt_joint']
position: [-0.4972690939903259, -0.20195947587490082]
velocity: []
effort: []

I just want to know the position of 'ptu_pan_joint'. How can I get it in C++ code? For now I am using the following:

vector<string> joint_names = joint_state->name;
pan_position_ = joint_state->position[find (joint_names.begin(),joint_names.end(), string(PAN_JOINT)) - joint_names.begin()];

Is there a cleaner solution?

2012-09-05 06:52:05 -0500 received badge  Notable Question (source)
2012-08-31 09:55:08 -0500 received badge  Popular Question (source)
2012-08-31 07:28:48 -0500 commented question pioneer 3dx caster wheel spins in place when simulating in gazebo

The repository is not public yet but here's a link it's current version (https://dl.dropbox.com/u/4515184/p2os_umd.tar.gz). To run gazebo simulation run roslaunch p2os_description pioneer3dx_gazebo.launch And thanks for the effort!

2012-08-30 11:12:21 -0500 commented question pioneer 3dx caster wheel spins in place when simulating in gazebo

I am running a modified version of p2os repo code. The main difference is that I am using the differential drive gazebo plugin from erratic robot. I got pioneer3DX to simulate correctly in Diamondback. I am not sure how the p2os repo code will behave under Fuerte.

2012-08-28 14:39:09 -0500 answered a question p3dx gazebo problem with Fuerte

I am trying to get pioneer 3dx to work in Fuerte but ran into this problem.

2012-08-28 14:33:26 -0500 asked a question pioneer 3dx caster wheel spins in place when simulating in gazebo

I am trying to simulate Pioneer 3dx robot in gazebo (running Fuerte). When I launch the simulation the robot spawns but then the caster wheel starts spinning in place. It accelerates and after some time the back side of the robot starts to "sink" into ground in gazebo window. I can not figure out why. Same urdf model worked fine in Diamondback. I ran erratic robot simulation (which is differential drive as well) in Fuerte and it works fine, but I could not find why it doesn't work for Pioneer.

Here are the urdf files I am using
pionner3dx body
pionner3dx wheel
Differential drive plugin

2012-08-17 03:02:25 -0500 received badge  Popular Question (source)
2012-08-17 03:02:25 -0500 received badge  Notable Question (source)
2012-08-17 03:02:25 -0500 received badge  Famous Question (source)
2012-07-16 13:02:59 -0500 received badge  Supporter (source)
2012-04-18 09:51:40 -0500 received badge  Nice Answer (source)
2012-04-17 12:02:00 -0500 received badge  Self-Learner (source)
2012-04-17 12:02:00 -0500 received badge  Teacher (source)
2012-04-17 12:00:44 -0500 received badge  Editor (source)
2012-04-17 12:00:44 -0500 edited question Combining JointState messages from several topics

Hello everyone,

I am using ptu46 driver. It publishes pan and tilt joints to the /ptu/state topic using sensor_msgs/JointState. There are other nodes in my system that publish joint states to /joint_states topic. I want robot_state_publisher to listen to both /joint_states and /ptu/state topics and publish a transform tree. The reason I don't want the PTU driver to publish to /joint_states directly is that there is an action server node that listens to /ptu/state and allows controlling the PTU. Is there a way to get around this problem?

2012-04-17 11:59:16 -0500 answered a question Combining JointState messages from several topics

Ok, I have found a solution. You can aggregate JointState messages from several topics into a single /joint_states topic using the source list parameter of joint_state_publisher. You have to make sure that your urdf model has the joint names corresponding to those published in your JointState sources.