0
$\begingroup$

Rosanswers logo

Note: cross-posted to moveit-users. Thread here

I'm using ROS groovy on a PR2, and trying to use Moveit! for a pick & place application. I'm using the default move_group.launch file from pr2_moveit_config, along with the default robot start bringup.

When I look at rviz, the robot representations from the RobotModel and the PlanningScene do not line up, as seen below:

image description

Unfortunately, the PlanningScene frame is the one that's wrong when compared to the actual sensor data, as determined by observing where it thought the arm was positioned relative to displayed kinect points vs. where it actually is.

After noticing that this offset changed a little every time I restarted the move_group node, I discovered that Moveit! uses odom_combined and the transform to odom_combined is published by the robot_pose_ekf node, and it wasn't 0 despite the robot being stationary. So, I tried killing that node, and using the static transform publisher to publish a 0 transform.

This seemed to help, but didn't fix the entire offset.

Is there some configuration step that I'm missing? Do I need to tell Moveit! to use a different frame? (If so, how, and which frame?)


Originally posted by lindzey on ROS Answers with karma: 1780 on 2013-10-30

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

This goes away once I change the Fixed Frame in rviz. It doesn't seem to matter what to, so long as it gets changed.


Originally posted by lindzey with karma: 1780 on 2013-11-06

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.