- Added separate drivable motors for four circle H, K, L
- Added a listen mode to commandlog in order to support the batchEditor - Some small fixes to exe* for BatchEditor
This commit is contained in:
16
hkl.c
16
hkl.c
@ -1205,8 +1205,20 @@ ente:
|
||||
|
||||
return 1;
|
||||
}
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
int GetHKLFromAngles(pHKL self, SConnection *pCon, float fHKL[3])
|
||||
{
|
||||
int status;
|
||||
float fAng[4];
|
||||
|
||||
status = GetCurrentPosition(self,pCon,fAng);
|
||||
if(status == 1)
|
||||
{
|
||||
angle2HKL(self,fAng[0], fAng[1], fAng[2], fAng[3],fHKL);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
/*--------------------------------------------------------------------------*/
|
||||
static int GetCommandData(int argc, char *argv[], float fHKL[3],
|
||||
float *fPsi, int *iHamil, SConnection *pCon)
|
||||
|
Reference in New Issue
Block a user