autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
964 stars 630 forks source link

dummy object is below the ground #3111

Closed soblin closed 1 year ago

soblin commented 1 year ago

Checklist

Description

As in this image, when an object is placed in the Rviz, its center of mass is aligned to the map or the ground.

image

I think this is confusing when we debug the pointcloud/laserscan in planning simulator by changing the height of top Lidar.

I suggest aligning the base_link (the center of the bottom plane) to the map instead.

Expected behavior

When we set the height of top Lidar to 2m from the base_link and set the height of a car to 2.2m with its z height 0m for example, then we expect to see occupied/unknown part on the laserscan-based occupancy grid.

Currently since only half of the car, which is 1.1m height, is only effective and therefore laserscan-based occupancy grid from 2.0m height does not produce any occupied/known part.

In the below image scan_origin_frame of the occupancy grid map is 2.x [m] and the object height is set to 6m. Then the occupancy grid map is generated properly.

image

Actual behavior

In the above settings the occupancy grid is all free.

Steps to reproduce

  1. Put ego vehicle
  2. Put an object
  3. See the object from 3D vie

Versions

No response

Possible causes

No response

Additional context

No response

soblin commented 1 year ago

cc @YoshiRi

stale[bot] commented 1 year ago

This pull request has been automatically marked as stale because it has not had recent activity.

soblin commented 1 year ago

https://github.com/autowarefoundation/autoware.universe/pull/3119