Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Simulating 3D scanners and 2D sensors

#1
There are a number of 3D scanners and 2D sensors that are used on robots.  The example stations show a few of the choices.  Currently, there is no way to simulate an area that has been measured, scanned, or imaged.

The paint simulation is close, but it is not a good choice because the shape is conical.

My suggestion is to define a cube that represents the field of view for a camera (or the measurement volume of a scanner).  The simulation would color the triangles inside the cube to a different color.  The triangles should only be colored if they are facing the sensor (within some angle tolerance).  I hope I explained that so it made sense.

Also, there would need to an "association" between the instruction that took the measurement and the simulated "colors in a cube".  For example, if an instruction simulated a measurement and then the target location was updated then the original colors need to be restored and the simulation done at the new target.

Changing the paint simulation to a non-cone shape would be close - but there still needs to be a way to remove the simulation for an instruction.

Thanks for your consideration.
#2
Please, take a look at our 2D & 3D camera simulation examples:

https://robodk.com/doc/en/PythonAPI/exam...#camera-2d
https://robodk.com/doc/en/PythonAPI/exam...-camera-3d
  




Users browsing this thread:
1 Guest(s)