Skip to content

Using lidar sensor in orbit #291

Closed Answered by Mayankm96
LukasVindbjerg asked this question in Q&A
Discussion options

You must be logged in to vote

You need to call env.render() to allow rendering of sensor data. I noticed that we right now only call it implicitly in the step call when GUI is enabled. When you use RSL-RL or RecordVideo wrapper, they internally call the render after step so you see it as working.

https://github.com/NVIDIA-Omniverse/orbit/blob/main/source/extensions/omni.isaac.orbit/omni/isaac/orbit/envs/rl_task_env.py#L175-L177

But I'm not happy with this arrangement. Would be nice to have a general way to "call" render when a sensor needs it.

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@Mayankm96
Comment options

@LukasVindbjerg
Comment options

@LukasVindbjerg
Comment options

@Mayankm96
Comment options

Answer selected by LukasVindbjerg
@LukasVindbjerg
Comment options

@Mayankm96
Comment options

@LukasVindbjerg
Comment options

@Mayankm96
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants