Add camera on cassie
issue 1:
I followed the steps in the documentation labeled "orbit" on how to add a camera to a Cassie robot. I performed the steps to add a camera to a Cassie robot as outlined in the documentation. The figure included my modified source code. However, when I ran the Cassie robot with these changes, the robot falls over. The camera, on the other hand, follows the robot's movement and displays correctly. How can I resolve the issue of the Cassie robot falling over?
issue2:
I would like to add a camera to the Cassie reinforcement learning example in Orbit, enabling real-time display of the camera feed while Cassie is in motion. I would appreciate some advice on this matter. Thank you very much.
Hi,
Sorry for the late reply! I still didn't get around to adding a USD camera to the Cassie example and checking why it falls.
However, for this particular application, I advise using the RayCastCamera. This simplifies the ray-cast operation (for depth) to static meshes and performs ray-casting using GPU kernels in Warp. Given enough memory (48GB on RTX A6000), we have been able to use this implementation for the ANYmal robot and simulate 4096 environment instances (4 cameras in each environment) while obtaining around 12,000 FPS.
However, if you need dynamic meshes (i.e. see the legs of the robot while walking), then you would need to use the Camera implementation. If you want to run training with headless, you would need to pass an additional --offscreen_render flag to the script. This is detailed in the RL tutorial.
Closing this issue due to inactivity. Please feel free to re-open the issue if the problem persists.
Hi,
Sorry for the late reply! I still didn't get around to adding a USD camera to the Cassie example and checking why it falls.
However, for this particular application, I advise using the RayCastCamera. This simplifies the ray-cast operation (for depth) to static meshes and performs ray-casting using GPU kernels in Warp. Given enough memory (48GB on RTX A6000), we have been able to use this implementation for the ANYmal robot and simulate 4096 environment instances (4 cameras in each environment) while obtaining around 12,000 FPS.
However, if you need dynamic meshes (i.e. see the legs of the robot while walking), then you would need to use the Camera implementation. If you want to run training with headless, you would need to pass an additional
--offscreen_renderflag to the script. This is detailed in the RL tutorial.
@Mayankm96 Hi, may I know what is the camera resolution in the setting where you created 4096 environments with 4 RayCastCamera-type cameras in each env, on the 48GB VRAM A6000? Thanks!