simulink 3d: problem with sensors:(like example Lidar from Mathworks)
조회 수: 1 (최근 30일)
이전 댓글 표시
Good morning,
I have some issues with simulink 3d. In particular I was focusing in recreating an environnement similar to the one present int he example with the Lidar sensors.
Unfortunately I am having some issues and the comportement seems to vary in different environnement without any explication: sometimes the sensors don't see the walls and give always a value of -1 when in the environnement I see that the sensor should have detected a wall.
Have you received other questions about the topic? Is it a bug of the 3d environnement?
Thanks,
Davide
댓글 수: 0
답변 (1개)
Muhammet Dabak
2020년 11월 19일
That example which Matlab gave to us is obtained with LinePickSensor.
If you create the scene and open the vrfigure of that scene.
That sensor's isActive flag is 1 when collision occurs, else it is 0.
The problem is that if the walls are not created from simple geometries, those obstacles are seen as boundingboxes for that sensor.
I did not understand where -1 comes from to you.
댓글 수: 0
참고 항목
카테고리
Robotics and Autonomous Systems
Simulink 3D Animation
Classic Virtual Reality World
Interact with Virtual Reality Worlds
Help Center 및 File Exchange에서 Interact with Virtual Reality Worlds에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!