Robotics StackExchange | Archived questions

How to install a sonar on a servo motor atop a UAV to get range from a target at a given angle?

I want to install a sonar sensor on a servo motor so that I get the range values from the target at the desired angle? I want the sonar to be actuated by the servo motor. I would like to perform the simulation of the same on ROS Gazebo for the Iris Quadrotor model.

Asked by Jaroan on 2019-12-09 04:18:07 UTC

Comments

This seems to be a more general question about physical robot hardware. Could you please elaborate how this relates to ROS?

Asked by mgruhler on 2019-12-09 05:21:07 UTC

I would like to perform the simulation of the same on ROS Gazebo for the Iris Quadrotor model

Asked by Jaroan on 2019-12-09 23:29:33 UTC

So what exactly is the question w.r.t. ROS?

Asked by mgruhler on 2019-12-11 09:08:49 UTC

Is there any plugin for Gazebo that integrates the two devices, sonar and servo motor. If not, how should my approach be to create a new plugin for the same?

Asked by Jaroan on 2019-12-12 01:08:26 UTC

AFAIR, there is no such plugin. You could either model it as two entities, a simple one-D range sensor on an articulated joint, or you write your own plugin, as you suggest. Writing a plugin is documented on the Gazebo wiki

Asked by mgruhler on 2019-12-12 04:24:45 UTC

Alright, thank you very much for your help!

Asked by Jaroan on 2019-12-13 04:19:34 UTC

Answers