ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to implement track/following algorythm in ROS?

asked 2021-12-27 11:04:28 -0600

LuisCa gravatar image

Hi! Im working on a new porject in ROS, which consist of controlling an USV robot (unmanned surface vehicle). The things is I have the simulating model provided by Heron (https://packages.clearpathrobotics.co...), but what I want to do is implement the most simple planner and path following tracker to see if it really works. Im quite new using ROS, so I don't know where to start, if there is any example or code provided. I've already investigated, and I've seen the Pure Pursuit could be easy to apply, but again, I dont know how. I am aware that it is a huge question and really hard to explain everything but I would really appreciate if someone could help me. Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-12-27 16:55:50 -0600

osilva gravatar image

Hi @LuisCa

I'd start first with the Clearpath Robotics tutorials found here: https://www.clearpathrobotics.com/ass...

In the example, inspection simulation:

roslaunch cpr_inspection_gazebo inspection_world.launch platform:=heron

the USV performs inspection and navigation tasks. You can further see how is done in the repo: https://github.com/clearpathrobotics/... and https://github.com/orgs/heron/reposit...

Specific for navigation take a look at this: https://github.com/heron/heron_simula...

<!-- Translate Twist message from twist_server to Wrench message -->
<node pkg="heron_gazebo" type="twist_translate" name="twist_translate">
         <rosparam file="$(find heron_gazebo)/config/heron_controller.yaml" />
   <param name="cov_limits/velocity" value="0.01" />
</node>

<!-- Translates navsat/velocity from Vector3Stamped to TwistStamped on navsat/vel -->
<node pkg="heron_gazebo" type="navsat_vel_translate" name="navvel_translate" />

<node pkg="heron_gazebo" type="activate_control_service" name="activate_control_service" />
edit flag offensive delete link more

Question Tools

Stats

Asked: 2021-12-27 11:04:28 -0600

Seen: 103 times

Last updated: Dec 27 '21