-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird behaviour of raisim::world::rayTest #56
Comments
Can you share the raisimUnity screenshot as well? |
Hi @jhwangbo , I attached an screenshot of the height map in raisimUnity |
You also need to visualize the scan points as well. You can check rayDemo2 |
I tried to run the
|
I fixed a bug in the demo file. you can run it. |
I'll close this issue until I see the visualization. |
@jhwangbo I experienced some weird behaviour for some cases when using the
raisim::world::rayTest
method for my raycasting. In this example I am raycasting from a vantage point one meter above ground in the center of the grid. In the first screenshot you can see the result I received with the code build on raisim. In the second screenshot you can see the result I would expect to see (the elevation of the rectangle in the upper-left is at 10m and the rest of the ground is flat at 0m) and which I received after writing my ownrayTest
code. I am not sure, maybe I used parameters for theraisim::world::rayTest
method which failed in some edge-cases, but it was hard for me to debug without seeing the source code.Result of raycasting using
raisim::world::rayTest
(https://github.com/mstoelzle/grid-map-raycasting/blob/raisim/src/main.cpp):Result of raycasting using my own rayTest code (https://github.com/mstoelzle/grid-map-raycasting/blob/master/src/main.cpp):
The text was updated successfully, but these errors were encountered: