Closed ItsBean closed 4 weeks ago
You can set it to "human"
. :)
https://github.com/jjshoots/PyFlyt/blob/master/PyFlyt/gym_envs/quadx_envs/quadx_base_env.py#L311
I think there is probably a better naming scheme for the render mode, and documentation can also probably be amended.
Unfortunately, there is no clean way to alter the view of the visualizer camera. Instead, I directly modify these values to obtain the gifs https://github.com/jjshoots/PyFlyt/blob/master/PyFlyt/core/aviary.py#L216
Hi,
I'm currently working with the
PyFlyt/QuadX-Ball-In-Cup-v2
environment usinggymnasium
and have set therender_mode
to 'rgb_array'. The environment currently returns a first-person view from the drone's perspective.If I want the environment to return a third-person view instead, how should I modify my code to achieve this?