erdnaxe / kraby

Documentation and ressources of Kraby, an open-source hexapod robot
https://kraby.readthedocs.io
MIT License
12 stars 4 forks source link

why there are 7 parameters in function "def resest(self)"? #18

Open IverYangg opened 2 years ago

IverYangg commented 2 years ago

In the hexapod_bullet_env.py , function" def reset(self) " What do these parameters mean? Why there are 7 rather 6 ? what does the last parameter mean if the first 6 are positions and orientation? `

Reset body position/orientation

p.resetBasePositionAndOrientation( self.robot_id, [0, 0, 0.2], [0, 0, 0, 1], ) `