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

utopia_david's profile - activity

2022-04-27 04:51:08 -0500 received badge  Famous Question (source)
2022-04-11 08:25:03 -0500 commented question tf2_monitor net delay and hz when playing ros2 bag

have u found any clue about this, i think i met the same issue...

2022-03-21 11:06:41 -0500 received badge  Notable Question (source)
2022-02-04 06:27:02 -0500 received badge  Famous Question (source)
2022-01-30 09:42:18 -0500 received badge  Scholar (source)
2022-01-30 08:24:47 -0500 commented question lanelet2 map and pcd map didn't match in map frame

OK~~~~~~~~~

2022-01-30 08:23:40 -0500 received badge  Supporter (source)
2022-01-30 08:23:07 -0500 answered a question lanelet2 map and pcd map didn't match in map frame

Update: The lanelet2 is base on an Rough approximation MGRS coordinate, what you should do: 1: transform your MGRS (yo

2022-01-13 15:36:18 -0500 marked best answer lanelet2 map and pcd map didn't match in map frame

Description: I create a pcd file by lidar slam, and create a lanelet2 hd map by Autoware online map tool(i double checked my MGRS cooridinate, and i do followed the instruction in lanelet2 provider located in AutowareAuto in map edit part), Then i can run simulation planning and mpc control only rely lanelet2 map and simulation node, seems the map is working and everything working fine now . Then i want to geo-align pcd map and lanelet2 map in rviz just like AVP demo, then i picked a cooridinate(WGS84) in some online map (i double checked the coordinate about latitude/longitude/altitude ), then provide this cooridinate 'param yaml ' for lanelet2 provider and Map publisher node, THEN i launch rviz2, BUT !! THE lanelet2 Marker is not located in MAP origin LIKE AVP DEMO, AND the PCD(viz_ndt_map which published by map publisher) located in map origin.

THE Lanelet2 Marker is 90000m(y), -3000(x)m FAR AWAY from pointcloud map(located in map's frame origin) , anybody can give some clue ?

*** Solution ****

The lanelet2 is base on an Rough approximation MGRS coordinate, what you should do:

1: transform your MGRS (you uesed to create lanelet2 map) to wgs84 (mgrs_latitude, mgrs_longitude)

2: get real WGS84 coordinate for your map origin (wgs84_latitude, wgs84_longitude)

3: calcuated offset value: offset_latitude = mgrs_latitude - wgs84_latitude, offset_longitude = mgrs_longitude - wgs84_longitude;

4: fill param file for lanelet2_map_provider

pcd map and lanelet2 map are in same coordinate in map frame !

Node: the reason about this is when we createing lanlet2 map, we use Rough approximation MGRS coordinate, but it not real coordinate, since it already wiried in xxx.osm file, we can't modified it, then when we use an real wgs84 coordinate as it's UTM origin, there will generate a huge gap between lanelet2 map and it origin(wgs84 coorinate), but when you add an offset , we change the wgs84 origin to it's creating origin( BUT IT'S STILL NOT TRUE ORIGIN), there is no gap between this two cooridinate.

2022-01-12 03:17:44 -0500 received badge  Popular Question (source)
2022-01-10 10:12:31 -0500 received badge  Student (source)
2021-12-14 00:44:25 -0500 received badge  Notable Question (source)
2021-12-05 07:08:57 -0500 received badge  Popular Question (source)
2021-12-04 01:58:24 -0500 answered a question create_wall_timer bind's callback funtion won't work

it seems the walltimer function can't include blocked thread/function something like serial read or socket read, in som

2021-12-04 01:42:20 -0500 edited question lanelet2 map and pcd map didn't match in map frame

lanelet2 map and pcd map didn't match in map frame Description: I create a pcd file by lidar slam, and create a lan

2021-12-04 01:41:54 -0500 edited question lanelet2 map and pcd map didn't match in map frame

lanelet2 map and pcd map didn't match in map frame Description: I create a pcd file by lidar slam, and create a lan

2021-12-04 01:41:54 -0500 received badge  Editor (source)
2021-12-04 01:41:23 -0500 edited question lanelet2 map and pcd map didn't match in map frame

lanelet2 map and pcd map didn't match in map frame Description: I create a pcd file by lidar slam, and create a lan

2021-12-03 10:09:44 -0500 asked a question lanelet2 map and pcd map didn't match in map frame

lanelet2 map and pcd map didn't match in map frame Description: I create a pcd file by lidar slam, and create a lan

2021-11-30 02:58:56 -0500 received badge  Enthusiast
2021-11-12 05:21:06 -0500 asked a question create_wall_timer bind's callback funtion won't work

create_wall_timer bind's callback funtion won't work HI all: i am new to ROS2-Foxy, i create a ros2 node class which i