libmove3d
3.13.0
|
gradient descent algorithm More...
#include "Util-pkg.h"
#include "P3d-pkg.h"
#include "Localpath-pkg.h"
#include "Collision-pkg.h"
#include "Planner-pkg.h"
Functions | |
int | p3d_projectedGradientDescent (p3d_rob *rob, p3d_strippoint *sp, double d0, configPt q, int *ntest) |
calculate the new strippoint configuration with a gradient descent method | |
int | p3d_quickGradientDescent (p3d_rob *rob, p3d_strippoint *sp, double d0, configPt q, int *ntest) |
descend the gradient without projection |
gradient descent algorithm
Set of functions for gradient calculation, projection on the configuration space and gradient descent
int p3d_projectedGradientDescent | ( | p3d_rob * | rob, |
p3d_strippoint * | sp, | ||
double | d0, | ||
configPt | q, | ||
int * | ntest | ||
) |
calculate the new strippoint configuration with a gradient descent method
rob | the robot |
sp | the strippoint |
d0 | minimal distance from obstacles |
q | the new config.(must be allocated) |
ntest | number of collision test is added |
p3d_quickGradientDescent | ( | p3d_rob * | rob, |
p3d_strippoint * | sp, | ||
double | d0, | ||
configPt | q, | ||
int * | ntest | ||
) |
descend the gradient without projection
rob | the robot |
sp | the strippoint |
d0 | minimal distance from obstacles |
q | the new config.(must be allocated) |
ntest | number of collision test is added |