libalmath
1.12
|
00001 /* 00002 ** Author(s): 00003 ** - Chris Kilner 00004 ** - Cyrille Collette 00005 ** - David Gouaillier 00006 ** 00007 ** Copyright (C) 2011 Aldebaran Robotics 00008 */ 00009 00010 00011 #pragma once 00012 #ifndef _LIBALMATH_ALMATH_TOOLS_AVOIDFOOTCOLLISION_H_ 00013 #define _LIBALMATH_ALMATH_TOOLS_AVOIDFOOTCOLLISION_H_ 00014 00015 #include <almath/types/alpose2d.h> 00016 #include <vector> 00017 00018 namespace AL 00019 { 00020 namespace Math 00021 { 00033 const bool avoidFootCollision( 00034 const std::vector<Pose2D>& pLFootBoundingBox, 00035 const std::vector<Pose2D>& pRFootBoundingBox, 00036 const bool& pIsLeftSupport, 00037 Pose2D& pMove); 00038 00039 00050 const bool clipFootWithEllipse( 00051 const float& pMaxFootX, 00052 const float& pMaxFootY, 00053 Pose2D& pMove); 00054 00055 } // namespace Math 00056 } // namespace AL 00057 00058 #endif // _LIBALMATH_ALMATH_TOOLS_AVOIDFOOTCOLLISION_H_ 00059