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

RVIZ weird tf values

asked 2013-04-26 07:07:14 -0500

GioRos gravatar image

updated 2013-04-28 23:14:18 -0500

ipso gravatar image

Hi,

I use rviz on ROS fuerte and arduino by rosserial.

Arduino receives angles value from IMU and x,y position from encoders. Hence i use transform tf to publish pose of /odom frame wrt /base_frame.

In rviz i set TF to see the 2 reference frames but i obtain different values than the ones arduino publishes. In fact if i fix position x=y=z=1 and fill quaternion values with my IMU angles, rviz shows me different position x,y,z values varying in time and quaternion values x,y,z that are negative wrt real one.

But if I run "rostopic echo tf" i can see that arduino broadcasts the exact values.

Moreover if i fix position x=y=z=0 i obtain in rviz the exact values. But if i fix position x=y=z=2 i obtain in rviz x,y,z position values that are twice the one obtained fixing x=y=z=1.

Someone can help me??

Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-05-03 07:35:54 -0500

dgossow gravatar image

In Fuerte, RViz only shows the position/orientation relative the Fixed Frame, so that doesn't necessarily directly correspond to what's in the tf messages.

edit flag offensive delete link more
-1

answered 2013-05-03 03:34:37 -0500

GioRos gravatar image

Hi,

I don't know if it's a bug or i did something wrong......!!!

Someone could check it..??

Thanks Again.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-26 07:07:14 -0500

Seen: 513 times

Last updated: May 03 '13