gclib  2.0.8
Communications API for Galil controllers and PLCs
contour.cpp File Reference
#include "examples.h"
#include <iostream>
#include <fstream>
#include <string>
#include <vector>

Go to the source code of this file.

Functions

bool load_buf (GCon g, const std::vector< int > &positions_A, const std::vector< int > &positions_B, int capacity, int &cmd)
 Loads contour buffer with commands from the given text file.
 
std::vector< int > csv_to_vector (ifstream &is)
 Converts a file of comma separated values to a vector.
 
GReturn contour (GCon g, char *fileA, char *fileB)
 Record user's training and plays back training through contour mode. More...
 

Detailed Description

Function calls for the Contour Example project

Definition in file contour.cpp.