![]() |
Hekateros
3.4.3
RoadNarrows Robotics Robot Arm Project
|
Optical limit switch. More...
#include <hekOptical.h>
Public Member Functions | |
| HekOpticalLimit_T | operator= (const HekOpticalLimit_T &rhs) |
| Assignment operator. More... | |
| void | clear () |
Public Attributes | |
| byte_t | m_uBit |
| i/o expander bit position | |
| double | m_fMinEdgePos |
| mininum edge position of occlusion band | |
| double | m_fMinBlackPos |
| minimum complete occlusion position | |
| double | m_fCenterPos |
| center of operation position | |
| double | m_fMaxBlackPos |
| maximum complete occlusion position | |
| double | m_fMaxEdgePos |
| maxinum edge position of occlusion band | |
Optical limit switch.
An optical limit switch is a binary valued detector that is either completely on ("closed") or completely off ("open"). The switch is composed of an IR transmitter and a photodiode. When the photodiode detects the IR beam, the circuit is closed. When the beam is blocked (occluded)the circuit is open. For Hekateros, the occluson bands serve one of two purposes:
For each Hekateros joint with optical limits, a physical occlusion band is integrated into robotic structure.
To read the state of an optical switch, the signal is feed to an I2C enabled I/O expander. Hekateros software can read the values via I2C.
Definition at line 148 of file hekOptical.h.
|
inline |
Assignment operator.
| rhs | Right hand side object. |
Definition at line 157 of file hekOptical.h.
References m_fCenterPos, m_fMaxBlackPos, m_fMaxEdgePos, m_fMinBlackPos, m_fMinEdgePos, and m_uBit.