src/experiments/k4/K4ClientPIC/ClientPIC.cpp
void CClientPIC::initialize(char *isd_name)
{
  //connect to daemon
  this->pid = qnx_name_locate(0, isd_name, 0, NULL);
  //ask daemon for the number of motors
  D_GetNumMotors();
  //reset calibrated flags, this shouldn't be necessary but just in case
  ResetCalibrated();
}
//to be used if controls only want to read encoder values
/* this function takes 2 input: PIC Daemon's qnx process name */
to be used if controls only want to read encoder values
this function takes 2 input: PIC Daemon's qnx process name
to be used if controls only want to read encoder values this function takes 2 input : PIC Daemon ' s qnx process name
void CClientPIC::initialize(char *isd_name)
{
  this->pid = qnx_name_locate(0, isd_name, 0, NULL);
  D_GetNumMotors();
  ResetCalibrated();
}
void CClientPIC :: initialize ( char * isd_name ) { this -> pid = qnx_name_locate ( 0 , isd_name , 0 , NULL ) ; D_GetNumMotors ( ) ; ResetCalibrated ( ) ; }
to be used if controls only want to read encoder values
this function takes 2 input: PIC Daemon's qnx process name
to be used if controls only want to read encoder values this function takes 2 input : PIC Daemon ' s qnx process name
//connect to daemon //ask daemon for the number of motors //reset calibrated flags, this shouldn't be necessary but just in case