Instrument Neutral Distributed Interface INDI
2.2.5
drivers
rotator
wanderer_rotator_lite_v2.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 V2
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_v2.h
"
26
27
// We declare an auto pointer to WandererRotatorLiteV2.
28
static
std::unique_ptr<WandererRotatorLiteV2> wandererrotatorlitev2(
new
WandererRotatorLiteV2
());
29
30
WandererRotatorLiteV2::WandererRotatorLiteV2
(){
31
setVersion
(1, 0);
32
}
33
34
const
char
*
WandererRotatorLiteV2::getDefaultName
(){
35
return
"WandererRotator Lite V2"
;
36
}
37
38
const
char
*
WandererRotatorLiteV2::getRotatorHandshakeName
() {
39
return
"WandererRotatorLiteV2"
;
40
}
41
42
int
WandererRotatorLiteV2::getMinimumCompatibleFirmwareVersion
() {
43
return
20240226;
44
}
45
46
int
WandererRotatorLiteV2::getStepsPerDegree
() {
47
return
1199;
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
WandererRotatorLiteV2
Definition
wanderer_rotator_lite_v2.h:30
WandererRotatorLiteV2::getDefaultName
const char * getDefaultName() override
Definition
wanderer_rotator_lite_v2.cpp:34
WandererRotatorLiteV2::WandererRotatorLiteV2
WandererRotatorLiteV2()
Definition
wanderer_rotator_lite_v2.cpp:30
WandererRotatorLiteV2::getRotatorHandshakeName
const char * getRotatorHandshakeName() override
Definition
wanderer_rotator_lite_v2.cpp:38
WandererRotatorLiteV2::getMinimumCompatibleFirmwareVersion
int getMinimumCompatibleFirmwareVersion() override
Definition
wanderer_rotator_lite_v2.cpp:42
WandererRotatorLiteV2::getStepsPerDegree
int getStepsPerDegree() override
Definition
wanderer_rotator_lite_v2.cpp:46
wanderer_rotator_lite_v2.h
Generated on Thu Oct 22 2026 09:22:00 for Instrument Neutral Distributed Interface INDI by
1.9.8