Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

EMC_TRAJ_STAT Class Reference

#include <emc.hh>

Inheritance diagram for EMC_TRAJ_STAT:

Inheritance graph
[legend]
Collaboration diagram for EMC_TRAJ_STAT:

Collaboration graph
[legend]

Public Methods

 EMC_TRAJ_STAT ()
void update (CMS *cms)

Data Fields

double linearUnits
double angularUnits
double cycleTime
int axes
int mode
int enabled
int inpos
int queue
int activeQueue
int queueFull
int id
int paused
double scale
EmcPose position
EmcPose actualPosition
double velocity
double acceleration
double maxVelocity
double maxAcceleration
EmcPose probedPosition
int probe_index
int probe_polarity
int probe_tripped
int probing
int probeval
int kinematics_type

Constructor & Destructor Documentation

EMC_TRAJ_STAT::EMC_TRAJ_STAT  
 

Definition at line 68 of file emcops.cc.

00068                              :
00069   EMC_TRAJ_STAT_MSG(EMC_TRAJ_STAT_TYPE, sizeof(EMC_TRAJ_STAT))
00070 {
00071   linearUnits = 1.0;
00072   angularUnits = 1.0;
00073   axes = 1;
00074   mode = EMC_TRAJ_MODE_FREE;
00075   enabled = 0;
00076   inpos = 1;
00077   queue = 0;
00078   activeQueue = 0;
00079   queueFull = 0;
00080   id = 0;
00081   paused = 0;
00082 
00083   position.tran.x = 0.0;
00084   position.tran.y = 0.0;
00085   position.tran.z = 0.0;
00086   position.a = 0.0;
00087   position.b = 0.0;
00088   position.c = 0.0;
00089 
00090   actualPosition.tran.x = 0.0;
00091   actualPosition.tran.y = 0.0;
00092   actualPosition.tran.z = 0.0;
00093   actualPosition.a = 0.0;
00094   actualPosition.b = 0.0;
00095   actualPosition.c = 0.0;
00096 
00097   velocity = 1.0;
00098   acceleration = 1.0;
00099   maxVelocity = 1.0;
00100   maxAcceleration = 1.0;
00101 }


Member Function Documentation

void EMC_TRAJ_STAT::update CMS *    cms
 

Reimplemented from EMC_TRAJ_STAT_MSG.

Definition at line 2686 of file emc.cc.

Referenced by EMC_MOTION_STAT::update().

02687 {
02688 
02689         EMC_TRAJ_STAT_MSG::update(cms);
02690         cms->update(linearUnits);
02691         cms->update(angularUnits);
02692         cms->update(cycleTime);
02693         cms->update(axes);
02694         cms->update(mode);
02695         cms->update(enabled);
02696         cms->update(inpos);
02697         cms->update(queue);
02698         cms->update(activeQueue);
02699         cms->update(queueFull);
02700         cms->update(id);
02701         cms->update(paused);
02702         cms->update(scale);
02703         EmcPose_update(cms,&position);
02704         EmcPose_update(cms,&actualPosition);
02705         cms->update(velocity);
02706         cms->update(acceleration);
02707         cms->update(maxVelocity);
02708         cms->update(maxAcceleration);
02709         EmcPose_update(cms,&probedPosition);
02710         cms->update(probe_index);
02711         cms->update(probe_polarity);
02712         cms->update(probe_tripped);
02713         cms->update(probing);
02714         cms->update(probeval);
02715         cms->update(kinematics_type);
02716 
02717 }


Field Documentation

double EMC_TRAJ_STAT::acceleration
 

Definition at line 1647 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::activeQueue
 

Definition at line 1638 of file emc.hh.

Referenced by emcTrajUpdate().

EmcPose EMC_TRAJ_STAT::actualPosition
 

Definition at line 1645 of file emc.hh.

Referenced by emcTrajUpdate().

double EMC_TRAJ_STAT::angularUnits
 

Definition at line 1630 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::axes
 

Definition at line 1632 of file emc.hh.

Referenced by emcTrajUpdate().

double EMC_TRAJ_STAT::cycleTime
 

Definition at line 1631 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::enabled
 

Definition at line 1634 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::id
 

Definition at line 1640 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::inpos
 

Definition at line 1636 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::kinematics_type
 

Definition at line 1657 of file emc.hh.

Referenced by emcTrajUpdate().

double EMC_TRAJ_STAT::linearUnits
 

Definition at line 1629 of file emc.hh.

Referenced by emcTrajUpdate().

double EMC_TRAJ_STAT::maxAcceleration
 

Definition at line 1649 of file emc.hh.

Referenced by emcTrajUpdate().

double EMC_TRAJ_STAT::maxVelocity
 

Definition at line 1648 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::mode
 

Definition at line 1633 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::paused
 

Definition at line 1641 of file emc.hh.

Referenced by emcTrajUpdate().

EmcPose EMC_TRAJ_STAT::position
 

Definition at line 1644 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::probe_index
 

Definition at line 1652 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::probe_polarity
 

Definition at line 1653 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::probe_tripped
 

Definition at line 1654 of file emc.hh.

Referenced by emcTrajUpdate().

EmcPose EMC_TRAJ_STAT::probedPosition
 

Definition at line 1651 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::probeval
 

Definition at line 1656 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::probing
 

Definition at line 1655 of file emc.hh.

int EMC_TRAJ_STAT::queue
 

Definition at line 1637 of file emc.hh.

Referenced by emcTrajUpdate().

int EMC_TRAJ_STAT::queueFull
 

Definition at line 1639 of file emc.hh.

Referenced by emcTrajUpdate().

double EMC_TRAJ_STAT::scale
 

Definition at line 1642 of file emc.hh.

Referenced by emcTrajUpdate().

double EMC_TRAJ_STAT::velocity
 

Definition at line 1646 of file emc.hh.

Referenced by emcTrajUpdate().


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 15:29:08 2001 for EMC by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001