utiasDSL / gym-pybullet-drones

PyBullet Gymnasium environments for single and multi-agent reinforcement learning of quadcopter control
https://utiasDSL.github.io/gym-pybullet-drones/
MIT License
1.15k stars 337 forks source link

Visualize drone cameras in explorer #205

Open Ahmad-Jarrar opened 2 months ago

Ahmad-Jarrar commented 2 months ago

I am new to using pybullet and am confused how can I visualize the drone camera feeds in the explorer tab in GUI. Can you help me guide how can I use the getCameraImage to show it realtime instead of recording. I am using an extended BaseRLAviary environment with RGB observation space.

JacopoPan commented 2 months ago

Look at configureDebugVisualizer in the official PyBullet documentation for enabling the views in the GUI: https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.twmfawqnrl8k