Instrument Neutral Distributed Interface INDI
2.2.5
drivers
rotator
wanderer_rotator_lite.cpp
Go to the documentation of this file.
1
/*******************************************************************************
2
Copyright(c) 2025 Frank Wang & Jérémie Klein. All rights reserved.
3
4
WandererRotator Lite V1
5
6
This program is free software; you can redistribute it and/or modify it
7
under the terms of the GNU General Public License as published by the Free
8
Software Foundation; either version 2 of the License, or (at your option)
9
any later version.
10
11
This program is distributed in the hope that it will be useful, but WITHOUT
12
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14
more details.
15
16
You should have received a copy of the GNU Library General Public License
17
along with this library; see the file COPYING.LIB. If not, write to
18
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
Boston, MA 02110-1301, USA.
20
21
The full GNU General Public License is included in this distribution in the
22
file called LICENSE.
23
*******************************************************************************/
24
25
#include "
wanderer_rotator_lite.h
"
26
27
// We declare an auto pointer to WandererRotatorLiteV1.
28
static
std::unique_ptr<WandererRotatorLiteV1> wandererrotatorlitev1(
new
WandererRotatorLiteV1
());
29
30
WandererRotatorLiteV1::WandererRotatorLiteV1
(){
31
setVersion
(1, 0);
32
}
33
34
const
char
*
WandererRotatorLiteV1::getDefaultName
(){
35
return
"WandererRotator Lite V1"
;
36
}
37
38
const
char
*
WandererRotatorLiteV1::getRotatorHandshakeName
() {
39
return
"WandererRotatorLite"
;
40
}
41
42
int
WandererRotatorLiteV1::getMinimumCompatibleFirmwareVersion
() {
43
return
20240403;
44
}
45
46
int
WandererRotatorLiteV1::getStepsPerDegree
() {
47
return
1155;
48
}
INDI::DefaultDevice::setVersion
void setVersion(uint16_t vMajor, uint16_t vMinor)
Set driver version information to be defined in DRIVER_INFO property as vMajor.vMinor.
Definition
defaultdevice.cpp:1684
WandererRotatorLiteV1
Definition
wanderer_rotator_lite.h:30
WandererRotatorLiteV1::getDefaultName
const char * getDefaultName() override
Definition
wanderer_rotator_lite.cpp:34
WandererRotatorLiteV1::getMinimumCompatibleFirmwareVersion
int getMinimumCompatibleFirmwareVersion() override
Definition
wanderer_rotator_lite.cpp:42
WandererRotatorLiteV1::getRotatorHandshakeName
const char * getRotatorHandshakeName() override
Definition
wanderer_rotator_lite.cpp:38
WandererRotatorLiteV1::WandererRotatorLiteV1
WandererRotatorLiteV1()
Definition
wanderer_rotator_lite.cpp:30
WandererRotatorLiteV1::getStepsPerDegree
int getStepsPerDegree() override
Definition
wanderer_rotator_lite.cpp:46
wanderer_rotator_lite.h
Generated on Thu Oct 22 2026 09:22:00 for Instrument Neutral Distributed Interface INDI by
1.9.8