SMACC2
nav2z_client_tools.hpp
Go to the documentation of this file.
1// Copyright 2021 RobosoftAI Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15/*****************************************************************************************************************
16 *
17 * Authors: Pablo Inigo Blasco, Brett Aldrich
18 *
19 ******************************************************************************************************************/
20#pragma once
21
22#include <vector>
23
24#include <geometry_msgs/msg/pose_stamped.hpp>
25#include <rclcpp/rclcpp.hpp>
26
27namespace cl_nav2z
28{
29geometry_msgs::msg::PoseStamped makePureSpinningSubPlan(
30 const geometry_msgs::msg::PoseStamped & start, double dstRads,
31 std::vector<geometry_msgs::msg::PoseStamped> & plan, double radstep = 0.005);
32
33geometry_msgs::msg::PoseStamped makePureStraightSubPlan(
34 const geometry_msgs::msg::PoseStamped & startOrientedPose, const geometry_msgs::msg::Point & goal,
35 double length, std::vector<geometry_msgs::msg::PoseStamped> & plan);
36
37} // namespace cl_nav2z
geometry_msgs::msg::PoseStamped makePureSpinningSubPlan(const geometry_msgs::msg::PoseStamped &start, double dstRads, std::vector< geometry_msgs::msg::PoseStamped > &plan, double radstep=0.005)
Definition: common.cpp:37
geometry_msgs::msg::PoseStamped makePureStraightSubPlan(const geometry_msgs::msg::PoseStamped &startOrientedPose, const geometry_msgs::msg::Point &goal, double length, std::vector< geometry_msgs::msg::PoseStamped > &plan)
Definition: common.cpp:93