How do I replicate an inductive sensor (analog input) using the Gazebo simulator?

asked 2021-11-22 13:52:19 -0500

maximillius gravatar image

I'm interested in creating a Gazebo simulation environment where the robot can detect metallic rails on the floor to navigate. There is a gradient (i.e. as I move the sensor away from the rails, the reading value reduces linearly) with the analog sensor readings.

I have searched for sensors that I may use with Gazebo but there is nothing available for this purpose.

One possible way is to use a camera pointing downward and use the intensity values of the color, after I replace the rails with a white line with fading intensity on the edges. That may not be the best approach for this. Is there a better way?

edit retag flag offensive close merge delete

Comments

Very cool project, I have seen a different approach using costmap to simulate the intensities, and I found this paper for a rover designed for land mine detection: https://rc.library.uta.edu/uta-ir/bit...

osilva gravatar image osilva  ( 2021-11-22 15:01:44 -0500 )edit