14 #include <geometry_msgs/Pose.h> 15 #include <geometry_msgs/PoseStamped.h> 34 double roll(geometry_msgs::Pose pose);
35 double roll(geometry_msgs::PoseStamped pose);
43 double pitch(geometry_msgs::Pose pose);
44 double pitch(geometry_msgs::PoseStamped pose);
52 double yaw(geometry_msgs::Pose pose);
53 double yaw(geometry_msgs::PoseStamped pose);
61 double distance2D(
double ax,
double ay,
double bx,
double by);
62 double distance2D(geometry_msgs::Point a, geometry_msgs::Point b = geometry_msgs::Point());
63 double distance2D(geometry_msgs::Pose a, geometry_msgs::Pose b = geometry_msgs::Pose());
73 double distance3D(
double ax,
double ay,
double az,
double bx,
double by,
double bz);
74 double distance3D(geometry_msgs::Point a, geometry_msgs::Point b = geometry_msgs::Point());
75 double distance3D(geometry_msgs::Pose a, geometry_msgs::Pose b = geometry_msgs::Pose());
84 double heading(geometry_msgs::Point p);
85 double heading(geometry_msgs::Pose p);
95 double heading(geometry_msgs::Point a, geometry_msgs::Point b);
96 double heading(geometry_msgs::Pose a, geometry_msgs::Pose b);
106 double minAngle(geometry_msgs::Quaternion a, geometry_msgs::Quaternion b);
107 double minAngle(geometry_msgs::Pose a, geometry_msgs::Pose b);
117 bool sameFrame(
const std::string& frame_a,
const std::string& frame_b);
118 bool sameFrame(
const geometry_msgs::PoseStamped& a,
const geometry_msgs::PoseStamped& b);
130 double pointSegmentDistance(
double px,
double py,
double s1x,
double s1y,
double s2x,
double s2y);
148 double s1x,
double s1y,
double s2x,
double s2y,
149 double& ix,
double& iy,
double& distance);
164 double& ix,
double& iy,
double& distance);
double wrapAngle(double a)
double pitch(const tf::Transform &tf)
double yaw(const tf::Transform &tf)
double roll(const tf::Transform &tf)
bool sameFrame(const std::string &frame_a, const std::string &frame_b)
bool raySegmentIntersection(double r1x, double r1y, double r2x, double r2y, double s1x, double s1y, double s2x, double s2y, double &ix, double &iy, double &distance)
double distance2D(double ax, double ay, double bx, double by)
bool rayCircleIntersection(double rx, double ry, double cx, double cy, double radius, double &ix, double &iy, double &distance)
double pointSegmentDistance(double px, double py, double s1x, double s1y, double s2x, double s2y)
double minAngle(geometry_msgs::Quaternion a, geometry_msgs::Quaternion b)
double heading(geometry_msgs::Point p)
double distance3D(double ax, double ay, double az, double bx, double by, double bz)