btx0424 / OmniDrones

https://omnidrones.readthedocs.io/
MIT License
149 stars 25 forks source link

Error when run transformers #18

Closed HGGshiwo closed 1 year ago

HGGshiwo commented 1 year ago

When I use velocity control, there occur a issue, I think the following code in the file omni_drones/utils/torchrl/transforms.py should change from:

input_spec[("_action_spec", *self.action_key)] = spec

to

input_spec[("full_action_spec", *self.action_key)] = spec
btx0424 commented 1 year ago

Yes. Thanks for pointing that out. I will try to make a better interface for controllers shortly.