We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6275e5e commit ac6e7abCopy full SHA for ac6e7ab
1 file changed
src/bitbots_navigation/bitbots_path_planning/src/controller.rs
@@ -149,6 +149,11 @@ impl Controller {
149
let local_heading_vector_x = local_heading.cos();
150
let local_heading_vector_y = local_heading.sin();
151
152
- Ok((cmd_vel, PointStamped::default()))
+ let carrot_point = PointStamped {
153
+ header: path.header.clone(),
154
+ point: goal_pose.position.clone(),
155
+ };
156
+
157
+ Ok((cmd_vel, carrot_point))
158
}
159
0 commit comments