This file checks Dubins' and FSC paths generation (their 'goto' constructors): a path of each type is built to connect two given configurations, and its characteristics (including starting and final configurations) are given.
#ifdef __BORLANDC__
#include <condefs.h>
#endif
#include <iSeeML/fwdPaths>
int main()
{
const double minTurnRadius = 5;
const double minTurnDist = 5;
double x, y, th;
cout << "Enter the starting configuration as x y th "
<< "(in meters and degres): ";
cin >> x >> y >> th;
cout << "Enter the final configuration as x y th (same): ";
cin >> x >> y >> th;
cout << endl;
const double maxCurv = 1 / minTurnRadius;
cout << "\nDubins path connecting " << start << " to "
<< end << "\n is " << DPath << endl;
const double maxCurvDeriv = maxCurv / minTurnDist;
cout << "\nFSC path connecting " << start << " to "
<< end << "\n is " << FPath << endl << endl;
#ifdef WIN32
system(pause);
#endif
return(0);
}
This class defines Dubins' paths, made of circular arcs tangentially connected by line segments,...
Definition: DubinsPath.hpp:26