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

GPS antenna not in the center

asked 2022-01-30 23:05:24 -0500

Awt gravatar image

updated 2022-02-01 03:01:44 -0500

Hi.

To put it simply, I want robot_localization's / odometry / gps to start at (x, y, z) = (0, 0.3, 0) instead of (0, 0, 0).

I'm trying to get the robot to estimate its position. It worked generally well, but there is only one problem.
The robot I'm using cannot be structurally fitted with a GPS antenna in the center of the robot, the antenna is fitted 30 cm to the right. In robot_localization, the read latitude and longitude are set to (x, y) = (0,0), so the positional relationship with other sensors is broken, and self-position estimation is performed with this error included.
I have already created a node that calculates the orientation of the robot and outputs new /odometry shifted from the antenna position to the center of the robot.

Does anyone know how to solve this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-02-25 04:07:24 -0500

Tom Moore gravatar image

You should include your full EKF and navsat_transform_node config, a sample input message from every sensor input, and the value of any static transforms.

navsat_transform_node will account for the GPS sensor's offset from base_link, as it is defined in your transform tree. If you want to force some initial state for the EKF, you can use the initial_state parameter.

edit flag offensive delete link more

Comments

Thanks, Mr. Moore. I try to do this.

Awt gravatar image Awt  ( 2022-03-17 04:00:12 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2022-01-30 23:05:24 -0500

Seen: 126 times

Last updated: Feb 25 '22