GithubHelp home page GithubHelp logo

Comments (4)

JacopoPan avatar JacopoPan commented on June 19, 2024

This is not something currently implemented but I could give it some thought, can you give me a small example of the scenario/output you would like to see? Should the occupancy grid be part of the obs (i.e. do you need it for RL) or could it be an additional entry in info (i.e. you are using the environment simply as a simulation?

from gym-pybullet-drones.

kevin-thankyou-lin avatar kevin-thankyou-lin commented on June 19, 2024

Gotcha, I was looking more for something like:

Airsim's Voxel grid construction (microsoft/AirSim#3209)

to get the 'ground truth' 3D state of the world. I'd use it as an additional entry in info - specifically, I'd want to use it for ground truth optimal planning.

I think we could use something like this voxelization tool for the .obj files for the sphere, samurai, etc URDFs (http://www.open3d.org/docs/latest/tutorial/Advanced/voxelization.html).

That said, I think I'm good without an occupancy grid at this stage, but thank you for helping!

from gym-pybullet-drones.

JacopoPan avatar JacopoPan commented on June 19, 2024

I should give it some thought. Note that collisions are managed by PyBullet (see the collision queries api) using the collision shapes specified in the .urdf file of each drone/object (these could be simple geometries or .dae/.obj meshes). The ground truth position/orientation of any object in the sim can be retrieved with a call to p.getLinkState(), then (knowing the collision shape/mesh of each object) one could use Open3D's voxelization. I have to look into how to use basic geometries and multiple meshes in a single Voxel grid but I suspect it could result in a significative computational overhead.

from gym-pybullet-drones.

kevin-thankyou-lin avatar kevin-thankyou-lin commented on June 19, 2024

Sounds good! Yeah, it'd probably result in significant computational overhead.

from gym-pybullet-drones.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.