Ray Caster isn't working for my Robot #6020
Unanswered
ValdezNewton
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! I'm quite new to NVIDIA Isaac Lab. I've converted my robot from URDF to USD and I'm able to move all joints of the robot successfully. However, the Ray Caster doesn't seem to work on my robot. To debugg the issue, I tried using the
raycaster_sensor.pyscript fromhttps://isaac-sim.github.io/IsaacLab/main/source/overview/core-concepts/sensors/ray_caster.htmlon my lunar environment. The ray caster sensors work successfully as shown in Image 1. However, when I try to use ray caster on my robot, the red points (representing either point cloud or LiDAR rays) aren't appearing as they do on theanymalrobot, as shown in Image 2.When I ran my code that uses Ray Caster for my robot, I received errors as shown below:
My initial thought was because I didn't create a dedicated location for the Ray Caster. Therefore, I created a
lidar_linkcylinder shape and use aFixed Jointto attach it to my chassis, and place the ray caster on that cylinder, but it failed, and prompted the same errors as shown above.The part of the code that I've written that uses Ray Caster is shown below. I've uploaded my Python scripts for full details on my code:
Information on the environment:
The environment consists of multiple lunar rocks and four walls that borders the vicinity of the ground plane. The lunar rocks and the four walls are merged together as a single mesh. The merged mesh contains Collision API but no rigid body property. The lunar rocks have a height higher than 5 meters.
Information on my robot (LunarBot):
My LunarBot was converted from URDF to USD. All joints are working, and I can move it just like a regular robot. It can also collide with the lunar rocks in the environment. However, I'm unable to use Ray Caster on it.
Image 1:



Image 2:
Image 3:
lunarbot_cfg.py
lunarbot_raycaster.py
Can someone kindly help me in this matter? I hope to learn more from everyone!
Beta Was this translation helpful? Give feedback.
All reactions