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

cheng1234567's profile - activity

2019-07-02 09:03:31 -0500 received badge  Taxonomist
2019-03-01 12:45:01 -0500 marked best answer aligning map to map_frame origin

Hi

I am using two ekf_localization_nodes and one navsat_transform_node from robot_localization package. One ekf_localization_node is used to fuse wheel encoder and imu data, the other one is used to fuse wheel encoder, imu and GPS data (output from the navsat_transform_node). So far this setup has been working more or less fine.

My question is this:

When the robot initialises, it takes the first GPS data received and set that as the origin of the map_frame in rviz. Because previously I have just been looking at the trajectories of the GPS data and the odometry/filtered_map, there wasn't a need to use a map. However, currently I would like to map this trajectory onto a map to see if the trajectory is correct. Assuming that I already have a .pgm map of the location, how can I map the starting position of the robot (aka the first GPS data) onto this map? I can't fix a starting point on the map itself as well because everytime the first GPS data will be different. Is there a way to automatically map the first GPS data to the correct position on the .pgm map?

Thanks in advance.

2018-11-04 12:46:29 -0500 received badge  Famous Question (source)
2018-11-04 11:16:43 -0500 received badge  Famous Question (source)
2018-07-12 08:12:59 -0500 received badge  Famous Question (source)
2018-03-08 08:03:13 -0500 received badge  Notable Question (source)
2018-03-08 08:03:13 -0500 received badge  Popular Question (source)
2018-03-01 07:34:18 -0500 received badge  Notable Question (source)
2018-02-23 08:23:59 -0500 received badge  Popular Question (source)
2018-01-26 03:26:18 -0500 received badge  Notable Question (source)
2018-01-24 04:28:49 -0500 received badge  Popular Question (source)
2018-01-03 00:32:00 -0500 commented question Obstacle avoidance in move_base package

The answer below did help to give a better understanding on this, but I still don't know what to do to solve this proble

2018-01-03 00:31:15 -0500 commented question Obstacle avoidance in move_base package

Hi so have you found a way to solve this issue? What do you have to change such that the the robot won't collide with th

2017-11-30 00:51:34 -0500 asked a question aligning map to map_frame origin

aligning map to map_frame origin Hi I am using two ekf_localization_nodes and one navsat_transform_node from robot_loca

2017-11-30 00:51:00 -0500 asked a question aligning map to map_frame origin

aligning map to map_frame origin Hi I am using two ekf_localization_nodes and one navsat_transform_node from robot_loca

2017-11-29 03:59:04 -0500 asked a question How to load a map on mapviz?

How to load a map on mapviz? Hi This is the first time I'm using mapviz. I want to load a map on to mapviz so that I ca

2017-11-29 03:59:04 -0500 asked a question Using two GPS for robot_localization

Using two GPS for robot_localization Hi I am planning to use 2 GPS with robot_localization in my robotic project to imp