btx0424 / OmniDrones

https://omnidrones.readthedocs.io/
MIT License
130 stars 24 forks source link

rotor is not rotating #20

Closed HGGshiwo closed 9 months ago

HGGshiwo commented 9 months ago

In my case, the rotor is not rotating when do simultation. Though it doesn't influence the results, but it looks weird. I wonder is this a bug or something?

By the way, I use Hummingbird for simulation.

btx0424 commented 9 months ago

Hello there, currently we do not actually rotate the rotors so as to cut the simulation cost. The moments are not generated from rotating but are directly applied to the CoM of the drone.

This has something to do with how joints are controlled and how torques are generated in Isaac Sim. I am thinking about adding an actual "rotor" actuator in the next version.

People from NVIDIA told me that 2023.1.0 will come out around the end of this month, so we will look into that shortly.

For now, I can just turn on the rotation (maybe slowed down by a factor) to make things look nicer.

HGGshiwo commented 9 months ago

Thanks for your quick reply, and looking forward to your updates.