Instrument Neutral Distributed Interface INDI  1.9.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LX200_OnStep Class Reference

#include <lx200_OnStep.h>

Inheritance diagram for LX200_OnStep:
LX200Generic INDI::WeatherInterface INDI::RotatorInterface LX200Telescope INDI::Telescope INDI::GuiderInterface INDI::FocuserInterface INDI::DefaultDevice INDI::BaseDevice

Public Member Functions

 LX200_OnStep ()
 
 ~LX200_OnStep ()
 
virtual const char * getDefaultName () override
 
virtual bool initProperties () override
 Called to initialize basic properties required all the time. More...
 
virtual void ISGetProperties (const char *dev) override
 define the driver's properties to the client. Usually, only a minimum set of properties are defined to the client in this function if the device is in disconnected state. Those properties should be enough to enable the client to establish a connection to the device. In addition to CONNECT/DISCONNECT, such properties may include port name, IP address, etc. You should check if the device is already connected, and if this is true, then you must define the remainder of the the properties to the client in this function. Otherwise, the remainder of the driver's properties are defined to the client in updateProperties() function which is called when a client connects/disconnects from a device. More...
 
virtual bool updateProperties () override
 Called when connected state changes, to add/remove properties. More...
 
virtual bool ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) override
 Process the client newNumber command. More...
 
virtual bool ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) override
 Process the client newSwitch command. More...
 
- Public Member Functions inherited from LX200Generic
 LX200Generic ()
 
virtual ~LX200Generic ()=default
 
- Public Member Functions inherited from LX200Telescope
 LX200Telescope ()
 
uint32_t getLX200Capability () const
 
void setLX200Capability (uint32_t cap)
 
virtual const char * getDriverName () override
 
virtual bool Handshake () override
 perform handshake with device to check communication More...
 
virtual bool ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) override
 Process the client newSwitch command. More...
 
void updateFocusTimer ()
 
- Public Member Functions inherited from INDI::Telescope
 Telescope ()
 
virtual ~Telescope ()
 
virtual bool ISSnoopDevice (XMLEle *root) override
 Process a snoop event from INDI server. This function is called when a snooped property is updated in a snooped driver. More...
 
uint32_t GetTelescopeCapability () const
 GetTelescopeCapability returns the capability of the Telescope. More...
 
void SetTelescopeCapability (uint32_t cap, uint8_t slewRateCount=0)
 SetTelescopeCapability sets the Telescope capabilities. All capabilities must be initialized. More...
 
bool CanGOTO ()
 
bool CanSync ()
 
bool CanAbort ()
 
bool CanPark ()
 
bool CanControlTrack ()
 
bool HasTime ()
 
bool HasLocation ()
 
bool HasPierSide ()
 
bool HasPierSideSimulation ()
 
bool CanTrackSatellite ()
 
bool HasPECState ()
 
bool HasTrackMode ()
 
bool HasTrackRate ()
 
virtual void TimerHit () override
 Called when setTimer() time is up. More...
 
void SetParkDataType (TelescopeParkData type)
 setParkDataType Sets the type of parking data stored in the park data file and presented to the user. More...
 
bool InitPark ()
 InitPark Loads parking data (stored in ~/.indi/ParkData.xml) that contains parking status and parking position. More...
 
bool isParked ()
 isParked is mount currently parked? More...
 
void SetParked (bool isparked)
 SetParked Change the mount parking status. The data park file (stored in ~/.indi/ParkData.xml) is updated in the process. More...
 
double GetAxis1Park () const
 
double GetAxis1ParkDefault () const
 
double GetAxis2Park () const
 
double GetAxis2ParkDefault () const
 
void SetAxis1Park (double value)
 SetRAPark Set current RA/AZ parking position. The data park file (stored in ~/.indi/ParkData.xml) is updated in the process. More...
 
void SetAxis1ParkDefault (double steps)
 SetRAPark Set default RA/AZ parking position. More...
 
void SetAxis2Park (double steps)
 SetDEPark Set current DEC/ALT parking position. The data park file (stored in ~/.indi/ParkData.xml) is updated in the process. More...
 
void SetAxis2ParkDefault (double steps)
 SetDEParkDefault Set default DEC/ALT parking position. More...
 
bool isLocked () const
 isLocked is mount currently locked? More...
 
void setTelescopeConnection (const uint8_t &value)
 setTelescopeConnection Set telescope connection mode. Child class should call this in the constructor before Telescope registers any connection interfaces More...
 
uint8_t getTelescopeConnection () const
 
void setPierSide (TelescopePierSide side)
 
TelescopePierSide getPierSide ()
 
void setPECState (TelescopePECState state)
 
TelescopePECState getPECState ()
 
- Public Member Functions inherited from INDI::DefaultDevice
 DefaultDevice ()
 
virtual ~DefaultDevice () override=default
 
void addAuxControls ()
 Add Debug, Simulation, and Configuration options to the driver. More...
 
void addDebugControl ()
 Add Debug control to the driver. More...
 
void addSimulationControl ()
 Add Simulation control to the driver. More...
 
void addConfigurationControl ()
 Add Configuration control to the driver. More...
 
void addPollPeriodControl ()
 Add Polling period control to the driver. More...
 
void resetProperties ()
 Set all properties to IDLE state. More...
 
void defineNumber (INumberVectorProperty *nvp) __attribute__((deprecated))
 Define number vector to client & register it. Alternatively, IDDefNumber can be used but the property will not get registered and the driver will not be able to save configuration files. More...
 
void defineProperty (INumberVectorProperty *property)
 
void defineText (ITextVectorProperty *tvp) __attribute__((deprecated))
 Define text vector to client & register it. Alternatively, IDDefText can be used but the property will not get registered and the driver will not be able to save configuration files. More...
 
void defineProperty (ITextVectorProperty *property)
 
void defineSwitch (ISwitchVectorProperty *svp) __attribute__((deprecated))
 Define switch vector to client & register it. Alternatively, IDDefswitch can be used but the property will not get registered and the driver will not be able to save configuration files. More...
 
void defineProperty (ISwitchVectorProperty *property)
 
void defineLight (ILightVectorProperty *lvp) __attribute__((deprecated))
 Define light vector to client & register it. Alternatively, IDDeflight can be used but the property will not get registered and the driver will not be able to save configuration files. More...
 
void defineProperty (ILightVectorProperty *property)
 
void defineBLOB (IBLOBVectorProperty *bvp) __attribute__((deprecated))
 Define BLOB vector to client & register it. Alternatively, IDDefBLOB can be used but the property will not get registered and the driver will not be able to save configuration files. More...
 
void defineProperty (IBLOBVectorProperty *property)
 
void defineProperty (INDI::Property &property)
 
virtual bool deleteProperty (const char *propertyName)
 Delete a property and unregister it. It will also be deleted from all clients. More...
 
virtual void setConnected (bool status, IPState state=IPS_OK, const char *msg=nullptr)
 Set connection switch status in the client. More...
 
int SetTimer (uint32_t ms)
 Set a timer to call the function TimerHit after ms milliseconds. More...
 
void RemoveTimer (int id)
 Remove timer added with SetTimer. More...
 
virtual const char * getDriverExec ()
 
void setVersion (uint16_t vMajor, uint16_t vMinor)
 Set driver version information to be defined in DRIVER_INFO property as vMajor.vMinor. More...
 
uint16_t getMajorVersion () const
 
uint16_t getMinorVersion () const
 
virtual bool ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n)
 Process the client newBLOB command. More...
 
virtual uint16_t getDriverInterface () override
 
void setDriverInterface (uint16_t value)
 setInterface Set driver interface. By default the driver interface is set to GENERAL_DEVICE. You may send an ORed list of DeviceInterface values. More...
 
- Public Member Functions inherited from INDI::BaseDevice
 BaseDevice ()
 
virtual ~BaseDevice ()
 
INDI::PropertyView< INumber > * getNumber (const char *name) const
 
INDI::PropertyView< IText > * getText (const char *name) const
 
INDI::PropertyView< ISwitch > * getSwitch (const char *name) const
 
INDI::PropertyView< ILight > * getLight (const char *name) const
 
INDI::PropertyView< IBLOB > * getBLOB (const char *name) const
 
IPState getPropertyState (const char *name) const
 
IPerm getPropertyPermission (const char *name) const
 
void registerProperty (void *p, INDI_PROPERTY_TYPE type)
 
void registerProperty (ITextVectorProperty *property)
 
void registerProperty (INumberVectorProperty *property)
 
void registerProperty (ISwitchVectorProperty *property)
 
void registerProperty (ILightVectorProperty *property)
 
void registerProperty (IBLOBVectorProperty *property)
 
void registerProperty (INDI::PropertyView< IText > *property)
 
void registerProperty (INDI::PropertyView< INumber > *property)
 
void registerProperty (INDI::PropertyView< ISwitch > *property)
 
void registerProperty (INDI::PropertyView< ILight > *property)
 
void registerProperty (INDI::PropertyView< IBLOB > *property)
 
void registerProperty (INDI::Property &property)
 
int removeProperty (const char *name, char *errmsg)
 Remove a property. More...
 
void * getRawProperty (const char *name, INDI_PROPERTY_TYPE type=INDI_UNKNOWN) const
 Return a property and its type given its name. More...
 
Property getProperty (const char *name, INDI_PROPERTY_TYPE type=INDI_UNKNOWN) const
 Return a property and its type given its name. More...
 
Properties getProperties ()
 Return a list of all properties in the device. More...
 
const Properties getProperties () const
 
void addMessage (const std::string &msg)
 Add message to the driver's message queue. More...
 
void checkMessage (XMLEle *root)
 
void doMessage (XMLEle *msg)
 
const std::string & messageQueue (size_t index) const
 
const std::string & lastMessage () const
 
bool isConnected () const
 
void setMediator (INDI::BaseMediator *mediator)
 Set the driver's mediator to receive notification of news devices and updated property values. More...
 
INDI::BaseMediatorgetMediator () const
 
void setDeviceName (const char *dev)
 Set the device name. More...
 
const char * getDeviceName () const
 
bool isDeviceNameMatch (const char *otherName) const
 Check that the device name matches the argument. More...
 
bool isDeviceNameMatch (const std::string &otherName) const
 Check that the device name matches the argument. More...
 
const char * getDriverName () const
 
const char * getDriverExec () const
 
const char * getDriverVersion () const
 
bool buildSkeleton (const char *filename)
 Build driver properties from a skeleton file. More...
 
int buildProp (XMLEle *root, char *errmsg)
 Build a property given the supplied XML element (defXXX) More...
 
int setValue (XMLEle *root, char *errmsg)
 handle SetXXX commands from client More...
 
int setBLOB (IBLOBVectorProperty *pp, XMLEle *root, char *errmsg)
 Parse and store BLOB in the respective vector. More...
 
- Public Member Functions inherited from INDI::GuiderInterface
virtual void GuideComplete (INDI_EQ_AXIS axis)
 Call GuideComplete once the guiding pulse is complete. More...
 
- Public Member Functions inherited from INDI::FocuserInterface
uint32_t GetCapability () const
 GetFocuserCapability returns the capability of the focuser. More...
 
void SetCapability (uint32_t cap)
 FI::SetCapability sets the focuser capabilities. All capabilities must be initialized. More...
 
bool CanAbsMove ()
 
bool CanRelMove ()
 
bool CanAbort ()
 
bool CanReverse ()
 
bool CanSync ()
 
bool HasVariableSpeed ()
 
bool HasBacklash ()
 
- Public Member Functions inherited from INDI::RotatorInterface
uint32_t GetCapability () const
 GetRotatorCapability returns the capability of the Rotator. More...
 
void SetCapability (uint32_t cap)
 SetRotatorCapability sets the Rotator capabilities. All capabilities must be initialized. More...
 
bool CanAbort ()
 
bool CanHome ()
 
bool CanSync ()
 
bool CanReverse ()
 
bool HasBacklash ()
 

Protected Member Functions

virtual void getBasicData () override
 
virtual bool Park () override
 Park the telescope to its home position. More...
 
virtual bool UnPark () override
 Unpark the telescope if already parked. More...
 
virtual bool SetCurrentPark () override
 SetCurrentPark Set current coordinates/encoders value as the desired parking position. More...
 
virtual bool SetDefaultPark () override
 SetDefaultPark Set default coordinates/encoders value as the desired parking position. More...
 
virtual bool SetTrackEnabled (bool enabled) override
 SetTrackEnabled Engages or disengages mount tracking. If there are no tracking modes available, it is assumed sidereal. Otherwise, whatever tracking mode should be activated or deactivated accordingly. More...
 
virtual bool updateLocation (double latitude, double longitude, double elevation) override
 Update telescope location settings. More...
 
virtual bool setLocalDate (uint8_t days, uint8_t months, uint16_t years) override
 
virtual bool ReadScopeStatus () override
 Read telescope status. More...
 
virtual int setSiteLongitude (int fd, double Long)
 
virtual int setSiteLatitude (int fd, double Long)
 
virtual bool SetTrackRate (double raRate, double deRate) override
 SetTrackRate Set custom tracking rates. More...
 
virtual void slewError (int slewCode) override
 
virtual bool Sync (double ra, double dec) override
 Set the telescope current RA and DEC coordinates to the supplied RA and DEC coordinates. More...
 
virtual bool saveConfigItems (FILE *fp) override
 saveConfigItems Save parameters ranges in the config file. More...
 
virtual void Init_Outputs ()
 
virtual bool sendScopeTime () override
 
virtual bool sendScopeLocation () override
 
IPState MoveFocuser (FocusDirection dir, int speed, uint16_t duration) override
 MoveFocuser the focuser in a particular direction with a specific speed for a finite duration. More...
 
IPState MoveAbsFocuser (uint32_t targetTicks) override
 MoveFocuser the focuser to an absolute position. More...
 
IPState MoveRelFocuser (FocusDirection dir, uint32_t ticks) override
 MoveFocuser the focuser to an relative position. More...
 
bool AbortFocuser () override
 AbortFocuser all focus motion. More...
 
IPState MoveRotator (double angle) override
 MoveRotator Go to specific angle. More...
 
IPState HomeRotator () override
 HomeRotator Go to home position. More...
 
bool AbortRotator () override
 AbortRotator Abort all motion. More...
 
bool SetRotatorBacklash (int32_t steps) override
 SetRotatorBacklash Set the Rotatorer backlash compensation value. More...
 
bool SetRotatorBacklashEnabled (bool enabled) override
 SetRotatorBacklashEnabled Enables or disables the Rotator backlash compensation. More...
 
IPState StopPECPlayback (int axis)
 
IPState StartPECPlayback (int axis)
 
IPState ClearPECBuffer (int axis)
 
IPState StartPECRecord (int axis)
 
IPState SavePECBuffer (int axis)
 
IPState PECStatus (int axis)
 
IPState ReadPECBuffer (int axis)
 
IPState WritePECBuffer (int axis)
 
bool ISPECRecorded (int axis)
 
IPState AlignStartGeometric (int stars)
 
IPState AlignAddStar ()
 
IPState AlignDone ()
 
IPState AlignWrite ()
 
virtual bool UpdateAlignStatus ()
 
virtual bool UpdateAlignErr ()
 
IPState OSEnableOutput (int output)
 
IPState OSDisableOutput (int output)
 
bool OSGetOutputState (int output)
 
bool sendOnStepCommand (const char *cmd)
 
bool sendOnStepCommandBlind (const char *cmd)
 
int getCommandSingleCharResponse (int fd, char *data, const char *cmd)
 
int getCommandSingleCharErrorOrLongResponse (int fd, char *data, const char *cmd)
 
int setMaxElevationLimit (int fd, int max)
 
void OSUpdateFocuser ()
 
void OSUpdateRotator ()
 
virtual IPState updateWeather () override
 updateWeather Update weather conditions from device or service. The function should not change the state of any property in the device as this is handled by Weather. It should only update the raw values. More...
 
- Protected Member Functions inherited from LX200Telescope
virtual bool SetSlewRate (int index) override
 SetSlewRate Set desired slew rate index. More...
 
virtual bool SetTrackMode (uint8_t mode) override
 SetTrackMode Set active tracking mode. Do not change track state. More...
 
virtual bool MoveNS (INDI_DIR_NS dir, TelescopeMotionCommand command) override
 Start or Stop the telescope motion in the direction dir. More...
 
virtual bool MoveWE (INDI_DIR_WE dir, TelescopeMotionCommand command) override
 Move the telescope in the direction dir. More...
 
virtual bool Abort () override
 Abort any telescope motion including tracking if possible. More...
 
virtual bool updateTime (ln_date *utc, double utc_offset) override
 Update telescope time, date, and UTC offset. More...
 
virtual IPState GuideNorth (uint32_t ms) override
 Guide north for ms milliseconds. North is defined as DEC+. More...
 
virtual IPState GuideSouth (uint32_t ms) override
 Guide south for ms milliseconds. South is defined as DEC-. More...
 
virtual IPState GuideEast (uint32_t ms) override
 Guide east for ms milliseconds. East is defined as RA+. More...
 
virtual IPState GuideWest (uint32_t ms) override
 Guide west for ms milliseconds. West is defined as RA-. More...
 
virtual int SendPulseCmd (int8_t direction, uint32_t duration_msec)
 
virtual bool Goto (double ra, double dec) override
 Move the scope to the supplied RA and DEC coordinates. More...
 
virtual bool isSlewComplete ()
 
virtual bool checkConnection ()
 
virtual void debugTriggered (bool enable) override
 Inform driver that the debug option was triggered. This function is called after setDebug is triggered by the client. Reimplement this function if your driver needs to take specific action after debug is enabled/disabled. Otherwise, you can use isDebug() to check if simulation is enabled or disabled. More...
 
virtual bool getLocalDate (char *dateString)
 
virtual bool getLocalTime (char *timeString)
 
virtual bool setLocalTime24 (uint8_t hour, uint8_t minute, uint8_t second)
 
virtual bool setUTCOffset (double offset)
 
virtual bool getUTFOffset (double *offset)
 
void getAlignment ()
 
bool updateSlewRate (int index)
 
void mountSim ()
 
virtual bool ReverseFocuser (bool enabled) override
 ReverseFocuser Reverse focuser motion direction. More...
 
virtual bool SetFocuserSpeed (int speed) override
 SetFocuserSpeed Set Focuser speed. More...
 
void guideTimeoutNS ()
 
void guideTimeoutWE ()
 
- Protected Member Functions inherited from INDI::Telescope
void NewRaDec (double ra, double dec)
 The child class calls this function when it has updates. More...
 
virtual int AddTrackMode (const char *name, const char *label, bool isDefault=false)
 AddTrackMode. More...
 
void updateObserverLocation (double latitude, double longitude, double elevation)
 Update location settings of the observer. More...
 
virtual bool SetParkPosition (double Axis1Value, double Axis2Value)
 SetParkPosition Set desired parking position to the supplied value. This ONLY sets the desired park position value and does not perform parking. More...
 
bool callHandshake ()
 callHandshake Helper function that sets the port file descriptor before calling the actual Handshake function implenented in drivers More...
 
void processNSWE (double mag, double angle)
 
void processJoystick (const char *joystick_n, double mag, double angle)
 
void processAxis (const char *axis_n, double value)
 
void processSlewPresets (double mag, double angle)
 
void processButton (const char *button_n, ISState state)
 
TelescopePierSide expectedPierSide (double ra)
 Calculate the expected pier side for scopes that do not report this property themselves. More...
 
bool LoadScopeConfig ()
 Load scope settings from XML files. More...
 
bool HasDefaultScopeConfig ()
 Load scope settings from XML files. More...
 
bool UpdateScopeConfig ()
 Save scope settings to XML files. More...
 
std::string GetHomeDirectory () const
 Validate a file name. More...
 
int GetScopeConfigIndex () const
 Get the scope config index. More...
 
bool CheckFile (const std::string &file_name, bool writable) const
 Check if a file exists and it is readable. More...
 
void sendTimeFromSystem ()
 
bool getSimulatePierSide () const
 
void setSimulatePierSide (bool value)
 
const char * getPierSideStr (TelescopePierSide ps)
 
const char * LoadParkData ()
 
bool WriteParkData ()
 
bool PurgeParkData ()
 
- Protected Member Functions inherited from INDI::DefaultDevice
void setDynamicPropertiesBehavior (bool defineEnabled, bool deleteEnabled)
 setDynamicPropertiesBehavior controls handling of dynamic properties. Dyanmic properties are those generated from an external skeleton XML file. By default all properties, including dynamic properties, are defined to the client in ISGetProperties(). Furthermore, when ┼▒deleteProperty(properyName) is called, the dynamic property is deleted by default, and can only be restored by calling buildSkeleton(filename) again. However, it is sometimes desirable to skip the definition of the dynamic properties on startup and delegate this task to the child class. To control this behavior, set enabled to false. More...
 
virtual bool loadConfig (bool silent=false, const char *property=nullptr)
 Load the last saved configuration file. More...
 
virtual bool saveConfig (bool silent=false, const char *property=nullptr)
 Save the current properties in a configuration file. More...
 
virtual bool purgeConfig ()
 purgeConfig Remove config file from disk. More...
 
virtual bool saveAllConfigItems (FILE *fp)
 saveAllConfigItems Save all the drivers' properties in the configuration file More...
 
virtual bool loadDefaultConfig ()
 Load the default configuration file. More...
 
void setDebug (bool enable)
 Toggle driver debug status A driver can be more verbose if Debug option is enabled by the client. More...
 
void setSimulation (bool enable)
 Toggle driver simulation status A driver can run in simulation mode if Simulation option is enabled by the client. More...
 
virtual void simulationTriggered (bool enable)
 Inform driver that the simulation option was triggered. This function is called after setSimulation is triggered by the client. Reimplement this function if your driver needs to take specific action after simulation is enabled/disabled. Otherwise, you can use isSimulation() to check if simulation is enabled or disabled. More...
 
bool isDebug () const
 
bool isSimulation () const
 
virtual bool Connect ()
 Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interface (Serial or TCP) governed by connectionMode. If connection is successful, it proceed to call Handshake() function to ensure communication with device is successful. For other communication interface, override the method in the child class implementation. More...
 
virtual bool Disconnect ()
 Disconnect from device. More...
 
void registerConnection (Connection::Interface *newConnection)
 registerConnection Add new connection plugin to the existing connection pool. The connection type shall be defined to the client in ISGetProperties() More...
 
bool unRegisterConnection (Connection::Interface *existingConnection)
 unRegisterConnection Remove connection from existing pool More...
 
Connection::InterfacegetActiveConnection ()
 
void setActiveConnection (Connection::Interface *existingConnection)
 setActiveConnection Switch the active connection to the passed connection plugin More...
 
void setDefaultPollingPeriod (uint32_t msec)
 setDefaultPollingPeriod Change the default polling period to call TimerHit() function in the driver. More...
 
void setPollingPeriodRange (uint32_t minimum, uint32_t maximum)
 setPollingPeriodRange Set the range permitted by the polling range in milliseconds More...
 
uint32_t getPollingPeriod () const
 getPollingPeriod Return the polling period. More...
 
void setCurrentPollingPeriod (uint32_t msec)
 setCurrentPollingPeriod Change the current polling period to call TimerHit() function in the driver. More...
 
uint32_t getCurrentPollingPeriod () const
 getCurrentPollingPeriod Return the current polling period. More...
 
uint32_t & refCurrentPollingPeriod () __attribute__((deprecated))
 
uint32_t refCurrentPollingPeriod () const __attribute__((deprecated))
 
bool isConfigLoading () const
 isConfigLoading Check if driver configuration is currently in the process of getting loaded. More...
 
void syncDriverInfo ()
 syncDriverInfo sends the current driver information to the client. More...
 
 DefaultDevice (DefaultDevicePrivate &dd)
 
- Protected Member Functions inherited from INDI::BaseDevice
 BaseDevice (BaseDevicePrivate &dd)
 
- Protected Member Functions inherited from INDI::GuiderInterface
 GuiderInterface ()
 
 ~GuiderInterface ()
 
void initGuiderProperties (const char *deviceName, const char *groupName)
 Initilize guider properties. It is recommended to call this function within initProperties() of your primary device. More...
 
void processGuiderProperties (const char *name, double values[], char *names[], int n)
 Call this function whenever client updates GuideNSNP or GuideWSP properties in the primary device. This function then takes care of issuing the corresponding GuideXXXX function accordingly. More...
 
- Protected Member Functions inherited from INDI::FocuserInterface
 FocuserInterface (DefaultDevice *defaultDevice)
 
virtual ~FocuserInterface ()=default
 
void initProperties (const char *groupName)
 Initilize focuser properties. It is recommended to call this function within initProperties() of your primary device. More...
 
bool updateProperties ()
 updateProperties Define or Delete Rotator properties based on the connection status of the base device More...
 
bool processNumber (const char *dev, const char *name, double values[], char *names[], int n)
 Process focus number properties. More...
 
bool processSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
 Process focus switch properties. More...
 
virtual bool SyncFocuser (uint32_t ticks)
 SyncFocuser Set current position to ticks without moving the focuser. More...
 
virtual bool SetFocuserMaxPosition (uint32_t ticks)
 SetFocuserMaxPosition Set Focuser Maximum position limit in the hardware. More...
 
virtual bool SetFocuserBacklash (int32_t steps)
 SetFocuserBacklash Set the focuser backlash compensation value. More...
 
virtual bool SetFocuserBacklashEnabled (bool enabled)
 SetFocuserBacklashEnabled Enables or disables the focuser backlash compensation. More...
 
bool saveConfigItems (FILE *fp)
 saveConfigItems save focuser properties defined in the interface in config file More...
 
- Protected Member Functions inherited from INDI::WeatherInterface
 WeatherInterface (DefaultDevice *defaultDevice)
 
virtual ~WeatherInterface ()
 
void initProperties (const char *statusGroup, const char *paramsGroup)
 Initilize focuser properties. It is recommended to call this function within initProperties() of your primary device. More...
 
bool updateProperties ()
 updateProperties Define or Delete Rotator properties based on the connection status of the base device More...
 
bool processNumber (const char *dev, const char *name, double values[], char *names[], int n)
 Process focus number properties. More...
 
void addParameter (std::string name, std::string label, double numMinOk, double numMaxOk, double percWarning)
 addParameter Add a physical weather measurable parameter to the weather driver. The weather value has three zones: More...
 
bool setCriticalParameter (std::string param)
 setCriticalParameter Set parameter that is considered critical to the operation of the observatory. The parameter state can affect the overall weather driver state which signals the client to take appropriate action depending on the severity of the state. More...
 
void setParameterValue (std::string name, double value)
 setParameterValue Update weather parameter value More...
 
IPState checkParameterState (const std::string &param) const
 checkParameterState Checks the given parameter against the defined bounds More...
 
IPState checkParameterState (const INumber &parameter) const
 
bool syncCriticalParameters ()
 updateWeatherState Send update weather state to client More...
 
- Protected Member Functions inherited from INDI::RotatorInterface
 RotatorInterface (DefaultDevice *defaultDevice)
 
void initProperties (const char *groupName)
 Initilize Rotator properties. It is recommended to call this function within initProperties() of your primary device. More...
 
bool updateProperties ()
 updateProperties Define or Delete Rotator properties based on the connection status of the base device More...
 
bool processNumber (const char *dev, const char *name, double values[], char *names[], int n)
 Process Rotator number properties. More...
 
bool processSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
 Process Rotator switch properties. More...
 
virtual bool SyncRotator (double angle)
 SyncRotator Set current angle as the supplied angle without moving the rotator. More...
 
virtual bool ReverseRotator (bool enabled)
 ReverseRotator Reverse the direction of the rotator. CW is usually the normal direction, and CCW is the reversed direction. More...
 
bool saveConfigItems (FILE *fp)
 saveConfigItems save focuser properties defined in the interface in config file More...
 

Protected Attributes

int OSMountType = 0
 
bool OSPECEnabled = false
 
bool OSAlignCompleted = false
 
ITextVectorProperty ObjectInfoTP
 
IText ObjectInfoT [1] {}
 
ISwitchVectorProperty StarCatalogSP
 
ISwitch StarCatalogS [3]
 
ISwitchVectorProperty DeepSkyCatalogSP
 
ISwitch DeepSkyCatalogS [7]
 
ISwitchVectorProperty SolarSP
 
ISwitch SolarS [10]
 
INumberVectorProperty ObjectNoNP
 
INumber ObjectNoN [1]
 
INumberVectorProperty MaxSlewRateNP
 
INumber MaxSlewRateN [2]
 
INumberVectorProperty BacklashNP
 
INumber BacklashN [2]
 
INumberVectorProperty ElevationLimitNP
 
INumber ElevationLimitN [2]
 
ITextVectorProperty VersionTP
 
IText VersionT [5] {}
 
ITextVectorProperty OnstepStatTP
 
IText OnstepStat [11] {}
 
bool TMCDrivers = true
 
bool OSHighPrecision = false
 
bool OSFocuser1 = false
 
ISwitchVectorProperty OSFocus1InitializeSP
 
ISwitch OSFocus1InitializeS [4]
 
int OSNumFocusers = 0
 
ISwitchVectorProperty OSFocusSelectSP
 
ISwitch OSFocusSelectS [9]
 
bool OSFocuser2 = false
 
ISwitchVectorProperty OSFocus2RateSP
 
ISwitch OSFocus2RateS [4]
 
ISwitchVectorProperty OSFocus2MotionSP
 
ISwitch OSFocus2MotionS [3]
 
INumberVectorProperty OSFocus2TargNP
 
INumber OSFocus2TargN [1]
 
bool OSRotator1 = false
 
ISwitchVectorProperty OSRotatorRateSP
 
ISwitch OSRotatorRateS [4]
 
ISwitchVectorProperty OSRotatorDerotateSP
 
ISwitch OSRotatorDerotateS [2]
 
int IsTracking = 0
 
ISwitchVectorProperty ReticSP
 
ISwitch ReticS [2]
 
ISwitchVectorProperty TrackCompSP
 
ISwitch TrackCompS [3]
 
ISwitchVectorProperty TrackAxisSP
 
ISwitch TrackAxisS [3]
 
ISwitchVectorProperty FrequencyAdjustSP
 
ISwitch FrequencyAdjustS [3]
 
ISwitchVectorProperty AutoFlipSP
 
ISwitch AutoFlipS [2]
 
ISwitchVectorProperty HomePauseSP
 
ISwitch HomePauseS [3]
 
ISwitchVectorProperty SetHomeSP
 
ISwitch SetHomeS [2]
 
ISwitchVectorProperty PreferredPierSideSP
 
ISwitch PreferredPierSideS [3]
 
INumberVectorProperty minutesPastMeridianNP
 
INumber minutesPastMeridianN [2]
 
ISwitchVectorProperty OSPECStatusSP
 
ISwitch OSPECStatusS [5]
 
ISwitchVectorProperty OSPECIndexSP
 
ISwitch OSPECIndexS [2]
 
ISwitchVectorProperty OSPECRecordSP
 
ISwitch OSPECRecordS [3]
 
ISwitchVectorProperty OSPECReadSP
 
ISwitch OSPECReadS [2]
 
INumberVectorProperty OSPECCurrentIndexNP
 
INumber OSPECCurrentIndexN [2]
 
INumberVectorProperty OSPECUserIndexNP
 
INumber OSPECUserIndexN [2]
 
INumberVectorProperty OSPECRWValuesNP
 
INumber OSPECRWValuesN [2]
 
ISwitchVectorProperty OSNAlignStarsSP
 
ISwitch OSNAlignStarsS [9]
 
ISwitchVectorProperty OSNAlignSP
 
ISwitch OSNAlignS [4]
 
ISwitchVectorProperty OSNAlignWriteSP
 
ISwitch OSNAlignWriteS [1]
 
ISwitchVectorProperty OSNAlignPolarRealignSP
 
ISwitch OSNAlignPolarRealignS [2]
 
IText OSNAlignT [8] {}
 
ITextVectorProperty OSNAlignTP
 
IText OSNAlignErrT [4] {}
 
ITextVectorProperty OSNAlignErrTP
 
char OSNAlignStat [RB_MAX_LEN]
 
ISwitchVectorProperty OSOutput1SP
 
ISwitch OSOutput1S [2]
 
ISwitchVectorProperty OSOutput2SP
 
ISwitch OSOutput2S [2]
 
INumber OutputPorts [PORTS_COUNT]
 
INumberVectorProperty OutputPorts_NP
 
INumber GuideRateN [2]
 
INumberVectorProperty GuideRateNP
 
char OSStat [RB_MAX_LEN]
 
char OldOSStat [RB_MAX_LEN]
 
char OSPier [RB_MAX_LEN]
 
char OldOSPier [RB_MAX_LEN]
 
bool OSSeparate_Pulse_Guide_Rate = false
 
bool OSSupports_bitfield_Gu = false
 
uint8_t PECStatusGU = 0
 
uint8_t ParkStatusGU = 0
 
bool OSCpuTemp_good = true
 
INumberVectorProperty OSSetTemperatureNP
 
INumber OSSetTemperatureN [1]
 
INumberVectorProperty OSSetHumidityNP
 
INumber OSSetHumidityN [1]
 
INumberVectorProperty OSSetPressureNP
 
INumber OSSetPressureN [1]
 
INumberVectorProperty OSSetAltitudeNP
 
INumber OSSetAltitudeN [1]
 
- Protected Attributes inherited from LX200Telescope
int GuideNSTID { -1 }
 
int GuideWETID { -1 }
 
int8_t guide_direction_ns { -1 }
 
int8_t guide_direction_we { -1 }
 
int timeFormat = -1
 
int currentSiteNum {0}
 
int trackingMode {0}
 
bool sendTimeOnStartup = true
 
bool sendLocationOnStartup = true
 
uint8_t DBG_SCOPE {0}
 
double JD {0}
 
double targetRA {0}
 
double targetDEC {0}
 
double currentRA {0.0000001}
 
double currentDEC {0.0000001}
 
int MaxReticleFlashRate {0}
 
ISwitchVectorProperty AlignmentSP
 
ISwitch AlignmentS [3]
 
INumberVectorProperty TrackFreqNP
 
INumber TrackFreqN [1]
 
ISwitchVectorProperty UsePulseCmdSP
 
ISwitch UsePulseCmdS [2]
 
bool usePulseCommand { false }
 
ISwitchVectorProperty SiteSP
 
ISwitch SiteS [4]
 
ITextVectorProperty SiteNameTP
 
IText SiteNameT [1] {}
 
ISwitchVectorProperty FocusModeSP
 
ISwitch FocusModeS [3]
 
uint32_t genericCapability {0}
 
- Protected Attributes inherited from INDI::Telescope
IGeographicCoordinates m_Location { 0, 0, 0 }
 
TelescopeStatus TrackState {SCOPE_IDLE}
 
TelescopeStatus RememberTrackState {SCOPE_IDLE}
 RememberTrackState Remember last state of Track State to fall back to in case of errors or aborts. More...
 
INumberVectorProperty EqNP
 
INumber EqN [2]
 
INumberVectorProperty TargetNP
 
INumber TargetN [2]
 
ISwitchVectorProperty AbortSP
 
ISwitch AbortS [1]
 
ISwitchVectorProperty CoordSP
 
ISwitch CoordS [3]
 
INumberVectorProperty LocationNP
 
INumber LocationN [3]
 
ISwitchVectorProperty ParkSP
 
ISwitch ParkS [2]
 
INumber ParkPositionN [2]
 
INumberVectorProperty ParkPositionNP
 
ISwitch ParkOptionS [4]
 
ISwitchVectorProperty ParkOptionSP
 
ISwitch MovementNSS [2]
 
ISwitchVectorProperty MovementNSSP
 
ISwitch MovementWES [2]
 
ISwitchVectorProperty MovementWESP
 
ISwitchVectorProperty SlewRateSP
 
ISwitchSlewRateS {nullptr}
 
INumber ScopeParametersN [4]
 
INumberVectorProperty ScopeParametersNP
 
IText TimeT [2] {}
 
ITextVectorProperty TimeTP
 
ITextVectorProperty ActiveDeviceTP
 
IText ActiveDeviceT [2] {}
 
ISwitchVectorProperty DomePolicySP
 
ISwitch DomePolicyS [2]
 
ISwitchVectorProperty MotionControlModeTP
 
ISwitch MotionControlModeT [2]
 
ISwitch LockAxisS [2]
 
ISwitchVectorProperty LockAxisSP
 
ISwitch PierSideS [2]
 
ISwitchVectorProperty PierSideSP
 
ISwitchVectorProperty SimulatePierSideSP
 
ISwitch SimulatePierSideS [2]
 
TelescopePierSide lastPierSide
 
TelescopePierSide currentPierSide
 
ITextVectorProperty TLEtoTrackTP
 Text Vector property defining the orbital elements of an artificial satellite (TLE). Example implementation. More...
 
IText TLEtoTrackT [1] {}
 
enum INDI::Telescope:: { ... }  SatelliteWindow
 
ITextVectorProperty SatPassWindowTP
 Text Vector property defining the start and end of a satellite pass (window contains pass). Example implementation. More...
 
IText SatPassWindowT [SAT_PASS_WINDOW_COUNT] {}
 
enum INDI::Telescope:: { ... }  SatelliteTracking
 
ISwitchVectorProperty TrackSatSP
 Switch Vector property defining the state of the satellite tracking of the mount. Example implementation. More...
 
ISwitch TrackSatS [SAT_TRACK_COUNT]
 
ISwitch PECStateS [2]
 
ISwitchVectorProperty PECStateSP
 
ISwitchVectorProperty TrackModeSP
 
ISwitchTrackModeS { nullptr }
 
ISwitchVectorProperty TrackStateSP
 
ISwitch TrackStateS [2]
 
INumberVectorProperty TrackRateNP
 
INumber TrackRateN [2]
 
TelescopePECState lastPECState {PEC_UNKNOWN}
 
TelescopePECState currentPECState {PEC_UNKNOWN}
 
uint32_t capability {0}
 
int last_we_motion {-1}
 
int last_ns_motion {-1}
 
int PortFD = -1
 
Connection::SerialserialConnection = nullptr
 
Connection::TCPtcpConnection = nullptr
 
const std::string ScopeConfigRootXmlNode { "scopeconfig" }
 
const std::string ScopeConfigDeviceXmlNode { "device" }
 
const std::string ScopeConfigNameXmlNode { "name" }
 
const std::string ScopeConfigScopeFocXmlNode { "scopefoc" }
 
const std::string ScopeConfigScopeApXmlNode { "scopeap" }
 
const std::string ScopeConfigGScopeFocXmlNode { "gscopefoc" }
 
const std::string ScopeConfigGScopeApXmlNode { "gscopeap" }
 
const std::string ScopeConfigLabelApXmlNode { "label" }
 
ISwitch ScopeConfigs [6]
 
ISwitchVectorProperty ScopeConfigsSP
 
ITextVectorProperty ScopeConfigNameTP
 
IText ScopeConfigNameT [1] {}
 
const std::string ScopeConfigFileName
 The telescope/guide scope configuration file name. More...
 
- Protected Attributes inherited from INDI::BaseDevice
std::shared_ptr< BaseDevicePrivated_ptr
 
- Protected Attributes inherited from INDI::GuiderInterface
INumber GuideNSN [2]
 
INumberVectorProperty GuideNSNP
 
INumber GuideWEN [2]
 
INumberVectorProperty GuideWENP
 
- Protected Attributes inherited from INDI::FocuserInterface
INumberVectorProperty FocusSpeedNP
 
INumber FocusSpeedN [1]
 
ISwitchVectorProperty FocusMotionSP
 
ISwitch FocusMotionS [2]
 
INumberVectorProperty FocusTimerNP
 
INumber FocusTimerN [1]
 
INumberVectorProperty FocusAbsPosNP
 
INumber FocusAbsPosN [1]
 
INumberVectorProperty FocusRelPosNP
 
INumber FocusRelPosN [1]
 
INumberVectorProperty FocusMaxPosNP
 
INumber FocusMaxPosN [1]
 
INumberVectorProperty FocusSyncNP
 
INumber FocusSyncN [1]
 
ISwitchVectorProperty FocusAbortSP
 
ISwitch FocusAbortS [1]
 
ISwitchVectorProperty FocusReverseSP
 
ISwitch FocusReverseS [2]
 
ISwitchVectorProperty FocusBacklashSP
 
ISwitch FocusBacklashS [2]
 
INumberVectorProperty FocusBacklashNP
 
INumber FocusBacklashN [1]
 
uint32_t capability
 
double lastTimerValue = { 0 }
 
DefaultDevicem_defaultDevice { nullptr }
 
- Protected Attributes inherited from INDI::WeatherInterface
INumberParametersN {nullptr}
 
INumberVectorProperty ParametersNP
 
INumberVectorPropertyParametersRangeNP {nullptr}
 
uint8_t nRanges {0}
 
ILightcritialParametersL {nullptr}
 
ILightVectorProperty critialParametersLP
 
- Protected Attributes inherited from INDI::RotatorInterface
INumber GotoRotatorN [1]
 
INumberVectorProperty GotoRotatorNP
 
INumber SyncRotatorN [1]
 
INumberVectorProperty SyncRotatorNP
 
ISwitch AbortRotatorS [1]
 
ISwitchVectorProperty AbortRotatorSP
 
ISwitch HomeRotatorS [1]
 
ISwitchVectorProperty HomeRotatorSP
 
ISwitch ReverseRotatorS [2]
 
ISwitchVectorProperty ReverseRotatorSP
 
ISwitchVectorProperty RotatorBacklashSP
 
ISwitch RotatorBacklashS [2]
 
INumberVectorProperty RotatorBacklashNP
 
INumber RotatorBacklashN [1]
 
uint32_t rotatorCapability = 0
 
DefaultDevicem_defaultDevice { nullptr }
 

Additional Inherited Members

- Public Types inherited from LX200Telescope
enum  {
  LX200_HAS_FOCUS = 1 << 0, LX200_HAS_TRACKING_FREQ = 1 << 1, LX200_HAS_ALIGNMENT_TYPE = 1 << 2, LX200_HAS_SITES = 1 << 3,
  LX200_HAS_PULSE_GUIDING = 1 << 4, LX200_HAS_PRECISE_TRACKING_FREQ = 1 << 5
}
 
- Public Types inherited from INDI::Telescope
enum  TelescopeStatus {
  SCOPE_IDLE, SCOPE_SLEWING, SCOPE_TRACKING, SCOPE_PARKING,
  SCOPE_PARKED
}
 
enum  TelescopeMotionCommand { MOTION_START = 0, MOTION_STOP }
 
enum  TelescopeSlewRate { SLEW_GUIDE, SLEW_CENTERING, SLEW_FIND, SLEW_MAX }
 
enum  TelescopeTrackMode { TRACK_SIDEREAL, TRACK_SOLAR, TRACK_LUNAR, TRACK_CUSTOM }
 
enum  TelescopeTrackState { TRACK_ON, TRACK_OFF, TRACK_UNKNOWN }
 
enum  TelescopeParkData {
  PARK_NONE, PARK_RA_DEC, PARK_HA_DEC, PARK_AZ_ALT,
  PARK_RA_DEC_ENCODER, PARK_AZ_ALT_ENCODER
}
 
enum  TelescopeLocation { LOCATION_LATITUDE, LOCATION_LONGITUDE, LOCATION_ELEVATION }
 
enum  TelescopePierSide { PIER_UNKNOWN = -1, PIER_WEST = 0, PIER_EAST = 1 }
 
enum  TelescopePECState { PEC_UNKNOWN = -1, PEC_OFF = 0, PEC_ON = 1 }
 
enum  DomeLockingPolicy { DOME_IGNORED, DOME_LOCKS }
 
enum  { CONNECTION_NONE = 1 << 0, CONNECTION_SERIAL = 1 << 1, CONNECTION_TCP = 1 << 2 }
 
enum  {
  TELESCOPE_CAN_GOTO = 1 << 0, TELESCOPE_CAN_SYNC = 1 << 1, TELESCOPE_CAN_PARK = 1 << 2, TELESCOPE_CAN_ABORT = 1 << 3,
  TELESCOPE_HAS_TIME = 1 << 4, TELESCOPE_HAS_LOCATION = 1 << 5, TELESCOPE_HAS_PIER_SIDE = 1 << 6, TELESCOPE_HAS_PEC = 1 << 7,
  TELESCOPE_HAS_TRACK_MODE = 1 << 8, TELESCOPE_CAN_CONTROL_TRACK = 1 << 9, TELESCOPE_HAS_TRACK_RATE = 1 << 10, TELESCOPE_HAS_PIER_SIDE_SIMULATION = 1 << 11,
  TELESCOPE_CAN_TRACK_SATELLITE = 1 << 12
}
 
- Public Types inherited from INDI::BaseDevice
enum  INDI_ERROR { INDI_DEVICE_NOT_FOUND = -1, INDI_PROPERTY_INVALID = -2, INDI_PROPERTY_DUPLICATED = -3, INDI_DISPATCH_ERROR = -4 }
 
enum  { INDI_ENABLED, INDI_DISABLED }
 
enum  DRIVER_INTERFACE {
  GENERAL_INTERFACE = 0, TELESCOPE_INTERFACE = (1 << 0), CCD_INTERFACE = (1 << 1), GUIDER_INTERFACE = (1 << 2),
  FOCUSER_INTERFACE = (1 << 3), FILTER_INTERFACE = (1 << 4), DOME_INTERFACE = (1 << 5), GPS_INTERFACE = (1 << 6),
  WEATHER_INTERFACE = (1 << 7), AO_INTERFACE = (1 << 8), DUSTCAP_INTERFACE = (1 << 9), LIGHTBOX_INTERFACE = (1 << 10),
  DETECTOR_INTERFACE = (1 << 11), ROTATOR_INTERFACE = (1 << 12), SPECTROGRAPH_INTERFACE = (1 << 13), CORRELATOR_INTERFACE = (1 << 14),
  AUX_INTERFACE = (1 << 15), SENSOR_INTERFACE = SPECTROGRAPH_INTERFACE | DETECTOR_INTERFACE | CORRELATOR_INTERFACE
}
 The DRIVER_INTERFACE enum defines the class of devices the driver implements. A driver may implement one or more interfaces. More...
 
typedef INDI::Properties Properties
 
- Public Types inherited from INDI::FocuserInterface
enum  FocusDirection { FOCUS_INWARD, FOCUS_OUTWARD }
 
enum  {
  FOCUSER_CAN_ABS_MOVE = 1 << 0, FOCUSER_CAN_REL_MOVE = 1 << 1, FOCUSER_CAN_ABORT = 1 << 2, FOCUSER_CAN_REVERSE = 1 << 3,
  FOCUSER_CAN_SYNC = 1 << 4, FOCUSER_HAS_VARIABLE_SPEED = 1 << 5, FOCUSER_HAS_BACKLASH = 1 << 6
}
 
- Public Types inherited from INDI::RotatorInterface
enum  {
  ROTATOR_CAN_ABORT = 1 << 0, ROTATOR_CAN_HOME = 1 << 1, ROTATOR_CAN_SYNC = 1 << 2, ROTATOR_CAN_REVERSE = 1 << 3,
  ROTATOR_HAS_BACKLASH = 1 << 4
}
 
- Static Public Member Functions inherited from INDI::Telescope
static void joystickHelper (const char *joystick_n, double mag, double angle, void *context)
 
static void axisHelper (const char *axis_n, double value, void *context)
 
static void buttonHelper (const char *button_n, ISState state, void *context)
 
- Public Attributes inherited from LX200Telescope
enum LX200Telescope:: { ... }  LX200Capability
 
- Public Attributes inherited from INDI::Telescope
enum INDI::Telescope:: { ... }  TelescopeConnection
 
enum INDI::Telescope:: { ... }  TelescopeCapability
 
- Public Attributes inherited from INDI::FocuserInterface
enum INDI::FocuserInterface:: { ... }  FocuserCapability
 
- Public Attributes inherited from INDI::RotatorInterface
enum INDI::RotatorInterface:: { ... }  RotatorCapability
 
- Protected Types inherited from INDI::Telescope
enum  { PARK_CURRENT, PARK_DEFAULT, PARK_WRITE_DATA, PARK_PURGE_DATA }
 
enum  { MOTION_CONTROL_JOYSTICK, MOTION_CONTROL_AXES }
 
enum  { SAT_PASS_WINDOW_START, SAT_PASS_WINDOW_END, SAT_PASS_WINDOW_COUNT }
 
enum  { SAT_TRACK, SAT_HALT, SAT_TRACK_COUNT }
 
enum  {
  SCOPE_CONFIG1, SCOPE_CONFIG2, SCOPE_CONFIG3, SCOPE_CONFIG4,
  SCOPE_CONFIG5, SCOPE_CONFIG6
}
 
- Static Protected Member Functions inherited from LX200Telescope
static void updateFocusHelper (void *p)
 
static void guideTimeoutHelperNS (void *p)
 
static void guideTimeoutHelperWE (void *p)
 

Detailed Description

Definition at line 125 of file lx200_OnStep.h.

Constructor & Destructor Documentation

◆ LX200_OnStep()

LX200_OnStep::LX200_OnStep ( )

Definition at line 47 of file lx200_OnStep.cpp.

◆ ~LX200_OnStep()

LX200_OnStep::~LX200_OnStep ( )
inline

Definition at line 129 of file lx200_OnStep.h.

Member Function Documentation

◆ AbortFocuser()

bool LX200_OnStep::AbortFocuser ( )
overrideprotectedvirtual

AbortFocuser all focus motion.

Returns
True if abort is successful, false otherwise.

Reimplemented from LX200Telescope.

Definition at line 2773 of file lx200_OnStep.cpp.

◆ AbortRotator()

bool LX200_OnStep::AbortRotator ( )
overrideprotectedvirtual

AbortRotator Abort all motion.

Returns
True if successful, false otherwise.

Reimplemented from INDI::RotatorInterface.

Definition at line 3027 of file lx200_OnStep.cpp.

◆ AlignAddStar()

IPState LX200_OnStep::AlignAddStar ( )
protected

Definition at line 3344 of file lx200_OnStep.cpp.

◆ AlignDone()

IPState LX200_OnStep::AlignDone ( )
protected

Definition at line 3470 of file lx200_OnStep.cpp.

◆ AlignStartGeometric()

IPState LX200_OnStep::AlignStartGeometric ( int  stars)
protected

Definition at line 3307 of file lx200_OnStep.cpp.

◆ AlignWrite()

IPState LX200_OnStep::AlignWrite ( )
protected

Definition at line 3487 of file lx200_OnStep.cpp.

◆ ClearPECBuffer()

IPState LX200_OnStep::ClearPECBuffer ( int  axis)
protected

Definition at line 3139 of file lx200_OnStep.cpp.

◆ getBasicData()

void LX200_OnStep::getBasicData ( )
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 1662 of file lx200_OnStep.cpp.

◆ getCommandSingleCharErrorOrLongResponse()

int LX200_OnStep::getCommandSingleCharErrorOrLongResponse ( int  fd,
char *  data,
const char *  cmd 
)
protected

Definition at line 2568 of file lx200_OnStep.cpp.

◆ getCommandSingleCharResponse()

int LX200_OnStep::getCommandSingleCharResponse ( int  fd,
char *  data,
const char *  cmd 
)
protected

Definition at line 2536 of file lx200_OnStep.cpp.

◆ getDefaultName()

const char * LX200_OnStep::getDefaultName ( )
overridevirtual
Returns
Default name of the device.

Reimplemented from LX200Telescope.

Definition at line 82 of file lx200_OnStep.cpp.

◆ HomeRotator()

IPState LX200_OnStep::HomeRotator ( )
overrideprotectedvirtual

HomeRotator Go to home position.

Returns
State of operation: IPS_OK is motion is completed, IPS_BUSY if motion in progress, IPS_ALERT on error.

Reimplemented from INDI::RotatorInterface.

Definition at line 3015 of file lx200_OnStep.cpp.

◆ Init_Outputs()

void LX200_OnStep::Init_Outputs ( )
protectedvirtual

Definition at line 3733 of file lx200_OnStep.cpp.

◆ initProperties()

bool LX200_OnStep::initProperties ( )
overridevirtual

Called to initialize basic properties required all the time.

Reimplemented from LX200Telescope.

Definition at line 87 of file lx200_OnStep.cpp.

◆ ISGetProperties()

void LX200_OnStep::ISGetProperties ( const char *  dev)
overridevirtual

define the driver's properties to the client. Usually, only a minimum set of properties are defined to the client in this function if the device is in disconnected state. Those properties should be enough to enable the client to establish a connection to the device. In addition to CONNECT/DISCONNECT, such properties may include port name, IP address, etc. You should check if the device is already connected, and if this is true, then you must define the remainder of the the properties to the client in this function. Otherwise, the remainder of the driver's properties are defined to the client in updateProperties() function which is called when a client connects/disconnects from a device.

Parameters
devname of the device
Note
This function is called by the INDI framework, do not call it directly. See LX200 Generic driver for an example implementation

Reimplemented from LX200Telescope.

Definition at line 414 of file lx200_OnStep.cpp.

◆ ISNewNumber()

bool LX200_OnStep::ISNewNumber ( const char *  dev,
const char *  name,
double  values[],
char *  names[],
int  n 
)
overridevirtual

Process the client newNumber command.

Note
This function is called by the INDI framework, do not call it directly.
Returns
True if any property was successfully processed, false otherwise.

Reimplemented from LX200Telescope.

Definition at line 673 of file lx200_OnStep.cpp.

◆ ISNewSwitch()

bool LX200_OnStep::ISNewSwitch ( const char *  dev,
const char *  name,
ISState states,
char *  names[],
int  n 
)
overridevirtual

Process the client newSwitch command.

Note
This function is called by the INDI framework, do not call it directly.
Returns
True if any property was successfully processed, false otherwise.

Reimplemented from LX200Telescope.

Definition at line 1013 of file lx200_OnStep.cpp.

◆ ISPECRecorded()

bool LX200_OnStep::ISPECRecorded ( int  axis)
protected

◆ MoveAbsFocuser()

IPState LX200_OnStep::MoveAbsFocuser ( uint32_t  targetTicks)
overrideprotectedvirtual

MoveFocuser the focuser to an absolute position.

Parameters
ticksThe new position of the focuser.
Returns
Return IPS_OK if motion is completed and focuser reached requested position. Return IPS_BUSY if focuser started motion to requested position and is in progress. Return IPS_ALERT if there is an error.

Reimplemented from INDI::FocuserInterface.

Definition at line 2742 of file lx200_OnStep.cpp.

◆ MoveFocuser()

IPState LX200_OnStep::MoveFocuser ( FocusDirection  dir,
int  speed,
uint16_t  duration 
)
overrideprotectedvirtual

MoveFocuser the focuser in a particular direction with a specific speed for a finite duration.

Parameters
dirDirection of focuser, either FOCUS_INWARD or FOCUS_OUTWARD.
speedSpeed of focuser if supported by the focuser.
durationThe timeout in milliseconds before the focus motion halts. Pass 0 to move indefinitely.
Returns
Return IPS_OK if motion is completed and focuser reached requested position. Return IPS_BUSY if focuser started motion to requested position and is in progress. Return IPS_ALERT if there is an error.

Reimplemented from LX200Telescope.

Definition at line 2728 of file lx200_OnStep.cpp.

◆ MoveRelFocuser()

IPState LX200_OnStep::MoveRelFocuser ( FocusDirection  dir,
uint32_t  ticks 
)
overrideprotectedvirtual

MoveFocuser the focuser to an relative position.

Parameters
dirDirection of focuser, either FOCUS_INWARD or FOCUS_OUTWARD.
ticksThe relative ticks to move.
Returns
Return IPS_OK if motion is completed and focuser reached requested position. Return IPS_BUSY if focuser started motion to requested position and is in progress. Return IPS_ALERT if there is an error.

Reimplemented from INDI::FocuserInterface.

Definition at line 2760 of file lx200_OnStep.cpp.

◆ MoveRotator()

IPState LX200_OnStep::MoveRotator ( double  angle)
overrideprotectedvirtual

MoveRotator Go to specific angle.

Parameters
angleTarget angle in degrees.
Returns
State of operation: IPS_OK is motion is completed, IPS_BUSY if motion in progress, IPS_ALERT on error.

Implements INDI::RotatorInterface.

Definition at line 2993 of file lx200_OnStep.cpp.

◆ OSDisableOutput()

IPState LX200_OnStep::OSDisableOutput ( int  output)
protected

Definition at line 3522 of file lx200_OnStep.cpp.

◆ OSEnableOutput()

IPState LX200_OnStep::OSEnableOutput ( int  output)
protected

◆ OSGetOutputState()

bool LX200_OnStep::OSGetOutputState ( int  output)
protected

Definition at line 3587 of file lx200_OnStep.cpp.

◆ OSUpdateFocuser()

void LX200_OnStep::OSUpdateFocuser ( )
protected

Definition at line 2782 of file lx200_OnStep.cpp.

◆ OSUpdateRotator()

void LX200_OnStep::OSUpdateRotator ( )
protected

Definition at line 2943 of file lx200_OnStep.cpp.

◆ Park()

bool LX200_OnStep::Park ( )
overrideprotectedvirtual

Park the telescope to its home position.

Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from LX200Telescope.

Definition at line 1762 of file lx200_OnStep.cpp.

◆ PECStatus()

IPState LX200_OnStep::PECStatus ( int  axis)
protected

Definition at line 3181 of file lx200_OnStep.cpp.

◆ ReadPECBuffer()

IPState LX200_OnStep::ReadPECBuffer ( int  axis)
protected

Definition at line 3274 of file lx200_OnStep.cpp.

◆ ReadScopeStatus()

bool LX200_OnStep::ReadScopeStatus ( )
overrideprotectedvirtual

Read telescope status.

This function checks the following:

  1. Check if the link to the telescope is alive.
  2. Update telescope status: Idle, Slewing, Parking..etc.
  3. Read coordinates
Returns
True if reading scope status is OK, false if an error is encounterd.
Note
This function is not implemented in Telescope, it must be implemented in the child class

Reimplemented from LX200Telescope.

Definition at line 1804 of file lx200_OnStep.cpp.

◆ saveConfigItems()

bool LX200_OnStep::saveConfigItems ( FILE *  fp)
overrideprotectedvirtual

saveConfigItems Save parameters ranges in the config file.

Parameters
fppointer to open config file
Returns
true of success, false otherwise.

Reimplemented from INDI::WeatherInterface.

Definition at line 3726 of file lx200_OnStep.cpp.

◆ SavePECBuffer()

IPState LX200_OnStep::SavePECBuffer ( int  axis)
protected

Definition at line 3160 of file lx200_OnStep.cpp.

◆ sendOnStepCommand()

bool LX200_OnStep::sendOnStepCommand ( const char *  cmd)
protected

Definition at line 2509 of file lx200_OnStep.cpp.

◆ sendOnStepCommandBlind()

bool LX200_OnStep::sendOnStepCommandBlind ( const char *  cmd)
protected

Definition at line 2494 of file lx200_OnStep.cpp.

◆ sendScopeLocation()

bool LX200_OnStep::sendScopeLocation ( )
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 3839 of file lx200_OnStep.cpp.

◆ sendScopeTime()

bool LX200_OnStep::sendScopeTime ( )
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 3772 of file lx200_OnStep.cpp.

◆ SetCurrentPark()

bool LX200_OnStep::SetCurrentPark ( )
overrideprotectedvirtual

SetCurrentPark Set current coordinates/encoders value as the desired parking position.

Returns
True if current mount coordinates are set as parking position, false on error.
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from INDI::Telescope.

Definition at line 1721 of file lx200_OnStep.cpp.

◆ SetDefaultPark()

bool LX200_OnStep::SetDefaultPark ( )
overrideprotectedvirtual

SetDefaultPark Set default coordinates/encoders value as the desired parking position.

Returns
True if default park coordinates are set as parking position, false on error.
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from INDI::Telescope.

Definition at line 1736 of file lx200_OnStep.cpp.

◆ setLocalDate()

bool LX200_OnStep::setLocalDate ( uint8_t  days,
uint8_t  months,
uint16_t  years 
)
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 2483 of file lx200_OnStep.cpp.

◆ setMaxElevationLimit()

int LX200_OnStep::setMaxElevationLimit ( int  fd,
int  max 
)
protected

Definition at line 2641 of file lx200_OnStep.cpp.

◆ SetRotatorBacklash()

bool LX200_OnStep::SetRotatorBacklash ( int32_t  steps)
overrideprotectedvirtual

SetRotatorBacklash Set the Rotatorer backlash compensation value.

Parameters
stepsvalue in absolute steps to compensate
Returns
True if successful, false otherwise.

Reimplemented from INDI::RotatorInterface.

Definition at line 3033 of file lx200_OnStep.cpp.

◆ SetRotatorBacklashEnabled()

bool LX200_OnStep::SetRotatorBacklashEnabled ( bool  enabled)
overrideprotectedvirtual

SetRotatorBacklashEnabled Enables or disables the Rotator backlash compensation.

Parameters
enableflag to enable or disable backlash compensation
Returns
True if successful, false otherwise.

Reimplemented from INDI::RotatorInterface.

Definition at line 3043 of file lx200_OnStep.cpp.

◆ setSiteLatitude()

int LX200_OnStep::setSiteLatitude ( int  fd,
double  Long 
)
protectedvirtual

Definition at line 2675 of file lx200_OnStep.cpp.

◆ setSiteLongitude()

int LX200_OnStep::setSiteLongitude ( int  fd,
double  Long 
)
protectedvirtual

Definition at line 2652 of file lx200_OnStep.cpp.

◆ SetTrackEnabled()

bool LX200_OnStep::SetTrackEnabled ( bool  enabled)
overrideprotectedvirtual

SetTrackEnabled Engages or disengages mount tracking. If there are no tracking modes available, it is assumed sidereal. Otherwise, whatever tracking mode should be activated or deactivated accordingly.

Parameters
enabledTrue to engage tracking, false to stop tracking completely.
Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from INDI::Telescope.

Definition at line 2458 of file lx200_OnStep.cpp.

◆ SetTrackRate()

bool LX200_OnStep::SetTrackRate ( double  raRate,
double  deRate 
)
overrideprotectedvirtual

SetTrackRate Set custom tracking rates.

Parameters
raRateRA tracking rate in arcsecs/s
deRateDEC tracking rate in arcsecs/s
Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from INDI::Telescope.

Definition at line 3614 of file lx200_OnStep.cpp.

◆ slewError()

void LX200_OnStep::slewError ( int  slewCode)
overrideprotectedvirtual

Reimplemented from LX200Telescope.

Definition at line 3633 of file lx200_OnStep.cpp.

◆ StartPECPlayback()

IPState LX200_OnStep::StartPECPlayback ( int  axis)
protected

Definition at line 3069 of file lx200_OnStep.cpp.

◆ StartPECRecord()

IPState LX200_OnStep::StartPECRecord ( int  axis)
protected

Definition at line 3119 of file lx200_OnStep.cpp.

◆ StopPECPlayback()

IPState LX200_OnStep::StopPECPlayback ( int  axis)
protected

Definition at line 3099 of file lx200_OnStep.cpp.

◆ Sync()

bool LX200_OnStep::Sync ( double  ra,
double  dec 
)
overrideprotectedvirtual

Set the telescope current RA and DEC coordinates to the supplied RA and DEC coordinates.

Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from LX200Telescope.

Definition at line 3686 of file lx200_OnStep.cpp.

◆ UnPark()

bool LX200_OnStep::UnPark ( )
overrideprotectedvirtual

Unpark the telescope if already parked.

Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from INDI::Telescope.

Definition at line 1745 of file lx200_OnStep.cpp.

◆ UpdateAlignErr()

bool LX200_OnStep::UpdateAlignErr ( )
protectedvirtual

Definition at line 3411 of file lx200_OnStep.cpp.

◆ UpdateAlignStatus()

bool LX200_OnStep::UpdateAlignStatus ( )
protectedvirtual

Definition at line 3358 of file lx200_OnStep.cpp.

◆ updateLocation()

bool LX200_OnStep::updateLocation ( double  latitude,
double  longitude,
double  elevation 
)
overrideprotectedvirtual

Update telescope location settings.

Parameters
latitudeSite latitude in degrees.
longitudeSite latitude in degrees increasing eastward from Greenwich (0 to 360).
elevationSite elevation in meters.
Returns
True if successful, false otherwise
Note
If not implemented by the child class, this function by default returns false with a warning message.

Reimplemented from LX200Telescope.

Definition at line 2607 of file lx200_OnStep.cpp.

◆ updateProperties()

bool LX200_OnStep::updateProperties ( )
overridevirtual

Called when connected state changes, to add/remove properties.

Reimplemented from LX200Telescope.

Definition at line 420 of file lx200_OnStep.cpp.

◆ updateWeather()

virtual IPState LX200_OnStep::updateWeather ( )
inlineoverrideprotectedvirtual

updateWeather Update weather conditions from device or service. The function should not change the state of any property in the device as this is handled by Weather. It should only update the raw values.

Returns
Return overall state. The state should be IPS_OK if data is valid. IPS_BUSY if weather update is in progress. IPS_ALERT is there is an error. The clients will only accept values with IPS_OK state.

Reimplemented from INDI::WeatherInterface.

Definition at line 397 of file lx200_OnStep.h.

◆ WritePECBuffer()

IPState LX200_OnStep::WritePECBuffer ( int  axis)
protected

Definition at line 3290 of file lx200_OnStep.cpp.

Member Data Documentation

◆ AutoFlipS

ISwitch LX200_OnStep::AutoFlipS[2]
protected

Definition at line 312 of file lx200_OnStep.h.

◆ AutoFlipSP

ISwitchVectorProperty LX200_OnStep::AutoFlipSP
protected

Definition at line 311 of file lx200_OnStep.h.

◆ BacklashN

INumber LX200_OnStep::BacklashN[2]
protected

Definition at line 247 of file lx200_OnStep.h.

◆ BacklashNP

INumberVectorProperty LX200_OnStep::BacklashNP
protected

Definition at line 246 of file lx200_OnStep.h.

◆ DeepSkyCatalogS

ISwitch LX200_OnStep::DeepSkyCatalogS[7]
protected

Definition at line 235 of file lx200_OnStep.h.

◆ DeepSkyCatalogSP

ISwitchVectorProperty LX200_OnStep::DeepSkyCatalogSP
protected

Definition at line 234 of file lx200_OnStep.h.

◆ ElevationLimitN

INumber LX200_OnStep::ElevationLimitN[2]
protected

Definition at line 250 of file lx200_OnStep.h.

◆ ElevationLimitNP

INumberVectorProperty LX200_OnStep::ElevationLimitNP
protected

Definition at line 249 of file lx200_OnStep.h.

◆ FrequencyAdjustS

ISwitch LX200_OnStep::FrequencyAdjustS[3]
protected

Definition at line 309 of file lx200_OnStep.h.

◆ FrequencyAdjustSP

ISwitchVectorProperty LX200_OnStep::FrequencyAdjustSP
protected

Definition at line 308 of file lx200_OnStep.h.

◆ GuideRateN

INumber LX200_OnStep::GuideRateN[2]
protected

Definition at line 364 of file lx200_OnStep.h.

◆ GuideRateNP

INumberVectorProperty LX200_OnStep::GuideRateNP
protected

Definition at line 365 of file lx200_OnStep.h.

◆ HomePauseS

ISwitch LX200_OnStep::HomePauseS[3]
protected

Definition at line 315 of file lx200_OnStep.h.

◆ HomePauseSP

ISwitchVectorProperty LX200_OnStep::HomePauseSP
protected

Definition at line 314 of file lx200_OnStep.h.

◆ IsTracking

int LX200_OnStep::IsTracking = 0
protected

Definition at line 295 of file lx200_OnStep.h.

◆ MaxSlewRateN

INumber LX200_OnStep::MaxSlewRateN[2]
protected

Definition at line 244 of file lx200_OnStep.h.

◆ MaxSlewRateNP

INumberVectorProperty LX200_OnStep::MaxSlewRateNP
protected

Definition at line 243 of file lx200_OnStep.h.

◆ minutesPastMeridianN

INumber LX200_OnStep::minutesPastMeridianN[2]
protected

Definition at line 324 of file lx200_OnStep.h.

◆ minutesPastMeridianNP

INumberVectorProperty LX200_OnStep::minutesPastMeridianNP
protected

Definition at line 323 of file lx200_OnStep.h.

◆ ObjectInfoT

IText LX200_OnStep::ObjectInfoT[1] {}
protected

Definition at line 229 of file lx200_OnStep.h.

◆ ObjectInfoTP

ITextVectorProperty LX200_OnStep::ObjectInfoTP
protected

Definition at line 228 of file lx200_OnStep.h.

◆ ObjectNoN

INumber LX200_OnStep::ObjectNoN[1]
protected

Definition at line 241 of file lx200_OnStep.h.

◆ ObjectNoNP

INumberVectorProperty LX200_OnStep::ObjectNoNP
protected

Definition at line 240 of file lx200_OnStep.h.

◆ OldOSPier

char LX200_OnStep::OldOSPier[RB_MAX_LEN]
protected

Definition at line 372 of file lx200_OnStep.h.

◆ OldOSStat

char LX200_OnStep::OldOSStat[RB_MAX_LEN]
protected

Definition at line 368 of file lx200_OnStep.h.

◆ OnstepStat

IText LX200_OnStep::OnstepStat[11] {}
protected

Definition at line 257 of file lx200_OnStep.h.

◆ OnstepStatTP

ITextVectorProperty LX200_OnStep::OnstepStatTP
protected

Definition at line 256 of file lx200_OnStep.h.

◆ OSAlignCompleted

bool LX200_OnStep::OSAlignCompleted = false
protected

Definition at line 212 of file lx200_OnStep.h.

◆ OSCpuTemp_good

bool LX200_OnStep::OSCpuTemp_good = true
protected

Definition at line 382 of file lx200_OnStep.h.

◆ OSFocus1InitializeS

ISwitch LX200_OnStep::OSFocus1InitializeS[4]
protected

Definition at line 266 of file lx200_OnStep.h.

◆ OSFocus1InitializeSP

ISwitchVectorProperty LX200_OnStep::OSFocus1InitializeSP
protected

Definition at line 265 of file lx200_OnStep.h.

◆ OSFocus2MotionS

ISwitch LX200_OnStep::OSFocus2MotionS[3]
protected

Definition at line 280 of file lx200_OnStep.h.

◆ OSFocus2MotionSP

ISwitchVectorProperty LX200_OnStep::OSFocus2MotionSP
protected

Definition at line 279 of file lx200_OnStep.h.

◆ OSFocus2RateS

ISwitch LX200_OnStep::OSFocus2RateS[4]
protected

Definition at line 277 of file lx200_OnStep.h.

◆ OSFocus2RateSP

ISwitchVectorProperty LX200_OnStep::OSFocus2RateSP
protected

Definition at line 276 of file lx200_OnStep.h.

◆ OSFocus2TargN

INumber LX200_OnStep::OSFocus2TargN[1]
protected

Definition at line 283 of file lx200_OnStep.h.

◆ OSFocus2TargNP

INumberVectorProperty LX200_OnStep::OSFocus2TargNP
protected

Definition at line 282 of file lx200_OnStep.h.

◆ OSFocuser1

bool LX200_OnStep::OSFocuser1 = false
protected

Definition at line 264 of file lx200_OnStep.h.

◆ OSFocuser2

bool LX200_OnStep::OSFocuser2 = false
protected

Definition at line 275 of file lx200_OnStep.h.

◆ OSFocusSelectS

ISwitch LX200_OnStep::OSFocusSelectS[9]
protected

Definition at line 270 of file lx200_OnStep.h.

◆ OSFocusSelectSP

ISwitchVectorProperty LX200_OnStep::OSFocusSelectSP
protected

Definition at line 269 of file lx200_OnStep.h.

◆ OSHighPrecision

bool LX200_OnStep::OSHighPrecision = false
protected

Definition at line 260 of file lx200_OnStep.h.

◆ OSMountType

int LX200_OnStep::OSMountType = 0
protected

Definition at line 158 of file lx200_OnStep.h.

◆ OSNAlignErrT

IText LX200_OnStep::OSNAlignErrT[4] {}
protected

Definition at line 351 of file lx200_OnStep.h.

◆ OSNAlignErrTP

ITextVectorProperty LX200_OnStep::OSNAlignErrTP
protected

Definition at line 352 of file lx200_OnStep.h.

◆ OSNAlignPolarRealignS

ISwitch LX200_OnStep::OSNAlignPolarRealignS[2]
protected

Definition at line 348 of file lx200_OnStep.h.

◆ OSNAlignPolarRealignSP

ISwitchVectorProperty LX200_OnStep::OSNAlignPolarRealignSP
protected

Definition at line 347 of file lx200_OnStep.h.

◆ OSNAlignS

ISwitch LX200_OnStep::OSNAlignS[4]
protected

Definition at line 344 of file lx200_OnStep.h.

◆ OSNAlignSP

ISwitchVectorProperty LX200_OnStep::OSNAlignSP
protected

Definition at line 343 of file lx200_OnStep.h.

◆ OSNAlignStarsS

ISwitch LX200_OnStep::OSNAlignStarsS[9]
protected

Definition at line 342 of file lx200_OnStep.h.

◆ OSNAlignStarsSP

ISwitchVectorProperty LX200_OnStep::OSNAlignStarsSP
protected

Definition at line 341 of file lx200_OnStep.h.

◆ OSNAlignStat

char LX200_OnStep::OSNAlignStat[RB_MAX_LEN]
protected

Definition at line 353 of file lx200_OnStep.h.

◆ OSNAlignT

IText LX200_OnStep::OSNAlignT[8] {}
protected

Definition at line 349 of file lx200_OnStep.h.

◆ OSNAlignTP

ITextVectorProperty LX200_OnStep::OSNAlignTP
protected

Definition at line 350 of file lx200_OnStep.h.

◆ OSNAlignWriteS

ISwitch LX200_OnStep::OSNAlignWriteS[1]
protected

Definition at line 346 of file lx200_OnStep.h.

◆ OSNAlignWriteSP

ISwitchVectorProperty LX200_OnStep::OSNAlignWriteSP
protected

Definition at line 345 of file lx200_OnStep.h.

◆ OSNumFocusers

int LX200_OnStep::OSNumFocusers = 0
protected

Definition at line 268 of file lx200_OnStep.h.

◆ OSOutput1S

ISwitch LX200_OnStep::OSOutput1S[2]
protected

Definition at line 356 of file lx200_OnStep.h.

◆ OSOutput1SP

ISwitchVectorProperty LX200_OnStep::OSOutput1SP
protected

Definition at line 355 of file lx200_OnStep.h.

◆ OSOutput2S

ISwitch LX200_OnStep::OSOutput2S[2]
protected

Definition at line 358 of file lx200_OnStep.h.

◆ OSOutput2SP

ISwitchVectorProperty LX200_OnStep::OSOutput2SP
protected

Definition at line 357 of file lx200_OnStep.h.

◆ OSPECCurrentIndexN

INumber LX200_OnStep::OSPECCurrentIndexN[2]
protected

Definition at line 335 of file lx200_OnStep.h.

◆ OSPECCurrentIndexNP

INumberVectorProperty LX200_OnStep::OSPECCurrentIndexNP
protected

Definition at line 334 of file lx200_OnStep.h.

◆ OSPECEnabled

bool LX200_OnStep::OSPECEnabled = false
protected

Definition at line 200 of file lx200_OnStep.h.

◆ OSPECIndexS

ISwitch LX200_OnStep::OSPECIndexS[2]
protected

Definition at line 329 of file lx200_OnStep.h.

◆ OSPECIndexSP

ISwitchVectorProperty LX200_OnStep::OSPECIndexSP
protected

Definition at line 328 of file lx200_OnStep.h.

◆ OSPECReadS

ISwitch LX200_OnStep::OSPECReadS[2]
protected

Definition at line 333 of file lx200_OnStep.h.

◆ OSPECReadSP

ISwitchVectorProperty LX200_OnStep::OSPECReadSP
protected

Definition at line 332 of file lx200_OnStep.h.

◆ OSPECRecordS

ISwitch LX200_OnStep::OSPECRecordS[3]
protected

Definition at line 331 of file lx200_OnStep.h.

◆ OSPECRecordSP

ISwitchVectorProperty LX200_OnStep::OSPECRecordSP
protected

Definition at line 330 of file lx200_OnStep.h.

◆ OSPECRWValuesN

INumber LX200_OnStep::OSPECRWValuesN[2]
protected

Definition at line 339 of file lx200_OnStep.h.

◆ OSPECRWValuesNP

INumberVectorProperty LX200_OnStep::OSPECRWValuesNP
protected

Definition at line 338 of file lx200_OnStep.h.

◆ OSPECStatusS

ISwitch LX200_OnStep::OSPECStatusS[5]
protected

Definition at line 327 of file lx200_OnStep.h.

◆ OSPECStatusSP

ISwitchVectorProperty LX200_OnStep::OSPECStatusSP
protected

Definition at line 326 of file lx200_OnStep.h.

◆ OSPECUserIndexN

INumber LX200_OnStep::OSPECUserIndexN[2]
protected

Definition at line 337 of file lx200_OnStep.h.

◆ OSPECUserIndexNP

INumberVectorProperty LX200_OnStep::OSPECUserIndexNP
protected

Definition at line 336 of file lx200_OnStep.h.

◆ OSPier

char LX200_OnStep::OSPier[RB_MAX_LEN]
protected

Definition at line 371 of file lx200_OnStep.h.

◆ OSRotator1

bool LX200_OnStep::OSRotator1 = false
protected

Definition at line 286 of file lx200_OnStep.h.

◆ OSRotatorDerotateS

ISwitch LX200_OnStep::OSRotatorDerotateS[2]
protected

Definition at line 291 of file lx200_OnStep.h.

◆ OSRotatorDerotateSP

ISwitchVectorProperty LX200_OnStep::OSRotatorDerotateSP
protected

Definition at line 290 of file lx200_OnStep.h.

◆ OSRotatorRateS

ISwitch LX200_OnStep::OSRotatorRateS[4]
protected

Definition at line 288 of file lx200_OnStep.h.

◆ OSRotatorRateSP

ISwitchVectorProperty LX200_OnStep::OSRotatorRateSP
protected

Definition at line 287 of file lx200_OnStep.h.

◆ OSSeparate_Pulse_Guide_Rate

bool LX200_OnStep::OSSeparate_Pulse_Guide_Rate = false
protected

Definition at line 374 of file lx200_OnStep.h.

◆ OSSetAltitudeN

INumber LX200_OnStep::OSSetAltitudeN[1]
protected

Definition at line 393 of file lx200_OnStep.h.

◆ OSSetAltitudeNP

INumberVectorProperty LX200_OnStep::OSSetAltitudeNP
protected

Definition at line 392 of file lx200_OnStep.h.

◆ OSSetHumidityN

INumber LX200_OnStep::OSSetHumidityN[1]
protected

Definition at line 388 of file lx200_OnStep.h.

◆ OSSetHumidityNP

INumberVectorProperty LX200_OnStep::OSSetHumidityNP
protected

Definition at line 387 of file lx200_OnStep.h.

◆ OSSetPressureN

INumber LX200_OnStep::OSSetPressureN[1]
protected

Definition at line 390 of file lx200_OnStep.h.

◆ OSSetPressureNP

INumberVectorProperty LX200_OnStep::OSSetPressureNP
protected

Definition at line 389 of file lx200_OnStep.h.

◆ OSSetTemperatureN

INumber LX200_OnStep::OSSetTemperatureN[1]
protected

Definition at line 386 of file lx200_OnStep.h.

◆ OSSetTemperatureNP

INumberVectorProperty LX200_OnStep::OSSetTemperatureNP
protected

Definition at line 385 of file lx200_OnStep.h.

◆ OSStat

char LX200_OnStep::OSStat[RB_MAX_LEN]
protected

Definition at line 367 of file lx200_OnStep.h.

◆ OSSupports_bitfield_Gu

bool LX200_OnStep::OSSupports_bitfield_Gu = false
protected

Definition at line 375 of file lx200_OnStep.h.

◆ OutputPorts

INumber LX200_OnStep::OutputPorts[PORTS_COUNT]
protected

Definition at line 361 of file lx200_OnStep.h.

◆ OutputPorts_NP

INumberVectorProperty LX200_OnStep::OutputPorts_NP
protected

Definition at line 362 of file lx200_OnStep.h.

◆ ParkStatusGU

uint8_t LX200_OnStep::ParkStatusGU = 0
protected

Definition at line 377 of file lx200_OnStep.h.

◆ PECStatusGU

uint8_t LX200_OnStep::PECStatusGU = 0
protected

Definition at line 376 of file lx200_OnStep.h.

◆ PreferredPierSideS

ISwitch LX200_OnStep::PreferredPierSideS[3]
protected

Definition at line 321 of file lx200_OnStep.h.

◆ PreferredPierSideSP

ISwitchVectorProperty LX200_OnStep::PreferredPierSideSP
protected

Definition at line 320 of file lx200_OnStep.h.

◆ ReticS

ISwitch LX200_OnStep::ReticS[2]
protected

Definition at line 299 of file lx200_OnStep.h.

◆ ReticSP

ISwitchVectorProperty LX200_OnStep::ReticSP
protected

Definition at line 298 of file lx200_OnStep.h.

◆ SetHomeS

ISwitch LX200_OnStep::SetHomeS[2]
protected

Definition at line 318 of file lx200_OnStep.h.

◆ SetHomeSP

ISwitchVectorProperty LX200_OnStep::SetHomeSP
protected

Definition at line 317 of file lx200_OnStep.h.

◆ SolarS

ISwitch LX200_OnStep::SolarS[10]
protected

Definition at line 238 of file lx200_OnStep.h.

◆ SolarSP

ISwitchVectorProperty LX200_OnStep::SolarSP
protected

Definition at line 237 of file lx200_OnStep.h.

◆ StarCatalogS

ISwitch LX200_OnStep::StarCatalogS[3]
protected

Definition at line 232 of file lx200_OnStep.h.

◆ StarCatalogSP

ISwitchVectorProperty LX200_OnStep::StarCatalogSP
protected

Definition at line 231 of file lx200_OnStep.h.

◆ TMCDrivers

bool LX200_OnStep::TMCDrivers = true
protected

Definition at line 259 of file lx200_OnStep.h.

◆ TrackAxisS

ISwitch LX200_OnStep::TrackAxisS[3]
protected

Definition at line 306 of file lx200_OnStep.h.

◆ TrackAxisSP

ISwitchVectorProperty LX200_OnStep::TrackAxisSP
protected

Definition at line 305 of file lx200_OnStep.h.

◆ TrackCompS

ISwitch LX200_OnStep::TrackCompS[3]
protected

Definition at line 303 of file lx200_OnStep.h.

◆ TrackCompSP

ISwitchVectorProperty LX200_OnStep::TrackCompSP
protected

Definition at line 302 of file lx200_OnStep.h.

◆ VersionT

IText LX200_OnStep::VersionT[5] {}
protected

Definition at line 253 of file lx200_OnStep.h.

◆ VersionTP

ITextVectorProperty LX200_OnStep::VersionTP
protected

Definition at line 252 of file lx200_OnStep.h.


The documentation for this class was generated from the following files: