cuikplotpath.c File Reference

Detailed Description

dot_inline_dotgraph_27.png

Plots a 3d projection of a path, typically optained wiht a planning process or even a smoothed path.

Definition in file cuikplotpath.c.

Functions

int main (int argc, char **arg)
 Main body of the cuikplotpath application. More...
 

Function Documentation

int main ( int  argc,
char **  arg 
)

Main body of the cuikplotpath application.

Use:

  • cuikplotpath problem_name [path_name] xID yID zID

where

  • problem_name is used to load the .world/cuik/tens files necessary to generate the .gcl plot.
  • path_name [optional] The file with the path to plot. If not given the path filename is assumed to be problem_name_path.sol .
  • xID yID zID are the identifier of the variables on which to project. These are indices of system variables, numbered consecutively and without considering dummy ones (these are the ones stored, for instance, in the solution path files).

The problem_name and path_name (if given) are without extension (if given it is removed).

Parameters
argcNumber of elements in the command line that starts the application (i.e., the cuikplotpath command itself and its arguments).
argStrings with the arguments.
Returns
EXIT_SUCCESS (0) if the execution worked out fine and EXIT_FAILURE if not.

Definition at line 68 of file cuikplotpath.c.

References ClosePlot3d(), CreateFileName(), CS_WD_DELETE, CS_WD_GET_SYSTEM_VAR_NAME, CS_WD_GET_SYSTEM_VARS, CS_WD_INIT, DeleteFileName(), DeleteParameters(), DeleteSamples(), Error(), FALSE, GetFileFullName(), InitParametersFromFile(), InitPlot3d(), LoadSamples(), PARAM_EXT, PLOT3D_EXT, PlotSamples(), PRINT_VARIABLE_NAME, and SOL_EXT.