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

Modifying dwb controller

asked 2021-08-30 01:12:30 -0500

Adharsh Venkat gravatar image

updated 2021-09-01 02:08:25 -0500

Hello,

Current behavior: If the robot if facing away from the goal/ next waypoint, the path is planned which includes linear and angular motion.

Expected behavior: If the robot is facing away from the goal/ next waypoint, reduce the angle between robot orientation and angle to goal (while setting linear speed to 0) & once the angle is reduced, retrieving the previously set value for linear velocity.

I would like to know how to modify the dwb source code to achieve this? (How does it score trajectory/ how to control the trajectory rollout parameters)

I appreciate the community's help in advance.

Thank you & Cheers!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-02-08 07:23:29 -0500

ljaniec gravatar image

I think this new addition to the Navigation2:

https://navigation.ros.org/tutorials/...

is doing what you wanted to achieve:

Using Rotation Shim Controller

Overview

This tutorial will discuss how to set up your robot to use the RotationShimController to help create intuitive, rotate-in-place, behavior for your robot while starting out to track a path. The goal of this tutorial is to explain to the reader the value of the controller, how to configure it, how to configure the primary controller with it, and finally an example of it in use. (...)

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-08-30 01:12:30 -0500

Seen: 148 times

Last updated: Feb 08 '22