Defines | Functions

testmotion.cc File Reference

Motion test. More...

#include <trgen.h>
#include <trgenconstr.h>
#include <stdio.h>
Include dependency graph for testmotion.cc:

Defines

#define PASSED   0
#define FAILED   -1

Functions

int test_constraints_work ()
 Constraints sould be double.
int test_create_trajectory ()
 Prepares a trajectory.
int test_append_trajectory ()
 Prepares a trajectory and appends it by another one.
int test_go_trajectory (double apt)
 Prepares a trajectory and appends it by another one.
int main ()

Detailed Description

Motion test.

Author:
Petr Beneš

Motion test: simple test of basic functions for trajectory generation.

Copyright: (c) 2009 CTU Dragons CTU FEE - Department of Control Engineering License: GNU GPL v.2


Define Documentation

#define FAILED   -1
#define PASSED   0

Function Documentation

int main ( void   ) 

Here is the call graph for this function:

int test_append_trajectory (  ) 

Prepares a trajectory and appends it by another one.

Returns:
-1 means failed, 0 means passed

Here is the call graph for this function:

Here is the caller graph for this function:

int test_constraints_work (  ) 

Constraints sould be double.

Returns:
-1 means failed, 0 means passed

Here is the caller graph for this function:

int test_create_trajectory (  ) 

Prepares a trajectory.

Returns:
-1 means failed, 0 means passed

Here is the call graph for this function:

Here is the caller graph for this function:

int test_go_trajectory ( double  apt  ) 

Prepares a trajectory and appends it by another one.

Returns:
-1 means failed, 0 means passed

Here is the call graph for this function:

Here is the caller graph for this function: