rapid
A ROS robotics library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
collision_checks.h
Go to the documentation of this file.
1 #ifndef _RAPID_COLLISION_COLLISION_CHECKS_H_
2 #define _RAPID_COLLISION_COLLISION_CHECKS_H_
3 
4 #include "geometry_msgs/Pose.h"
5 #include "geometry_msgs/Vector3.h"
6 
7 namespace rapid {
17 //
20 bool AreObbsInCollision(const geometry_msgs::Pose& pose1,
21  const geometry_msgs::Vector3& scale1,
22  const geometry_msgs::Pose& pose2,
23  const geometry_msgs::Vector3& scale2);
24 } // namespace rapid
25 
26 #endif // _RAPID_COLLISION_COLLISION_CHECKS_H_
bool AreObbsInCollision(const geometry_msgs::Pose &pose1, const geometry_msgs::Vector3 &scale1, const geometry_msgs::Pose &pose2, const geometry_msgs::Vector3 &scale2)
Returns true if the given oriented bounding boxes are colliding.