Functions

balet.cc File Reference

#include <math.h>
#include "trgen.h"
#include "balet.h"
Include dependency graph for balet.cc:

Functions

double balet (const Pos &rp, const Pos &mp, const struct balet_params &k, Pos &speed)
 Controller for reference trajectory tracking.

Function Documentation

double balet ( const Pos rp,
const Pos mp,
const struct balet_params k,
Pos speed 
)

Controller for reference trajectory tracking.

Parameters:
rp Requested position (and speeds)
mp Measured position (without speed)
k Controller constants
speed Output of the controller (forward and angular speed)
Returns:
distance from reference position (angle is not counted)

Here is the call graph for this function: