incognite-lab / myGym

myGym enables fast prototyping of RL in the area of robotic manipulation and navigation.You can train different robots, in several environments on various tasks. There is automatic evaluation and benchmark tool. From version 2.1 there is support for multi-step tasks, multi-reward training and multi-network architectures.
https://mygym.readthedocs.io/en/latest/
MIT License
49 stars 11 forks source link

Duplicate components of `endeff_6D` observation #48

Open Mcibula opened 6 months ago

Mcibula commented 6 months ago

Hello!

I am working with the latest version of master branch.

When I use endeff_6D as an additional observation, I get a 11D vector for that observation part instead of the usual 7D. The problem seems to be that the 4D effector orientation is there twice.

The duplicity is probably caused by the code generating the observation in TaskModule.get_additional_obs() method that concatenates outputs of VisionModule.get_obj_position() and VisionModule.get_obj_rotation(); however, the output of the former already contains orientation.

Thank you.