Skip to content

3D Bounding box #1791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Div99 opened this issue Feb 15, 2019 · 6 comments
Open

3D Bounding box #1791

Div99 opened this issue Feb 15, 2019 · 6 comments

Comments

@Div99
Copy link

Div99 commented Feb 15, 2019

Hi, can the PythonClient be extended to have a getBoundingBox3D method for other cars, pedestrians in the environment?

This functionality will go a long way in making AirSim a more complete simulator, allowing for functionality such as perception of objects and prediction of their trajectories, which are standard components of most AV system pipelines.

@madratman
Copy link
Contributor

Yes, technically it can be, but we don't have the bandwidth to add this as of now.
One thing to look at is how carla does it here https://github.com/carla-simulator/carla/search?q=bounding+box&type=Code and see if you can port it to airsim.

@Div99
Copy link
Author

Div99 commented Feb 19, 2019

Hi, I want to use the feature with pre-built environments like CityEnviron or AirSimNH. From what I understand, any changes I make won't work with the supplied binaries of environments.

@ducmanhnguyen
Copy link

Have anyone success to get 3d bounding box with lidar data for deep learning? It would be great if you can share the data or the code to generate it. Thanks :)

@ironclownfish
Copy link
Contributor

In the meantime here's a ridculous hack:
You can measure the radius of an object by running it into a wall and noting the object's position relative to the position of the wall. Do this in all 6 directions and you have a bounding box. (This process could be automated, client side)

It would be much better for us to add the feature of course.
I just always try to suggest it's possible to do things client side, even if in a very weird way.

@saihv
Copy link
Contributor

saihv commented Feb 5, 2020

@ironclownfish Is there a way to extract the dimensions of the 'simple' collision box, perhaps?

@chongjeelee
Copy link

i found that we can set lidar and cam on the same position(settings.json),and the cam can get 3d bounding box from environment!so this 3d bounding box can be used to lidar !
maybe can close this issue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants