FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void ConnectionDrive::StartAbsolutePositioning
(
const
Encoder
&
enc
,
bool
zd
,
bool
az
)
inline
Definition at line
1373
of file
drivectrl.cc
.
References
Local::az
, and
Local::zd
.
1374
{
1375
if
(az)
SendSdo
(
kNodeAz
,
kSetPosition
, lrint(enc.
az
*
fPosRes
[0]));
1376
if
(zd)
SendSdo
(
kNodeZd
,
kSetPosition
, lrint(enc.
zd
*
fPosRes
[1]));
1377
1378
// Make sure that the status is set correctly already before the first PDO
1379
if
(az)
fStatusAxis
[0] |= 0x02;
1380
if
(zd)
fStatusAxis
[1] |= 0x02;
1381
1382
// FIXME: UpdateDim?
1383
}
ConnectionDrive::fStatusAxis
uint8_t fStatusAxis[2]
Definition:
drivectrl.cc:767
Local::zd
double zd
Definition:
drivectrl.cc:51
ConnectionDrive::fPosRes
uint32_t fPosRes[2]
Definition:
drivectrl.cc:583
ConnectionDrive::kNodeAz
Definition:
drivectrl.cc:513
Local::az
double az
Definition:
drivectrl.cc:52
ConnectionDrive::kNodeZd
Definition:
drivectrl.cc:514
ConnectionDrive::SendSdo
void SendSdo(uint8_t node, uint16_t idx, uint8_t subidx, uint32_t val)
Definition:
drivectrl.cc:1287
ConnectionDrive::kSetPosition
Definition:
drivectrl.cc:573
ConnectionDrive
Generated on Sun Sep 18 2016 20:50:44 for FACT++ by
1.8.11