From 4d29c155cafddf31a6a8aa367103065927614e52 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Fri, 5 May 2023 23:40:29 +0800 Subject: [PATCH 01/27] Oasis Focuser INDI driver initial version --- indi-astroasis/oasis_focuser.cpp | 432 +++++++++++++++++++++++++++++++ indi-astroasis/oasis_focuser.h | 89 +++++++ 2 files changed, 521 insertions(+) create mode 100644 indi-astroasis/oasis_focuser.cpp create mode 100644 indi-astroasis/oasis_focuser.h diff --git a/indi-astroasis/oasis_focuser.cpp b/indi-astroasis/oasis_focuser.cpp new file mode 100644 index 000000000..497e3405c --- /dev/null +++ b/indi-astroasis/oasis_focuser.cpp @@ -0,0 +1,432 @@ +/* + Astroasis Oasis Focuser + Copyright (C) 2013-2019 Jasem Mutlaq (mutlaqja@ikarustech.com) + Copyright (C) 2023 Frank Chen (frank.chen@astroasis.com) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + USA + +*/ + +#include "oasis_focuser.h" +#include "AOFocus.h" +#include "indicom.h" + +static class Loader +{ + std::deque> focusers; + public: + Loader() + { + focusers.push_back(std::unique_ptr(new OasisFocuser())); + } +} loader; + +OasisFocuser::OasisFocuser() +{ + setVersion(1, 0); + + FI::SetCapability(FOCUSER_CAN_ABS_MOVE | + FOCUSER_CAN_REL_MOVE | + FOCUSER_CAN_ABORT | + FOCUSER_CAN_REVERSE | + FOCUSER_CAN_SYNC | + FOCUSER_HAS_BACKLASH); + + // We use USB connection + setSupportedConnections(CONNECTION_NONE); +} + +bool OasisFocuser::initProperties() +{ + INDI::Focuser::initProperties(); + + // Focuser temperature + TemperatureNP[0].fill("TEMPERATURE", "Celsius", "%.2f", -50, 70., 0., 0.); + TemperatureNP.fill(getDeviceName(), "FOCUS_TEMPERATURE", "Temperature", + MAIN_CONTROL_TAB, IP_RO, 0, IPS_IDLE); + + // Focus motion beep + BeepOnMoveSP[INDI_ENABLED].fill("ON", "On", ISS_ON); + BeepOnMoveSP[INDI_DISABLED].fill("OFF", "Off", ISS_OFF); + BeepOnMoveSP.fill(getDeviceName(), "FOCUS_BEEP", "Beep", OPTIONS_TAB, IP_RW, ISR_1OFMANY, 0, IPS_IDLE); + + // Firmware version + VersionSP[0].fill("VERSION_FIRMWARE", "Firmware", "Unknown"); + VersionSP[1].fill("VERSION_SDK", "SDK", "Unknown"); + VersionSP.fill(getDeviceName(), "VERSION", "Version", INFO_TAB, IP_RO, 60, IPS_IDLE); + + FocusBacklashN[0].min = 0; + FocusBacklashN[0].max = 0x7fffffff; + FocusBacklashN[0].value = 0; + FocusBacklashN[0].step = 1; + + FocusRelPosN[0].min = 0.; + FocusRelPosN[0].max = 0x7fffffff; + FocusRelPosN[0].value = 0; + FocusRelPosN[0].step = 1; + + FocusAbsPosN[0].min = 0.; + FocusAbsPosN[0].max = 0x7fffffff; + FocusAbsPosN[0].value = 0; + FocusAbsPosN[0].step = 1; + + FocusMaxPosN[0].min = 0; + FocusMaxPosN[0].max = 0x7fffffff; + FocusMaxPosN[0].value = 0x7fffffff; + FocusMaxPosN[0].step = 1; + + setDefaultPollingPeriod(500); + addDebugControl(); + + return true; +} + +bool OasisFocuser::updateProperties() +{ + if (isConnected()) + { + GetConfig(); + GetStatus(); + + TemperatureNP.setState(IPS_OK); + defineProperty(TemperatureNP); + + defineProperty(BeepOnMoveSP); + + // Update version info + AOFocuserVersion version; + char ver[AO_FOCUSER_VERSION_LEN]; + + if (AOFocuserGetVersion(mID, &version) == AO_SUCCESS) + { + unsigned int firmware = version.firmware; + + snprintf(ver, sizeof(ver), "%d.%d.%d", + firmware >> 24, (firmware >> 16) & 0xff, (firmware >> 8) & 0xff); + + VersionSP[0].setText(ver); + } + + AOFocuserGetSDKVersion(ver); + VersionSP[1].setText(ver); + + defineProperty(VersionSP); + + IDSetNumber(&FocusAbsPosNP, nullptr); + IDSetSwitch(&FocusReverseSP, nullptr); + IDSetNumber(&FocusBacklashNP, nullptr); + + LOG_INFO("Oasis Focuser parameters updated, focuser ready for use."); + + SetTimer(getCurrentPollingPeriod()); + } + else + { + deleteProperty(TemperatureNP); + deleteProperty(BeepOnMoveSP); + deleteProperty(VersionSP); + } + + return INDI::Focuser::updateProperties(); +} + +const char * OasisFocuser::getDefaultName() +{ + return "Oasis Focuser"; +} + +bool OasisFocuser::Connect() +{ + int number, ids[AO_FOCUSER_MAX_NUM]; + + AOFocuserScan(&number, ids); + + if (number <= 0) + return false; + + // For now we always use the first found Oasis Focuser + mID = ids[0]; + + return (AOFocuserOpen(mID) == AO_SUCCESS); +} + +bool OasisFocuser::Disconnect() +{ + AOFocuserClose(mID); + + return true; +} + +bool OasisFocuser::GetConfig() +{ + AOFocuserConfig config; + + AOReturn ret = AOFocuserGetConfig(mID, &config); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to get oasis focuser configration, ret = %d\n", ret); + return false; + } + + // Update reverse settings + FocusReverseS[INDI_ENABLED].s = config.reverseDirection ? ISS_ON : ISS_OFF; + FocusReverseS[INDI_DISABLED].s = config.reverseDirection ? ISS_OFF : ISS_ON; + FocusReverseSP.s = IPS_OK; + + // Update max step + FocusAbsPosN[0].max = config.maxStep; + + // Update backlash + FocusBacklashN[0].value = config.backlash; + FocusBacklashNP.s = IPS_OK; + + // Update beep settings + BeepOnMoveSP[INDI_ENABLED].setState(config.beepOnMove ? ISS_ON : ISS_OFF); + BeepOnMoveSP[INDI_DISABLED].setState(config.beepOnMove ? ISS_OFF : ISS_ON); + BeepOnMoveSP.setState(IPS_OK); + + return true; +} + +bool OasisFocuser::GetStatus() +{ + AOFocuserStatus status; + + AOReturn ret = AOFocuserGetStatus(mID, &status); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to get oasis focuser status, ret = %d\n", ret); + return false; + } + + FocusAbsPosN[0].value = status.position; + TemperatureNP[0].setValue(status.temperatureExt / 100.0); + + return true; +} + +bool OasisFocuser::SetFocuserMaxPosition(uint32_t ticks) +{ + AOFocuserConfig config; + + config.mask = MASK_MAX_STEP; + config.maxStep = ticks; + + AOReturn ret = AOFocuserSetConfig(mID, &config); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to set Oasis Focuser max position, ret = %d\n", ret); + return false; + } + + return true; +} + +bool OasisFocuser::SetFocuserBacklash(int32_t steps) +{ + AOFocuserConfig config; + + config.mask = MASK_BACKLASH; + config.backlash = steps; + + AOReturn ret = AOFocuserSetConfig(mID, &config); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to set Oasis Focuser backlash, ret = %d\n", ret); + return false; + } + + return true; +} + +bool OasisFocuser::ReverseFocuser(bool enabled) +{ + AOFocuserConfig config; + + config.mask = MASK_REVERSE_DIRECTION; + config.reverseDirection = enabled ? 1 : 0; + + AOReturn ret = AOFocuserSetConfig(mID, &config); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to set Oasis Focuser direction, ret = %d\n", ret); + return false; + } + + return true; +} + +bool OasisFocuser::isMoving() +{ + AOFocuserStatus status; + + AOReturn ret = AOFocuserGetStatus(mID, &status); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to get oasis focuser status, ret = %d\n", ret); + return false; + } + + return (status.moving != 0); +} + +bool OasisFocuser::SyncFocuser(uint32_t ticks) +{ + AOReturn ret = AOFocuserSyncPosition(mID, ticks); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to sync Oasis Focuser position, ret = %d\n", ret); + return false; + } + + return true; +} + +bool OasisFocuser::ISNewSwitch(const char * dev, const char * name, ISState * states, char * names[], int n) +{ + if (!dev || strcmp(dev, getDeviceName()) != 0) + { + return false; + } + + // Trun on/off beep + if (BeepOnMoveSP.isNameMatch(name)) + { + BeepOnMoveSP.update(states, names, n); + + AOFocuserConfig config; + + config.mask = MASK_BEEP_ON_MOVE; + config.beepOnMove = (BeepOnMoveSP.findOnSwitchIndex() == INDI_ENABLED) ? 1 : 0; + + AOReturn ret = AOFocuserSetConfig(mID, &config); + + if (ret == AO_SUCCESS) + { + BeepOnMoveSP.setState(IPS_OK); + } + else + { + BeepOnMoveSP.setState(IPS_ALERT); + LOGF_ERROR("Failed to set Oasis Focuser BeepOnMove, ret = %d\n", ret); + } + + BeepOnMoveSP.apply(); + + return true; + } + + return INDI::Focuser::ISNewSwitch(dev, name, states, names, n); +} + +bool OasisFocuser::ISNewNumber(const char * dev, const char * name, double values[], char * names[], int n) +{ + return INDI::Focuser::ISNewNumber(dev, name, values, names, n); +} + +IPState OasisFocuser::MoveAbsFocuser(uint32_t targetTicks) +{ + AOReturn ret = AOFocuserMoveTo(mID, targetTicks); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("MoveAbsFocuser() failed, ret = %d\n", ret); + return IPS_ALERT; + } + + return IPS_BUSY; +} + +IPState OasisFocuser::MoveRelFocuser(FocusDirection dir, uint32_t ticks) +{ + int32_t newPosition = 0; + + if (dir == FOCUS_INWARD) + newPosition = FocusAbsPosN[0].value - ticks; + else + newPosition = FocusAbsPosN[0].value + ticks; + + newPosition = std::max(0, std::min(static_cast(FocusAbsPosN[0].max), newPosition)); + + AOReturn ret = AOFocuserMoveTo(mID, newPosition); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("MoveRelFocuser() failed, ret = %d\n", ret); + return IPS_ALERT; + } + + FocusRelPosN[0].value = ticks; + FocusRelPosNP.s = IPS_BUSY; + + return IPS_BUSY; +} + +void OasisFocuser::TimerHit() +{ + if (!isConnected()) + { + SetTimer(getCurrentPollingPeriod()); + return; + } + + if (GetStatus()) + { + IDSetNumber(&FocusAbsPosNP, nullptr); + + if (TemperatureNP.getState() != IPS_IDLE) + TemperatureNP.apply(); + } + + if (FocusAbsPosNP.s == IPS_BUSY || FocusRelPosNP.s == IPS_BUSY) + { + if (!isMoving()) + { + FocusAbsPosNP.s = IPS_OK; + FocusRelPosNP.s = IPS_OK; + IDSetNumber(&FocusAbsPosNP, nullptr); + IDSetNumber(&FocusRelPosNP, nullptr); + LOG_INFO("Focuser reached requested position."); + } + } + + SetTimer(getCurrentPollingPeriod()); +} + +bool OasisFocuser::AbortFocuser() +{ + AOReturn ret = AOFocuserStopMove(mID); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to stop Oasis Focuser, ret = %d\n", ret); + return false; + } + + return true; +} + +bool OasisFocuser::saveConfigItems(FILE * fp) +{ + return INDI::Focuser::saveConfigItems(fp); +} diff --git a/indi-astroasis/oasis_focuser.h b/indi-astroasis/oasis_focuser.h new file mode 100644 index 000000000..61cbabaaf --- /dev/null +++ b/indi-astroasis/oasis_focuser.h @@ -0,0 +1,89 @@ +/* + Astroasis Oasis Focuser + Copyright (C) 2013-2019 Jasem Mutlaq (mutlaqja@ikarustech.com) + Copyright (C) 2023 Frank Chen (frank.chen@astroasis.com) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + USA + +*/ + +#pragma once + +#include "indifocuser.h" + +class OasisFocuser : public INDI::Focuser +{ + public: + OasisFocuser(); + virtual ~OasisFocuser() override = default; + + const char * getDefaultName() override; + virtual bool initProperties() override; + virtual bool updateProperties() override; + virtual bool ISNewSwitch(const char * dev, const char * name, ISState * states, char * names[], int n) override; + virtual bool ISNewNumber(const char * dev, const char * name, double values[], char * names[], int n) override; + + protected: + virtual bool Connect() override; + virtual bool Disconnect() override; + + /** + * @brief MoveAbsFocuser Move to an absolute target position + * @param targetTicks target position + * @return IPS_BUSY if motion is in progress. IPS_OK if motion is small and already complete. IPS_ALERT for trouble. + */ + virtual IPState MoveAbsFocuser(uint32_t targetTicks) override; + + /** + * @brief MoveRelFocuser Move focuser for a relative amount of ticks in a specific direction + * @param dir Directoin of motion + * @param ticks steps to move + * @return IPS_BUSY if motion is in progress. IPS_OK if motion is small and already complete. IPS_ALERT for trouble. + */ + virtual IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override; + + /** + * @brief SyncFocuser Set the supplied position as the current focuser position + * @param ticks target position + * @return IPS_OK if focuser position is now set to ticks. IPS_ALERT for problems. + */ + virtual bool SyncFocuser(uint32_t ticks) override; + + virtual bool ReverseFocuser(bool enabled) override; + virtual bool SetFocuserMaxPosition(uint32_t ticks) override; + virtual bool SetFocuserBacklash(int32_t steps) override; + virtual bool AbortFocuser() override; + virtual void TimerHit() override; + virtual bool saveConfigItems(FILE *fp) override; + + private: + uint8_t mID; + + bool GetConfig(); + bool GetStatus(); + + // Are we moving? + bool isMoving(); + + // Read Only Temperature Reporting + INDI::PropertyNumber TemperatureNP{1}; + + // Beep on move setting + INDI::PropertySwitch BeepOnMoveSP{2}; + + // Firmware and SDK versions + INDI::PropertyText VersionSP{2}; +}; From 766064f67f283bd306be67c8ef95551bdeede4e2 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Sun, 7 May 2023 01:01:46 +0800 Subject: [PATCH 02/27] Find Astroasis libraries --- cmake_modules/FindASTROASIS.cmake | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 cmake_modules/FindASTROASIS.cmake diff --git a/cmake_modules/FindASTROASIS.cmake b/cmake_modules/FindASTROASIS.cmake new file mode 100644 index 000000000..35f8c591d --- /dev/null +++ b/cmake_modules/FindASTROASIS.cmake @@ -0,0 +1,49 @@ +# - Try to find Astroasis Library +# Once done this will define +# +# ASTROASIS_FOUND - system has Astroasis +# ASTROASIS_INCLUDE_DIR - the Astroasis include directory +# ASTROASIS_LIBRARIES - Link these to use Astroasis + +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + +if (ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) + + # in cache already + set(ASTROASIS_FOUND TRUE) + message(STATUS "Found libastroasis: ${ASTROASIS_LIBRARIES}") + +else (ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) + + find_path(ASTROASIS_INCLUDE_DIR AOFocus.h + PATH_SUFFIXES libastroasis + ${_obIncDir} + ${GNUWIN32_DIR}/include + ) + + find_library(ASTROASIS_LIBRARIES NAMES oasisfocuser + PATHS + ${_obLinkDir} + ${GNUWIN32_DIR}/lib + ) + + if(ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) + set(ASTROASIS_FOUND TRUE) + else (ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) + set(ASTROASIS_FOUND FALSE) + endif(ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) + + if (ASTROASIS_FOUND) + if (NOT ASTROASIS_FIND_QUIETLY) + message(STATUS "Found Astroasis Library: ${ASTROASIS_LIBRARIES}") + endif (NOT ASTROASIS_FIND_QUIETLY) + else (ASTROASIS_FOUND) + if (ASTROASIS_FIND_REQUIRED) + message(FATAL_ERROR "Astroasis Library not found. Please install Astroasis Library http://www.indilib.org") + endif (ASTROASIS_FIND_REQUIRED) + endif (ASTROASIS_FOUND) + + mark_as_advanced(ASTROASIS_INCLUDE_DIR ASTROASIS_LIBRARIES) + +endif (ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) From 2e41da8b4edd21d3077ac16621d5c17b3c5523aa Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Sun, 7 May 2023 15:33:21 +0800 Subject: [PATCH 03/27] Initial version for Oasis Focuser INDI driver --- indi-astroasis/CMakeLists.txt | 47 +++ indi-astroasis/COPYING.LGPL | 502 ++++++++++++++++++++++++ indi-astroasis/config.h.cmake | 10 + indi-astroasis/indi_astroasis.xml.cmake | 9 + 4 files changed, 568 insertions(+) create mode 100644 indi-astroasis/CMakeLists.txt create mode 100644 indi-astroasis/COPYING.LGPL create mode 100644 indi-astroasis/config.h.cmake create mode 100644 indi-astroasis/indi_astroasis.xml.cmake diff --git a/indi-astroasis/CMakeLists.txt b/indi-astroasis/CMakeLists.txt new file mode 100644 index 000000000..66ef90ff3 --- /dev/null +++ b/indi-astroasis/CMakeLists.txt @@ -0,0 +1,47 @@ +cmake_minimum_required(VERSION 3.0) +PROJECT(indi_astroasis CXX C) + +LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/") +LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules/") +include(GNUInstallDirs) + +find_package(ASTROASIS REQUIRED) +find_package(CFITSIO REQUIRED) +find_package(INDI REQUIRED) +find_package(ZLIB REQUIRED) +find_package(USB1 REQUIRED) +find_package(Threads REQUIRED) + +set(ASTROASIS_VERSION_MAJOR 1) +set(ASTROASIS_VERSION_MINOR 0) + +set(INDI_DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/indi") + +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h ) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/indi_astroasis.xml.cmake ${CMAKE_CURRENT_BINARY_DIR}/indi_astroasis.xml) + +include_directories( ${CMAKE_CURRENT_BINARY_DIR}) +include_directories( ${CMAKE_CURRENT_SOURCE_DIR}) +include_directories( ${INDI_INCLUDE_DIR}) +include_directories( ${CFITSIO_INCLUDE_DIR}) +include_directories( ${ASTROASIS_INCLUDE_DIR}) + +include(CMakeCommon) + +########### indi_oasis_focuser ########### +add_executable(indi_oasis_focuser ${CMAKE_CURRENT_SOURCE_DIR}/oasis_focuser.cpp) +IF (APPLE) +set(CMAKE_EXE_LINKER_FLAGS "-framework IOKit -framework CoreFoundation") +target_link_libraries(indi_oasis_focuser ${INDI_LIBRARIES} ${ASTROASIS_LIBRARIES} ${LIBUSB_LIBRARIES}) +ELSE() +target_link_libraries(indi_oasis_focuser ${INDI_LIBRARIES} ${ASTROASIS_LIBRARIES} ${USB1_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) +ENDIF() + +##################################### + +if (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*") +target_link_libraries(indi_oasis_focuser rt) +endif (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*") + +install(TARGETS indi_oasis_focuser RUNTIME DESTINATION bin) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/indi_astroasis.xml DESTINATION ${INDI_DATA_DIR}) diff --git a/indi-astroasis/COPYING.LGPL b/indi-astroasis/COPYING.LGPL new file mode 100644 index 000000000..4362b4915 --- /dev/null +++ b/indi-astroasis/COPYING.LGPL @@ -0,0 +1,502 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/indi-astroasis/config.h.cmake b/indi-astroasis/config.h.cmake new file mode 100644 index 000000000..a8c56e892 --- /dev/null +++ b/indi-astroasis/config.h.cmake @@ -0,0 +1,10 @@ +#ifndef CONFIG_H +#define CONFIG_H + +/* Define INDI Data Dir */ +#cmakedefine INDI_DATA_DIR "@INDI_DATA_DIR@" +/* Define Driver version */ +#define ASTROASIS_VERSION_MAJOR @ASTROASIS_VERSION_MAJOR@ +#define ASTROASIS_VERSION_MINOR @ASTROASIS_VERSION_MINOR@ + +#endif // CONFIG_H diff --git a/indi-astroasis/indi_astroasis.xml.cmake b/indi-astroasis/indi_astroasis.xml.cmake new file mode 100644 index 000000000..908729be2 --- /dev/null +++ b/indi-astroasis/indi_astroasis.xml.cmake @@ -0,0 +1,9 @@ + + + + + indi_oasis_focuser + @ASTROASIS_VERSION_MAJOR@.@ASTROASIS_VERSION_MINOR@ + + + From 7a2ab413550775c8a30f634aced33e1850dba151 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Sun, 7 May 2023 16:10:10 +0800 Subject: [PATCH 04/27] Initial version for Oasis Focuser INDI driver --- libastroasis/99-astroasis.rules | 2 + libastroasis/CMakeLists.txt | 46 ++++++++++++++++++ libastroasis/libastroasis.spec | 84 +++++++++++++++++++++++++++++++++ 3 files changed, 132 insertions(+) create mode 100644 libastroasis/99-astroasis.rules create mode 100644 libastroasis/CMakeLists.txt create mode 100644 libastroasis/libastroasis.spec diff --git a/libastroasis/99-astroasis.rules b/libastroasis/99-astroasis.rules new file mode 100644 index 000000000..496ce9856 --- /dev/null +++ b/libastroasis/99-astroasis.rules @@ -0,0 +1,2 @@ +# Astroasis devices +SUBSYSTEMS=="usb", ATTR{idVendor}=="0x338f", MODE="0666" diff --git a/libastroasis/CMakeLists.txt b/libastroasis/CMakeLists.txt new file mode 100644 index 000000000..f9cf3a270 --- /dev/null +++ b/libastroasis/CMakeLists.txt @@ -0,0 +1,46 @@ +cmake_minimum_required (VERSION 3.0) +project (libastroasis) + +set (OASISFOCUSER_VERSION "1.0.3") +set (OASISFOCUSER_SOVERSION "1") + +list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/") +list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules/") +include (GNUInstallDirs) +include (InstallImported) + +add_library (oasisfocuser SHARED IMPORTED) + +set_target_properties (oasisfocuser PROPERTIES VERSION ${OASISFOCUSER_VERSION} SOVERSION ${OASISFOCUSER_SOVERSION}) + +if (APPLE) + + set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "mac/liboasisfocuser.bin") + + FIX_MACOS_LIBRARIES("liboasisfocuser" "mac/liboasisfocuser.bin" "ASTROASIS") + + # Install library + install_imported (TARGETS oasisfocuser DESTINATION ${CMAKE_INSTALL_LIBDIR}) + +elseif (UNIX AND NOT WIN32) + if (CMAKE_SYSTEM_PROCESSOR MATCHES "armv+") + set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "armhf/liboasisfocuser.bin") + elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64") + set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "arm64/liboasisfocuser.bin") + elseif (CMAKE_SIZEOF_VOID_P MATCHES "8") + set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "x64/liboasisfocuser.bin") + else () + set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "x86/liboasisfocuser.bin") + endif () + + # Install udev rules + set (UDEVRULES_INSTALL_DIR "/lib/udev/rules.d" CACHE STRING "Base directory for udev rules") + install (FILES 99-astroasis.rules DESTINATION ${UDEVRULES_INSTALL_DIR}) + + # Install library + install_imported (TARGETS oasisfocuser DESTINATION ${CMAKE_INSTALL_LIBDIR}) + +endif () + +# Install header files +install (FILES AOFocus.h DESTINATION include/libastroasis) diff --git a/libastroasis/libastroasis.spec b/libastroasis/libastroasis.spec new file mode 100644 index 000000000..787e55cc3 --- /dev/null +++ b/libastroasis/libastroasis.spec @@ -0,0 +1,84 @@ +%define __cmake_in_source_build %{_vpath_builddir} +Name: libastroasis +Version:2.0.2.git +Release: %(date -u +%%Y%%m%%d%%H%%M%%S)%{?dist} +Summary: Instrument Neutral Distributed Interface 3rd party drivers + +License: LGPLv2 +# See COPYRIGHT file for a description of the licenses and files covered + +URL: https://indilib.org +Source0: https://github.com/indilib/indi-3rdparty/archive/master.tar.gz + +%global debug_package %{nil} +%define __find_requires %{nil} + +BuildRequires: cmake +BuildRequires: libfli-devel +BuildRequires: libnova-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: systemd +BuildRequires: gphoto2-devel +BuildRequires: LibRaw-devel +BuildRequires: indi-libs +BuildRequires: indi-devel +BuildRequires: libtiff-devel +BuildRequires: cfitsio-devel +BuildRequires: zlib-devel +BuildRequires: gsl-devel +BuildRequires: libcurl-devel +BuildRequires: libjpeg-turbo-devel +BuildRequires: fftw-devel +BuildRequires: libftdi-devel +BuildRequires: gpsd-devel +BuildRequires: libdc1394-devel +BuildRequires: boost-devel +BuildRequires: boost-regex + +BuildRequires: gmock + +BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(cfitsio) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(gsl) +BuildRequires: pkgconfig(libjpeg) +BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: pkgconfig(zlib) + +Provides: liboasisfocuser.so()(64bit) +Provides: liboasisfocuser.so + +%description +INDI is a distributed control protocol designed to operate +astronomical instrumentation. INDI is small, flexible, easy to parse, +and scalable. It supports common DCS functions such as remote control, +data acquisition, monitoring, and a lot more. This is a 3rd party driver. + + +%prep -v +%autosetup -v -p1 -n indi-3rdparty-master + +%build +# This package tries to mix and match PIE and PIC which is wrong and will +# trigger link errors when LTO is enabled. +# Disable LTO +%define _lto_cflags %{nil} + +cd libastroasis +%cmake . +make VERBOSE=1 %{?_smp_mflags} -j4 + +%install +cd libastroasis +find %buildroot -type f \( -name '*.so' -o -name '*.so.*' \) -exec chmod 755 {} + +make DESTDIR=%{buildroot} install + +%files +%{_libdir}/* +%{_includedir}/libastroasis +/lib/udev/rules.d/99-astroasis.rules + +%changelog +* Mon Jul 27 2020 Jim Howard 1.8.7.git-1 +- update to build from git for copr, credit to Sergio Pascual and Christian Dersch for prior work on spec files + From 262dc195e9cb9798490e94b7f8f44f54f109d962 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Mon, 8 May 2023 23:10:33 +0800 Subject: [PATCH 05/27] Oasis Focuser SDK header file --- libastroasis/AOFocus.h | 181 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 181 insertions(+) create mode 100644 libastroasis/AOFocus.h diff --git a/libastroasis/AOFocus.h b/libastroasis/AOFocus.h new file mode 100644 index 000000000..5d6e875ca --- /dev/null +++ b/libastroasis/AOFocus.h @@ -0,0 +1,181 @@ +/* + * Copyright 2023 Suzhou Astroasis Vision Technology, Inc. All Rights Reserved. + * + * This is header file for Astroasis Oasis Focuser. + * + * Note: + * 1. AOFocuserScan() should be called before any other APIs (except for + * AOFocuserGetSDKVersion()) for at least one time because those APIs require + * focuser ID as their first parameter. + * 2. AOFocuserScan() can be called for multiple times at any time as long as + * the user wants to refresh focusers. + * 3. AOFocuserGetSDKVersion() can be called at anytime and any place. + * 4. The buffer length for names (including product model, serial number, + * friendly name, Bluetooth name) should not less than AO_FOCUSER_NAME_LEN. + * 5. The list of API functions are as follows. + * AOFocuserScan(int *number, int *ids); + * AOFocuserOpen(int id); + * AOFocuserClose(int id); + * AOFocuserGetProductModel(int id, char *model); + * AOFocuserGetVersion(int id, AOFocuserVersion *version); + * AOFocuserGetSerialNumber(int id, char *sn); + * AOFocuserGetFriendlyName(int id, char *name); + * AOFocuserSetFriendlyName(int id, char *name); + * AOFocuserGetBluetoothName(int id, char *name); + * AOFocuserSetBluetoothName(int id, char *name); + * AOFocuserGetConfig(int id, AOFocuserConfig *config); + * AOFocuserSetConfig(int id, AOFocuserConfig *config); + * AOFocuserGetStatus(int id, AOFocuserStatus *status); + * AOFocuserFactoryReset(int id); + * AOFocuserSetZeroPosition(int id); + * AOFocuserMove(int id, int step); + * AOFocuserMoveTo(int id, int position); + * AOFocuserStopMove(int id); + * AOFocuserFirmwareUpgrade(int id, unsigned char *data, int len); + * AOFocuserGetSDKVersion(char *version); + * + * Refer to SDK demo application for the details of the API usage. + */ + +#ifndef __AOFOCUS_H__ +#define __AOFOCUS_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _WINDOWS +#define AOAPI __declspec(dllexport) +#else +#define AOAPI +#endif + +#define AO_FOCUSER_MAX_NUM 32 /* Maximum focuser numbers supported by this SDK */ +#define AO_FOCUSER_VERSION_LEN 32 /* Buffer length for version strings */ +#define AO_FOCUSER_NAME_LEN 32 /* Buffer length for name strings */ + +#define TEMPERATURE_INVALID 0x80000000 /* This value indicates the invalid value of ambient temperature */ + +typedef enum _AOReturn { + AO_SUCCESS = 0, /* Success */ + AO_ERROR_INVALID_ID, /* Device ID is invalid */ + AO_ERROR_INVALID_PARAMETER, /* One or more parameters are invalid */ + AO_ERROR_INVALID_STATE, /* Device is not in correct state for specific API call */ + AO_ERROR_BUFFER_TOO_SMALL, /* Size of buffer is too small */ + AO_ERROR_COMMUNICATION, /* Data communication error such as device has been removed from USB port */ + AO_ERROR_TIMEOUT, /* Timeout occured */ + AO_ERROR_BUSY, /* Device is being used by another application */ + AO_ERROR_NULL_POINTER, /* Caller passes null-pointer parameter which is not expected */ + AO_ERROR_OUT_OF_RESOURCE, /* Out of resouce such as lack of memory */ + AO_ERROR_NOT_IMPLEMENTED, /* The interface is not currently supported */ + AO_ERROR_FAULT, /* Significant fault which means the device may not work correctly and hard to recovery it */ + AO_ERROR_INVALID_SIZE, /* Size is invalid */ + AO_ERROR_INVALID_VERSION, /* Version is invalid */ + AO_ERROR_UNKNOWN = 0x40, /* Any other errors */ +} AOReturn; + +/* + * Used by AOFocuserSetConfig() to indicates which field wants to be set + */ +#define MASK_MAX_STEP 0x00000001 +#define MASK_BACKLASH 0x00000002 +#define MASK_BACKLASH_DIRECTION 0x00000004 +#define MASK_REVERSE_DIRECTION 0x00000008 +#define MASK_SPEED 0x00000010 +#define MASK_BEEP_ON_MOVE 0x00000020 +#define MASK_BEEP_ON_STARTUP 0x00000040 +#define MASK_BLUETOOTH 0x00000080 +#define MASK_ALL 0xFFFFFFFF + +typedef struct _AOFocuserVersion +{ + unsigned int protocal; /* Version of protocal over USB and Bluetooth communication */ + unsigned int hardware; /* Focuser hardware version */ + unsigned int firmware; /* Focuser firmware version */ + char built[24]; /* Null-terminated string which indicates firmware building time */ +} AOFocuserVersion; + +typedef struct _AOFocuserConfig { + unsigned int mask; /* Used by AOFocuserSetConfig() to indicates which field wants to be set */ + int maxStep; /* Maximum step or position */ + int backlash; /* Backlash value */ + int backlashDirection; /* Backlash direction. 0 - IN, others - OUT */ + int reverseDirection; /* 0 - Not reverse motor moving direction, others - Reverse motor moving direction */ + int speed; /* Reserved for motor speed setting. Should always be zero for now */ + int beepOnMove; /* 0 - Turn off beep for move, others - Turn on beep for move */ + int beepOnStartup; /* 0 - Turn off beep for device startup, others - Turn on beep for device startup */ + int bluetoothOn; /* 0 - Turn off Bluetooth, others - Turn on Bluetooth */ +} AOFocuserConfig; + +/* + * Note: + * temperatureExt is valid only when temperatureDetection is not zero and + * temperatureExt is not equal to TEMPERATURE_INVALID + */ +typedef struct _AOFocuserStatus { + int temperatureInt; /* Internal (on board) temperature in 0.01 degree unit */ + int temperatureExt; /* External (ambient) temperature in 0.01 degree unit */ + int temperatureDetection; /* 0 - ambient temperature probe is not inserted, others - ambient temperature probe is inserted */ + int position; /* Current motor position */ + int moving; /* 0 - Motor is not moving, others - Motor is moving */ +} AOFocuserStatus; + +/* + * API: AOFocuserScan + * + * Description + * Scan for connected focusers. + * + * Parameters + * number: + * Pointer to an int value to hold the number of connected focusers. + * ids: + * Pointer to an int array to hold IDs of connected focusers. + * The length of the 'ids' array should be equal to or larger than + * AO_FOCUSER_MAX_NUM, and it's the caller's responsibility to allocate + * memory for "ids" before the API is called. + * The valid IDs are stored in first "number" of elements in "ids" array. + * + * Return value + * AO_SUCCESS: + * The function succeeds. This is the only value the API returns. + * + * Remarks + * This function should be called before any other APIs except for + * AOCameraGetSDKVersion(). + * Each focuser has a unique ID. If one focuser is removed from USB port + * and then plugged in again, it will be considered as different focuser + * and will be assigned with different ID during next scan. If one focuser + * remains connected during two or more scan operations, it will always + * have the same ID to indicate it's the same focuser. That is, the caller + * can call AOFocuserScan() at any time and the IDs of connected focusers + * returned by previous AOFocuserScan() will still be valid. + */ +AOAPI AOReturn AOFocuserScan(int *number, int *ids); +AOAPI AOReturn AOFocuserOpen(int id); +AOAPI AOReturn AOFocuserClose(int id); +AOAPI AOReturn AOFocuserGetProductModel(int id, char *model); +AOAPI AOReturn AOFocuserGetVersion(int id, AOFocuserVersion *version); +AOAPI AOReturn AOFocuserGetSerialNumber(int id, char *sn); +AOAPI AOReturn AOFocuserGetFriendlyName(int id, char *name); +AOAPI AOReturn AOFocuserSetFriendlyName(int id, char *name); +AOAPI AOReturn AOFocuserGetBluetoothName(int id, char *name); +AOAPI AOReturn AOFocuserSetBluetoothName(int id, char *name); +AOAPI AOReturn AOFocuserGetConfig(int id, AOFocuserConfig *config); +AOAPI AOReturn AOFocuserSetConfig(int id, AOFocuserConfig *config); +AOAPI AOReturn AOFocuserGetStatus(int id, AOFocuserStatus *status); +AOAPI AOReturn AOFocuserFactoryReset(int id); +AOAPI AOReturn AOFocuserSetZeroPosition(int id); +AOAPI AOReturn AOFocuserSyncPosition(int id, int position); +AOAPI AOReturn AOFocuserMove(int id, int step); +AOAPI AOReturn AOFocuserMoveTo(int id, int position); +AOAPI AOReturn AOFocuserStopMove(int id); +AOAPI AOReturn AOFocuserUpgrade(int id); +AOAPI AOReturn AOFocuserFirmwareUpgrade(int id, unsigned char *data, int len); +AOAPI AOReturn AOFocuserGetSDKVersion(char *version); + +#ifdef __cplusplus +} +#endif + +#endif /* __AOFOCUS_H__ */ From 030560b9f13613be13c53d588c63f829e0bf4351 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Tue, 9 May 2023 01:21:59 +0800 Subject: [PATCH 06/27] Added Astroasis driver --- CMakeLists.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a0ff51f6..78a2386b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -200,6 +200,7 @@ option(WITH_SVBONY "Install SVBONY Camera Driver" On) option(WITH_BRESSEREXOS2 "Install Bresser Exos 2 GoTo Mount Driver" On) option(WITH_PLAYERONE "Install Player One Astronomy's Camera Driver" On) option(WITH_WEEWX_JSON "Install Weewx JSON Driver" On) +option(WITH_ASTROASIS "Install Astroasis Driver" On) # FFMPEG required for INDI Webcam driver find_package(FFmpeg) @@ -240,6 +241,7 @@ IF (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") set(WITH_GPSD Off) set(WITH_AHP_XC Off) set(WITH_AHP_GT Off) + set(WITH_ASTROASIS Off) ENDIF () # Disable apogee, qhy and mi with gcc 4.8 and earlier versions IF (CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9) @@ -267,6 +269,7 @@ if (NO_PRE_BUILT) SET(WITH_SBIG Off) SET(WITH_SVBONY Off) SET(WITH_TOUPBASE Off) + SET(WITH_ASTROASIS Off) endif(NO_PRE_BUILT) # If the Build Libs option is selected, it will just build the required libraries. @@ -364,6 +367,11 @@ if (WITH_PLAYERONE) add_subdirectory(libplayerone) endif(WITH_PLAYERONE) +#libastroasis +if (WITH_ASTROASIS) +add_subdirectory(libastroasis) +endif(WITH_ASTROASIS) + # This is the main 3rd Party build. It runs if the Build Libs option is not selected. ELSE(BUILD_LIBS) @@ -744,6 +752,17 @@ if (WITH_NUT) add_subdirectory(indi-nut) endif() +# Astroasis +if (WITH_ASTROASIS) +find_package(ASTROASIS) +if (ASTROASIS_FOUND) +add_subdirectory(indi-astroasis) +else (ASTROASIS_FOUND) +add_subdirectory(libastroasis) +SET(LIBRARIES_FOUND FALSE) +endif(ASTROASIS_FOUND) +endif(WITH_ASTROASIS) + # Check if libraries are found. If not, we must build them, install them, THEN run CMake again to build and instal the drivers. If all the libraraies are installed, then we build and install the drivers only now. if (LIBRARIES_FOUND) message(STATUS "############################################################################") @@ -845,6 +864,10 @@ if (WITH_AHPGT AND NOT AHPGT_FOUND) message(STATUS "libahp-gt was not found and will now be built. Please install libahp-gt first before running cmake again to install indi-ahpgt.") endif (WITH_AHPGT AND NOT AHPGT_FOUND) +if (WITH_ASTROASIS AND NOT ASTROASIS_FOUND) +message(STATUS "libastroasis was not found and will now be built. Please install libastroasis first before running cmake again to install indi-astroasis.") +endif (WITH_ASTROASIS AND NOT ASTROASIS_FOUND) + message(STATUS "####################################################################################################################################") endif (LIBRARIES_FOUND) From 1090e962a94abebeaa81ab2343b0cbc42a15a42a Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Tue, 9 May 2023 14:07:00 +0800 Subject: [PATCH 07/27] Added readme and installation files --- indi-astroasis/INSTALL | 16 ++++++++++++++++ indi-astroasis/README | 7 +++++++ 2 files changed, 23 insertions(+) create mode 100644 indi-astroasis/INSTALL create mode 100644 indi-astroasis/README diff --git a/indi-astroasis/INSTALL b/indi-astroasis/INSTALL new file mode 100644 index 000000000..272c1a309 --- /dev/null +++ b/indi-astroasis/INSTALL @@ -0,0 +1,16 @@ +Installation instructions +========================= + +Compile Instructions + - Assumption: INDI package installed (see https://indilib.org/download.html) + - Retrieve the sources for the Astroasis driver + git clone https://github.com/astroasis/indi-3rdparty.git + - cd indi-3rdparty + checkout branch "master" + - mkdir -p build/indi-astroasis + - cd build/indi-astroasis + - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../../indi-astroasis + - sudo make install + +And now start the INDI server and kstars. + diff --git a/indi-astroasis/README b/indi-astroasis/README new file mode 100644 index 000000000..e3d7585a8 --- /dev/null +++ b/indi-astroasis/README @@ -0,0 +1,7 @@ +Astroasis Oasis Focuser INDI Driver +By Frank Chen + +Description +INDI driver to control the Oasis Focuser. + +For installation instructions please follow the instructions from INSTALL. From 9493f493750df61f30196138e2b95d25c0b0a31d Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Tue, 9 May 2023 14:09:20 +0800 Subject: [PATCH 08/27] Use version info from CMakeLists.txt --- indi-astroasis/oasis_focuser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indi-astroasis/oasis_focuser.cpp b/indi-astroasis/oasis_focuser.cpp index 497e3405c..0fba635d6 100644 --- a/indi-astroasis/oasis_focuser.cpp +++ b/indi-astroasis/oasis_focuser.cpp @@ -21,6 +21,7 @@ */ #include "oasis_focuser.h" +#include "config.h" #include "AOFocus.h" #include "indicom.h" @@ -36,7 +37,7 @@ static class Loader OasisFocuser::OasisFocuser() { - setVersion(1, 0); + setVersion(ASTROASIS_VERSION_MAJOR, ASTROASIS_VERSION_MINOR); FI::SetCapability(FOCUSER_CAN_ABS_MOVE | FOCUSER_CAN_REL_MOVE | From 794ac20a5684a7496c01b0caeb41a422abd335af Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Tue, 9 May 2023 14:12:49 +0800 Subject: [PATCH 09/27] Updated sdk version to 1.0.5 --- libastroasis/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libastroasis/CMakeLists.txt b/libastroasis/CMakeLists.txt index f9cf3a270..fa70756e6 100644 --- a/libastroasis/CMakeLists.txt +++ b/libastroasis/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required (VERSION 3.0) project (libastroasis) -set (OASISFOCUSER_VERSION "1.0.3") +set (OASISFOCUSER_VERSION "1.0.5") set (OASISFOCUSER_SOVERSION "1") list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/") From c22029c9859a176319e18cf81e54d76d0e51d5c1 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Tue, 9 May 2023 14:40:13 +0800 Subject: [PATCH 10/27] Added spec file --- indi-astroasis/indi-astroasis.spec | 78 ++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 indi-astroasis/indi-astroasis.spec diff --git a/indi-astroasis/indi-astroasis.spec b/indi-astroasis/indi-astroasis.spec new file mode 100644 index 000000000..1a1848b69 --- /dev/null +++ b/indi-astroasis/indi-astroasis.spec @@ -0,0 +1,78 @@ +%define __cmake_in_source_build %{_vpath_builddir} +Name: indi-astroasis +Version:2.0.2.git +Release: %(date -u +%%Y%%m%%d%%H%%M%%S)%{?dist} +Summary: Instrument Neutral Distributed Interface 3rd party drivers + +License: LGPLv2 +# See COPYRIGHT file for a description of the licenses and files covered + +URL: https://indilib.org +Source0: https://github.com/indilib/indi-3rdparty/archive/master.tar.gz + +BuildRequires: cmake +BuildRequires: libfli-devel +BuildRequires: libnova-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: systemd +BuildRequires: gphoto2-devel +BuildRequires: LibRaw-devel +BuildRequires: indi-libs +BuildRequires: indi-devel +BuildRequires: libtiff-devel +BuildRequires: cfitsio-devel +BuildRequires: zlib-devel +BuildRequires: gsl-devel +BuildRequires: libcurl-devel +BuildRequires: libjpeg-turbo-devel +BuildRequires: fftw-devel +BuildRequires: libftdi-devel +BuildRequires: gpsd-devel +BuildRequires: libdc1394-devel +BuildRequires: boost-devel +BuildRequires: boost-regex + +BuildRequires: gmock + +BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(cfitsio) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(gsl) +BuildRequires: pkgconfig(libjpeg) +BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: pkgconfig(zlib) + +Requires: libastroasis + +%description +INDI is a distributed control protocol designed to operate +astronomical instrumentation. INDI is small, flexible, easy to parse, +and scalable. It supports common DCS functions such as remote control, +data acquisition, monitoring, and a lot more. This is a 3rd party driver. + + +%prep -v +%autosetup -v -p1 -n indi-3rdparty-master + +%build +# This package tries to mix and match PIE and PIC which is wrong and will +# trigger link errors when LTO is enabled. +# Disable LTO +%define _lto_cflags %{nil} + +cd indi-astroasis +%cmake -DINDI_DATA_DIR=/usr/share/indi . +make VERBOSE=1 %{?_smp_mflags} -j4 + +%install +cd indi-astroasis +make DESTDIR=%{buildroot} install + +%files +%{_bindir}/* +%{_datadir}/indi + +%changelog +* Sun Jul 19 2020 Jim Howard 1.8.7.git-1 +- update to build from git for copr, credit to Sergio Pascual and Christian Dersch for prior work on spec files + From 4b3006abde95e1f00306eb06c69b5f13b1100409 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Tue, 9 May 2023 14:56:53 +0800 Subject: [PATCH 11/27] Updated for coding style --- indi-astroasis/oasis_focuser.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/indi-astroasis/oasis_focuser.cpp b/indi-astroasis/oasis_focuser.cpp index 0fba635d6..ce982894e 100644 --- a/indi-astroasis/oasis_focuser.cpp +++ b/indi-astroasis/oasis_focuser.cpp @@ -100,28 +100,28 @@ bool OasisFocuser::updateProperties() if (isConnected()) { GetConfig(); - GetStatus(); + GetStatus(); TemperatureNP.setState(IPS_OK); defineProperty(TemperatureNP); defineProperty(BeepOnMoveSP); - // Update version info + // Update version info AOFocuserVersion version; char ver[AO_FOCUSER_VERSION_LEN]; - if (AOFocuserGetVersion(mID, &version) == AO_SUCCESS) - { - unsigned int firmware = version.firmware; + if (AOFocuserGetVersion(mID, &version) == AO_SUCCESS) + { + unsigned int firmware = version.firmware; snprintf(ver, sizeof(ver), "%d.%d.%d", - firmware >> 24, (firmware >> 16) & 0xff, (firmware >> 8) & 0xff); + firmware >> 24, (firmware >> 16) & 0xff, (firmware >> 8) & 0xff); VersionSP[0].setText(ver); } - AOFocuserGetSDKVersion(ver); + AOFocuserGetSDKVersion(ver); VersionSP[1].setText(ver); defineProperty(VersionSP); @@ -315,14 +315,14 @@ bool OasisFocuser::ISNewSwitch(const char * dev, const char * name, ISState * st { BeepOnMoveSP.update(states, names, n); - AOFocuserConfig config; + AOFocuserConfig config; - config.mask = MASK_BEEP_ON_MOVE; - config.beepOnMove = (BeepOnMoveSP.findOnSwitchIndex() == INDI_ENABLED) ? 1 : 0; + config.mask = MASK_BEEP_ON_MOVE; + config.beepOnMove = (BeepOnMoveSP.findOnSwitchIndex() == INDI_ENABLED) ? 1 : 0; - AOReturn ret = AOFocuserSetConfig(mID, &config); + AOReturn ret = AOFocuserSetConfig(mID, &config); - if (ret == AO_SUCCESS) + if (ret == AO_SUCCESS) { BeepOnMoveSP.setState(IPS_OK); } @@ -334,7 +334,7 @@ bool OasisFocuser::ISNewSwitch(const char * dev, const char * name, ISState * st BeepOnMoveSP.apply(); - return true; + return true; } return INDI::Focuser::ISNewSwitch(dev, name, states, names, n); From 1c6d1a355d0e3ad2fbd730490477770d96bfc6bc Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Tue, 9 May 2023 10:33:19 +0100 Subject: [PATCH 12/27] Oasis focuser sdk lib file for armhf --- libastroasis/armhf/liboasisfocuser.bin | Bin 0 -> 33232 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100755 libastroasis/armhf/liboasisfocuser.bin diff --git a/libastroasis/armhf/liboasisfocuser.bin b/libastroasis/armhf/liboasisfocuser.bin new file mode 100755 index 0000000000000000000000000000000000000000..116eb525bdf075e223709c8a2fbe0c4543f7c618 GIT binary patch literal 33232 zcmeHw4|r77weOxxkRb#ZAVLaJkNh(zgc%4D5j7zYg9Hc=eW`Fe49Sp;B$=2@Fi>BE z1TAgxN|oEk{j`$4a{IW}+LZEHYN^G_tEtjn+WN2R(Ui;74d!I9BwJj_wak*SVUv7~rh?R~LA|J5vzvEB37?dw8 zF&KF{Vm$L3cdQUX2Tz(14C#_o$nuEBuSY6`U>GD*Tr%Gq5W*X9$>2lTS1%C)|8cnl zP?3%NY~(YX0M5XCEh7s`=r9TC3_5RlELsipoQvhX2rH0p%I`xO1Ix4Sgjon~gqxS% zDt`ElJ#$w~8g**p``3ItW%KVIJu!IrjAG@9R#g+f^1{fqW{Hw&+4vuBd%y6p953a#uk@|ud^yslOW(*S26 z_!T}Aa25jFXbwUF!gUDxx?V-*0p5sklfnxD=Oa-61qdYwr3kzh*&zP+78NT4T&CjX zfM|NLQsK8L_}>645k8A>JHjf2)d+uwU|ws0tVO6o(2W#ATwgVatT}M>#L+wd@~aj3 zE1zC6{?JFORzH33xI4c2`|#04zy8C+CEfQ`);;@Cc)~wi{%-e~jo*FZ~%XTYmS$Ezj2MYFYaalTN(!xkt-?k#+Um_uX~b zm(DJkniqQIZEw|Mr>}bJi}SzzN@;BSx7RPf{Mc&GtdU*r>g5IRte953yws}ipFena z&zR`x$J8sC^5!M|wW`JO7i<57Txr;frHz%q@GK5c7iU zwd}8#il5q9^6x18W&7%D0wV0M`mzu?$U&hl((kib$rRF-8~Ma{$sGF+>3`@+BoKey zC{O&}M7AJ4-^eGw-H!5a8u&=$k9E-RbLeAa3k&q6MtRB`Vh~W?bB_F{2P08k%>Nfh z{_mUK6ZOcx0(}B}s9!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R+$gU;`Ch~&&q;b|$QpR@s;#W@%zoF&m(+9%pM&X1&B%wd>f zbeqnU$Sld#PQ1M^h|cFqiX-AYeykkY`>zGNq+3vuzpi5G=SX_hF-*?>*KFVk)duhq z_33Wak|tl%V_$O5PPoyF%Vc#EKA_?bcv7h+9nhHtlPd0<2jllGc${)tE!neDoTYy0 z*Fo;^(!?9~dAt}VdGJfV-K2H^7#Ht+_gMNMG7OmD*7;Un1)C=56NC0_Fp*qsrk;b~H$m5bho)# z9y}D{Wqy%Yv|>pflBtm$4Oh2{yil#Z$hJ$`>ubBDj)Q-&K3oOa5%9Emt!-`=d05@^ zWq6w%hf8=ZTwONDcVC|#;bQ=9-+3g)XMPNmjAA&-kyjr6exRNK^I0H6Eeh$QDAF+$ zAYi*C`E?+ZVKdGzm`7Sd?kNiqh*K_~TQl%^wZ6b!UZwb}pFQ)LBEwOnu`Dl^XSfxC z&#D>cvqpw;#3_$yguJQ|D28c#-px>mxaLPX91n{{mZsn{GjAY~ha^eIat9GcAV~XzE^7d~F3_+oNXIkkY|x!RT+1e;oqmNt z{bUoYL2M1qxS60X(lNY@py_x9J};QyMN-Z84aCWp{CE~#2s--M)t8R;Ac6dJlah{O zOJB@mIEesWjXJ#nbn! Date: Tue, 9 May 2023 11:09:20 +0100 Subject: [PATCH 13/27] Oasis focuser sdk lib file for armhf --- libastroasis/arm64/liboasisfocuser.bin | Bin 0 -> 34744 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100755 libastroasis/arm64/liboasisfocuser.bin diff --git a/libastroasis/arm64/liboasisfocuser.bin b/libastroasis/arm64/liboasisfocuser.bin new file mode 100755 index 0000000000000000000000000000000000000000..82027cdb939d38fdc867833371cb299de2fb07b7 GIT binary patch literal 34744 zcmeHQdwkT@mA^9y5CtJfln4|C1Vn|9@G?;zztc*aF zEwm*_ z>UMnS$k00fc;&K6gBDMeG)V-GroAdEe7v=A8 z-X&UdMJmkgC=R3tg(DCU&Ll@Mlr|)%{mOP{08EiGK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r&<3fH&`7vovtp|H=#=+ zT3_FfYj=T&BU6F!U#+iUH#nxgeva-m>lf;RVGCMM!}l!u`hH_(xl+)6vU<4vY5YT+ zkS*=MzR&1n{o?bK|7Xx8|E>Ad`g}PI66)Y^hU)?0mMluaDo($iZ)%MI^(OpuzIFdY l?rGnpBL6wTFS@=(ox5@9^figh$J77GdL Date: Tue, 9 May 2023 21:44:13 +0800 Subject: [PATCH 14/27] Implemented ambient temeperature and backlash compensation direction setting, and optimized firmware version info --- indi-astroasis/oasis_focuser.cpp | 183 +++++++++++++++++++------------ indi-astroasis/oasis_focuser.h | 11 +- 2 files changed, 124 insertions(+), 70 deletions(-) diff --git a/indi-astroasis/oasis_focuser.cpp b/indi-astroasis/oasis_focuser.cpp index ce982894e..7e13a10cb 100644 --- a/indi-astroasis/oasis_focuser.cpp +++ b/indi-astroasis/oasis_focuser.cpp @@ -54,11 +54,22 @@ bool OasisFocuser::initProperties() { INDI::Focuser::initProperties(); - // Focuser temperature - TemperatureNP[0].fill("TEMPERATURE", "Celsius", "%.2f", -50, 70., 0., 0.); - TemperatureNP.fill(getDeviceName(), "FOCUS_TEMPERATURE", "Temperature", + // Focuser board temperature + TemperatureBoardNP[0].fill("TEMPERATURE", "Board", "%.2f", -100, 100, 0., 0.); + TemperatureBoardNP.fill(getDeviceName(), "FOCUS_TEMPERATURE_BOARD", "Temperature", MAIN_CONTROL_TAB, IP_RO, 0, IPS_IDLE); + // Focuser ambient temperature + TemperatureAmbientNP[0].fill("TEMPERATURE", "Ambient", "%.2f", -100, 100, 0., 0.); + TemperatureAmbientNP.fill(getDeviceName(), "FOCUS_TEMPERATURE_AMBIENT", "Temperature", + MAIN_CONTROL_TAB, IP_RO, 0, IPS_IDLE); + + // Backlash compensation direction + BacklashDirSP[INDI_ENABLED].fill("ON", "IN", ISS_ON); + BacklashDirSP[INDI_DISABLED].fill("OFF", "OUT", ISS_OFF); + BacklashDirSP.fill(getDeviceName(), "FOCUS_BACKLASH_DIRECTION", "Backlash Compensation Dir (Overshoot)", + MAIN_CONTROL_TAB, IP_RW, ISR_1OFMANY, 0, IPS_IDLE); + // Focus motion beep BeepOnMoveSP[INDI_ENABLED].fill("ON", "On", ISS_ON); BeepOnMoveSP[INDI_DISABLED].fill("OFF", "Off", ISS_OFF); @@ -102,24 +113,28 @@ bool OasisFocuser::updateProperties() GetConfig(); GetStatus(); - TemperatureNP.setState(IPS_OK); - defineProperty(TemperatureNP); + TemperatureBoardNP.setState(IPS_OK); + defineProperty(TemperatureBoardNP); + TemperatureAmbientNP.setState(IPS_OK); + defineProperty(TemperatureAmbientNP); + + defineProperty(BacklashDirSP); defineProperty(BeepOnMoveSP); // Update version info AOFocuserVersion version; - char ver[AO_FOCUSER_VERSION_LEN]; + char ver[100]; if (AOFocuserGetVersion(mID, &version) == AO_SUCCESS) { unsigned int firmware = version.firmware; - snprintf(ver, sizeof(ver), "%d.%d.%d", - firmware >> 24, (firmware >> 16) & 0xff, (firmware >> 8) & 0xff); + snprintf(ver, sizeof(ver), "%d.%d.%d built %s", + firmware >> 24, (firmware >> 16) & 0xff, (firmware >> 8) & 0xff, version.built); VersionSP[0].setText(ver); - } + } AOFocuserGetSDKVersion(ver); VersionSP[1].setText(ver); @@ -136,7 +151,9 @@ bool OasisFocuser::updateProperties() } else { - deleteProperty(TemperatureNP); + deleteProperty(TemperatureBoardNP); + deleteProperty(TemperatureAmbientNP); + deleteProperty(BacklashDirSP); deleteProperty(BeepOnMoveSP); deleteProperty(VersionSP); } @@ -171,6 +188,54 @@ bool OasisFocuser::Disconnect() return true; } +bool OasisFocuser::SetConfig(unsigned int mask, int value) +{ + AOFocuserConfig config; + + config.mask = mask; + + switch (mask) + { + case MASK_MAX_STEP: + config.maxStep = value; + break; + case MASK_BACKLASH: + config.backlash = value; + break; + case MASK_BACKLASH_DIRECTION: + config.backlashDirection = value; + break; + case MASK_REVERSE_DIRECTION: + config.reverseDirection = value; + break; + case MASK_SPEED: + config.speed = value; + break; + case MASK_BEEP_ON_MOVE: + config.beepOnMove = value; + break; + case MASK_BEEP_ON_STARTUP: + config.beepOnStartup = value; + break; + case MASK_BLUETOOTH: + config.bluetoothOn = value; + break; + default: + LOGF_ERROR("Invalid Oasis Focuser configuration mask %08X\n", mask); + return false; + } + + AOReturn ret = AOFocuserSetConfig(mID, &config); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to set Oasis Focuser configuration, ret = %d\n", ret); + return false; + } + + return true; +} + bool OasisFocuser::GetConfig() { AOFocuserConfig config; @@ -195,6 +260,11 @@ bool OasisFocuser::GetConfig() FocusBacklashN[0].value = config.backlash; FocusBacklashNP.s = IPS_OK; + // Update backlash compensation direction settings + BacklashDirSP[INDI_ENABLED].setState(config.backlashDirection ? ISS_OFF : ISS_ON); + BacklashDirSP[INDI_DISABLED].setState(config.reverseDirection ? ISS_ON : ISS_OFF); + BacklashDirSP.setState(IPS_OK); + // Update beep settings BeepOnMoveSP[INDI_ENABLED].setState(config.beepOnMove ? ISS_ON : ISS_OFF); BeepOnMoveSP[INDI_DISABLED].setState(config.beepOnMove ? ISS_OFF : ISS_ON); @@ -216,63 +286,29 @@ bool OasisFocuser::GetStatus() } FocusAbsPosN[0].value = status.position; - TemperatureNP[0].setValue(status.temperatureExt / 100.0); + TemperatureBoardNP[0].setValue(status.temperatureInt / 100.0); + + if (!status.temperatureDetection || (status.temperatureExt == (int)TEMPERATURE_INVALID)) + TemperatureAmbientNP[0].setValue(-273.15); + else + TemperatureAmbientNP[0].setValue(status.temperatureExt / 100.0); return true; } bool OasisFocuser::SetFocuserMaxPosition(uint32_t ticks) { - AOFocuserConfig config; - - config.mask = MASK_MAX_STEP; - config.maxStep = ticks; - - AOReturn ret = AOFocuserSetConfig(mID, &config); - - if (ret != AO_SUCCESS) - { - LOGF_ERROR("Failed to set Oasis Focuser max position, ret = %d\n", ret); - return false; - } - - return true; + return SetConfig(MASK_MAX_STEP, ticks); } bool OasisFocuser::SetFocuserBacklash(int32_t steps) { - AOFocuserConfig config; - - config.mask = MASK_BACKLASH; - config.backlash = steps; - - AOReturn ret = AOFocuserSetConfig(mID, &config); - - if (ret != AO_SUCCESS) - { - LOGF_ERROR("Failed to set Oasis Focuser backlash, ret = %d\n", ret); - return false; - } - - return true; + return SetConfig(MASK_BACKLASH, steps); } bool OasisFocuser::ReverseFocuser(bool enabled) { - AOFocuserConfig config; - - config.mask = MASK_REVERSE_DIRECTION; - config.reverseDirection = enabled ? 1 : 0; - - AOReturn ret = AOFocuserSetConfig(mID, &config); - - if (ret != AO_SUCCESS) - { - LOGF_ERROR("Failed to set Oasis Focuser direction, ret = %d\n", ret); - return false; - } - - return true; + return SetConfig(MASK_REVERSE_DIRECTION, enabled ? 1 : 0); } bool OasisFocuser::isMoving() @@ -315,28 +351,36 @@ bool OasisFocuser::ISNewSwitch(const char * dev, const char * name, ISState * st { BeepOnMoveSP.update(states, names, n); - AOFocuserConfig config; - - config.mask = MASK_BEEP_ON_MOVE; - config.beepOnMove = (BeepOnMoveSP.findOnSwitchIndex() == INDI_ENABLED) ? 1 : 0; - - AOReturn ret = AOFocuserSetConfig(mID, &config); - - if (ret == AO_SUCCESS) - { + int on = (BeepOnMoveSP.findOnSwitchIndex() == INDI_ENABLED) ? 1 : 0; + + if (SetConfig(MASK_BEEP_ON_MOVE, on)) BeepOnMoveSP.setState(IPS_OK); - } else - { BeepOnMoveSP.setState(IPS_ALERT); - LOGF_ERROR("Failed to set Oasis Focuser BeepOnMove, ret = %d\n", ret); - } BeepOnMoveSP.apply(); return true; } + // Set backlash compensation direction + if (BacklashDirSP.isNameMatch(name)) + { + BacklashDirSP.update(states, names, n); + + // 0 - IN, 1 - OUT + int dir = (BacklashDirSP.findOnSwitchIndex() == INDI_ENABLED) ? 0 : 1; + + if (SetConfig(MASK_BACKLASH_DIRECTION, dir)) + BacklashDirSP.setState(IPS_OK); + else + BacklashDirSP.setState(IPS_ALERT); + + BacklashDirSP.apply(); + + return true; + } + return INDI::Focuser::ISNewSwitch(dev, name, states, names, n); } @@ -395,8 +439,11 @@ void OasisFocuser::TimerHit() { IDSetNumber(&FocusAbsPosNP, nullptr); - if (TemperatureNP.getState() != IPS_IDLE) - TemperatureNP.apply(); + if (TemperatureBoardNP.getState() != IPS_IDLE) + TemperatureBoardNP.apply(); + + if (TemperatureAmbientNP.getState() != IPS_IDLE) + TemperatureAmbientNP.apply(); } if (FocusAbsPosNP.s == IPS_BUSY || FocusRelPosNP.s == IPS_BUSY) diff --git a/indi-astroasis/oasis_focuser.h b/indi-astroasis/oasis_focuser.h index 61cbabaaf..7e9a580d5 100644 --- a/indi-astroasis/oasis_focuser.h +++ b/indi-astroasis/oasis_focuser.h @@ -72,14 +72,21 @@ class OasisFocuser : public INDI::Focuser private: uint8_t mID; + bool SetConfig(unsigned int mask, int value); bool GetConfig(); bool GetStatus(); // Are we moving? bool isMoving(); - // Read Only Temperature Reporting - INDI::PropertyNumber TemperatureNP{1}; + // Read Only Board Temperature Reporting + INDI::PropertyNumber TemperatureBoardNP{1}; + + // Read Only Ambient Temperature Reporting + INDI::PropertyNumber TemperatureAmbientNP{1}; + + // Backlash compensation direction (overshoot method) + INDI::PropertySwitch BacklashDirSP{2}; // Beep on move setting INDI::PropertySwitch BeepOnMoveSP{2}; From d6d737c382f1537347d071dfae305557132cf726 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Tue, 9 May 2023 21:54:10 +0800 Subject: [PATCH 15/27] Oasis focuser sdk lib file for x64 --- libastroasis/x64/liboasisfocuser.bin | Bin 0 -> 46592 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 libastroasis/x64/liboasisfocuser.bin diff --git a/libastroasis/x64/liboasisfocuser.bin b/libastroasis/x64/liboasisfocuser.bin new file mode 100644 index 0000000000000000000000000000000000000000..8d3c151342e9c64a447b52a551b14855d2a0581d GIT binary patch literal 46592 zcmeHw3w#vi+3zGF5)epGR78{&K|wLi1_DGy6Ow_65L`^sB1M;Fvq@HxY~1W3P?2Da zX1_HW{KTTwHr}a4i>)H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)<^J|Hf8E-PhbGSQlOF@%v;$WG3uW z(cJ{#QNUNj1{mH#Sf8dr z&le0tbB{h@bXBPi_$n+N*b*MK`JwCY87D24^6W@lzp2() zQhlShy3~oG1d}v+LtdV9YI;W0FUufkjo3cZA~3sP0UIby^}*`G($$>ql`dKgVP&-1 zFb|uSBKm-BEp~=T7cyxsh$eSSLFUexZ-u$6(lNPmSRv2wKB_0ZygHa(wMIjByz7bIuC>2CWHkg6H>Cx=2Bs)l>$QbgbC%AE)W%K57EL)gs&)tHHo1Zx7+Di>GsqFoQMW%T4t56?zs(lj>274 zUYJK=R4DvrmY3DmD(SeypqFrs7cu{h^Ru9fEe7m8^F!Y6lh7vU65#UObfg0_>dX6r z5>7Bl)1JQh$OZZh?#0XU<^4kmD+EL8S<9aXeO$un{>%G}5;o&HnhtEADcIVPw-@y1 z255UP2_IR$ydNo{e7*r9>>wM)gSKnvSp%sr?^{YJ_p_w`Qcl7O=+m?!`z*`zuC$d7oB7DJRR5xPdX7h64JZw#=~0vE{ndrFD+q>=zr3Nwfr|N`tts@gr`eI0m)b6aS+G|d}Nrt zVgs|ciA!0_lemPRK`hmvuip>9^M~nw2Qg~PdLAMPJ_c%( Date: Tue, 9 May 2023 21:58:11 +0800 Subject: [PATCH 16/27] Disable build for x86 --- libastroasis/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libastroasis/CMakeLists.txt b/libastroasis/CMakeLists.txt index fa70756e6..811e0997c 100644 --- a/libastroasis/CMakeLists.txt +++ b/libastroasis/CMakeLists.txt @@ -30,7 +30,7 @@ elseif (UNIX AND NOT WIN32) elseif (CMAKE_SIZEOF_VOID_P MATCHES "8") set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "x64/liboasisfocuser.bin") else () - set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "x86/liboasisfocuser.bin") + message (FATAL_ERROR "x86-32 architecture is not supported.") endif () # Install udev rules From d19ea062d5bde823e909ad4a185b04be04594df3 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Thu, 25 May 2023 13:38:39 +0800 Subject: [PATCH 17/27] Fix incorrect Vender ID for Astroasis USB devices --- libastroasis/99-astroasis.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libastroasis/99-astroasis.rules b/libastroasis/99-astroasis.rules index 496ce9856..bb9c6e992 100644 --- a/libastroasis/99-astroasis.rules +++ b/libastroasis/99-astroasis.rules @@ -1,2 +1,2 @@ # Astroasis devices -SUBSYSTEMS=="usb", ATTR{idVendor}=="0x338f", MODE="0666" +SUBSYSTEMS=="usb", ATTR{idVendor}=="338f", MODE="0666" From 368a74b164e4d9fb80e9030bc9b5cff079a3ef51 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Fri, 26 May 2023 06:53:09 +0100 Subject: [PATCH 18/27] Fixed incorrect max position value --- indi-astroasis/oasis_focuser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indi-astroasis/oasis_focuser.cpp b/indi-astroasis/oasis_focuser.cpp index 7e13a10cb..4fefd38f7 100644 --- a/indi-astroasis/oasis_focuser.cpp +++ b/indi-astroasis/oasis_focuser.cpp @@ -255,6 +255,7 @@ bool OasisFocuser::GetConfig() // Update max step FocusAbsPosN[0].max = config.maxStep; + FocusMaxPosN[0].value = config.maxStep; // Update backlash FocusBacklashN[0].value = config.backlash; From d7ea07f32f1b49577ccf67e4ff76ba1e6759761a Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Thu, 29 Jun 2023 13:58:17 +0800 Subject: [PATCH 19/27] Added libastroasis for building indi-astroasis on Fedora COPR --- indi-astroasis/indi-astroasis.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/indi-astroasis/indi-astroasis.spec b/indi-astroasis/indi-astroasis.spec index 1a1848b69..3cfae3e2f 100644 --- a/indi-astroasis/indi-astroasis.spec +++ b/indi-astroasis/indi-astroasis.spec @@ -42,6 +42,7 @@ BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(zlib) +BuildRequires: libastroasis Requires: libastroasis %description From 3ad9cf8669f222391b0efa9aeabc3bbf07fed0f0 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Mon, 25 Sep 2023 21:44:11 +0800 Subject: [PATCH 20/27] Fix spelling --- indi-astroasis/indi_astroasis.xml.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indi-astroasis/indi_astroasis.xml.cmake b/indi-astroasis/indi_astroasis.xml.cmake index 908729be2..10d0521e4 100644 --- a/indi-astroasis/indi_astroasis.xml.cmake +++ b/indi-astroasis/indi_astroasis.xml.cmake @@ -2,7 +2,7 @@ - indi_oasis_focuser + indi_oasis_focuser @ASTROASIS_VERSION_MAJOR@.@ASTROASIS_VERSION_MINOR@ From e01527520392932cc06cf5f5b9d6c98384100c97 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Tue, 26 Sep 2023 21:35:18 +0800 Subject: [PATCH 21/27] Update for compilation and installation instructions --- indi-astroasis/INSTALL | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/indi-astroasis/INSTALL b/indi-astroasis/INSTALL index 272c1a309..7cbbe7265 100644 --- a/indi-astroasis/INSTALL +++ b/indi-astroasis/INSTALL @@ -1,16 +1,22 @@ Installation instructions ========================= -Compile Instructions - - Assumption: INDI package installed (see https://indilib.org/download.html) - - Retrieve the sources for the Astroasis driver - git clone https://github.com/astroasis/indi-3rdparty.git - - cd indi-3rdparty - checkout branch "master" - - mkdir -p build/indi-astroasis - - cd build/indi-astroasis - - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../../indi-astroasis - - sudo make install +Compilation Instructions -And now start the INDI server and kstars. +Step 1: build and install libastroasis + 1) $ cd indi-3rdparty + 2) $ mkdir -p build/libastroasis + 3) $ cd build/libastroasis + 4) $ cmake -DCMAKE_INSTALL_PREFIX=/usr ../../libastroasis + 5) $ make + 6) $ sudo make install + +Step 2: build and install indi-astroasis + 1) $ cd indi-3rdparty + 2) $ mkdir -p build/indi-astroasis + 3) $ cd build/indi-astroasis + 4) $ cmake -DCMAKE_INSTALL_PREFIX=/usr ../../indi-astroasis + 5) $ make + 6) $ sudo make install +And now start the INDI server and kstars. From 270a67ab6cce533dfca06cfbe25e5754820c5f76 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Sun, 1 Oct 2023 01:17:05 +0800 Subject: [PATCH 22/27] Add Oasis Filter Wheel driver --- indi-astroasis/oasis_filter_wheel.cpp | 434 +++++++++++++++++++++++ indi-astroasis/oasis_filter_wheel.h | 70 ++++ libastroasis/OasisFilterWheel.h | 190 ++++++++++ libastroasis/x64/liboasisfilterwheel.bin | Bin 0 -> 47688 bytes 4 files changed, 694 insertions(+) create mode 100644 indi-astroasis/oasis_filter_wheel.cpp create mode 100644 indi-astroasis/oasis_filter_wheel.h create mode 100644 libastroasis/OasisFilterWheel.h create mode 100644 libastroasis/x64/liboasisfilterwheel.bin diff --git a/indi-astroasis/oasis_filter_wheel.cpp b/indi-astroasis/oasis_filter_wheel.cpp new file mode 100644 index 000000000..5f1e6bc8e --- /dev/null +++ b/indi-astroasis/oasis_filter_wheel.cpp @@ -0,0 +1,434 @@ +/* + Astroasis Oasis Filter Wheel + Copyright (C) 2013-2019 Jasem Mutlaq (mutlaqja@ikarustech.com) + Copyright (C) 2023 Frank Chen (frank.chen@astroasis.com) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + USA + +*/ + +#include "oasis_filter_wheel.h" +#include "config.h" +#include "indicom.h" +#include + +static class Loader +{ + std::deque> filterWheels; + public: + Loader() + { + filterWheels.push_back(std::unique_ptr(new OasisFilterWheel())); + } +} loader; + +OasisFilterWheel::OasisFilterWheel() +{ + setVersion(ASTROASIS_VERSION_MAJOR, ASTROASIS_VERSION_MINOR); +} + +bool OasisFilterWheel::initProperties() +{ + INDI::FilterWheel::initProperties(); + + // Mode + IUFillSwitch(&ModeS[0], "MODE_0", "Fast", ISS_OFF); + IUFillSwitch(&ModeS[1], "MODE_1", "Normal", ISS_OFF); + IUFillSwitch(&ModeS[2], "MODE_2", "Slow", ISS_OFF); + IUFillSwitchVector(&ModeSP, ModeS, 3, getDeviceName(), "MODE", "Mode", + MAIN_CONTROL_TAB, IP_RW, ISR_ATMOST1, 0, IPS_IDLE); + + // Auto run on power up + IUFillSwitch(&AutoRunS[INDI_ENABLED], "INDI_ENABLED", "Enable", ISS_OFF); + IUFillSwitch(&AutoRunS[INDI_DISABLED], "INDI_DISABLED", "Disable", ISS_ON); + IUFillSwitchVector(&AutoRunSP, AutoRunS, 2, getDeviceName(), "FILTER_AUTO_RUN", "Auto run on power up", + MAIN_CONTROL_TAB, IP_RW, ISR_1OFMANY, 60, IPS_IDLE); + + // Factory Reset + IUFillSwitch(&FactoryResetS[0], "FACTORY_RESET", "Reset", ISS_OFF); + IUFillSwitchVector(&FactoryResetSP, FactoryResetS, 1, getDeviceName(), "FACTORY_RESET", "Factory Reset", + MAIN_CONTROL_TAB, IP_RW, ISR_ATMOST1, 0, IPS_IDLE); + + // Calibrate + IUFillSwitch(&CalibrateS[0], "CALIBRATE", "Calibrate", ISS_OFF); + IUFillSwitchVector(&CalibrateSP, CalibrateS, 1, getDeviceName(), "FILTER_CALIBRATION", "Calibrate", + MAIN_CONTROL_TAB, IP_RW, ISR_ATMOST1, 0, IPS_IDLE); + + addAuxControls(); + setDefaultPollingPeriod(250); + return true; +} + +bool OasisFilterWheel::updateProperties() +{ + INDI::FilterWheel::updateProperties(); + + if (isConnected()) + { + OFWConfig config; + + GetFilterNames(); + + if (GetConfig(&config)) + { + AutoRunS[INDI_ENABLED].s = config.autorun ? ISS_ON : ISS_OFF; + AutoRunS[INDI_DISABLED].s = config.autorun ? ISS_OFF : ISS_ON; + + ModeS[0].s = (config.mode == 0) ? ISS_ON : ISS_OFF; + ModeS[1].s = (config.mode == 1) ? ISS_ON : ISS_OFF; + ModeS[2].s = (config.mode == 2) ? ISS_ON : ISS_OFF; + } + else + { + AutoRunSP.s = IPS_ALERT; + } + + defineProperty(&ModeSP); + defineProperty(&AutoRunSP); + defineProperty(&FactoryResetSP); + defineProperty(&CalibrateSP); + } + else + { + deleteProperty(ModeSP.name); + deleteProperty(AutoRunSP.name); + deleteProperty(FactoryResetSP.name); + deleteProperty(CalibrateSP.name); + } + + return true; +} + +const char *OasisFilterWheel::getDefaultName() +{ + return "Oasis Filter Wheel"; +} + +bool OasisFilterWheel::Connect() +{ + int number, ids[OFW_MAX_NUM]; + AOReturn ret; + + OFWScan(&number, ids); + + if (number <= 0) + { + LOG_INFO("Oasis filter wheel not found\n"); + return false; + } + + // For now we always use the first found Oasis Filter Wheel + mID = ids[0]; + + ret = OFWOpen(mID); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to open Oasis filter wheel, ret = %d\n", ret); + return false; + } + + ret = OFWGetSlotNum(mID, &number); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to get Oasis filter wheel slot number, ret = %d\n", ret); + OFWClose(mID); + return false; + } + + FilterSlotN[0].min = 1; + FilterSlotN[0].max = number; + + LOGF_INFO("Oasis filter wheel connected, %d slots\n", number); + + return true; +} + +bool OasisFilterWheel::Disconnect() +{ + OFWClose(mID); + + return true; +} + +bool OasisFilterWheel::GetFilterNames() +{ + char filterName[MAXINDINAME]; + char filterLabel[MAXINDILABEL]; + int MaxFilter = FilterSlotN[0].max; + IPState state = IPS_IDLE; + + FilterNameTP->s = IPS_BUSY; + + if (FilterNameT != nullptr) + { + for (int i = 0; i < FilterNameTP->ntp; i++) + free(FilterNameT[i].text); + delete [] FilterNameT; + } + + FilterNameT = new IText[MaxFilter]; + memset(FilterNameT, 0, sizeof(IText) * MaxFilter); + + for (int i = 0; i < MaxFilter; i++) + { + char name[MAXINDINAME]; + AOReturn ret = OFWGetSlotName(mID, i + 1, name); + + snprintf(filterName, MAXINDINAME, "FILTER_SLOT_NAME_%d", i + 1); + snprintf(filterLabel, MAXINDILABEL, "Filter#%d", i + 1); + IUFillText(&FilterNameT[i], filterName, filterLabel, (ret == AO_SUCCESS) ? name : filterLabel); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to get Oasis filter wheel slot name, ret = %d\n", ret); + state = IPS_ALERT; + } + } + + IUFillTextVector(FilterNameTP, FilterNameT, MaxFilter, getDeviceName(), "FILTER_NAME", "Filter", + FilterSlotNP.group, IP_RW, 0, state); + + return true; +} + +bool OasisFilterWheel::SetFilterNames() +{ + // Verify allowed filter names + std::regex rx("^[A-Za-z0-9=.#/_%[:space:]-]{1,32}$"); + + for (int i = 0; i < FilterSlotN[0].max; i++) + { + if (!std::regex_match(FilterNameT[i].text, rx)) + { + LOGF_ERROR("Filter #%d: the filter name is not valid. It should not have more than 32 chars", i + 1); + LOGF_ERROR("Filter #%d: and the valid chars are A to Z, a to z, 0 to 9 = . # / - _ percent or space", i + 1); + + return false; + } + } + + for (int i = 0; i < FilterSlotN[0].max; i++) + { + AOReturn ret = OFWSetSlotName(mID, i + 1, FilterNameT[i].text); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to set Oasis filter wheel slot name, ret = %d\n", ret); + return false; + } + } + + return true; +} + +bool OasisFilterWheel::ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) +{ + if (dev != nullptr && !strcmp(dev, getDeviceName())) + { + if (!strcmp(name, ModeSP.name)) + { + OFWConfig config; + AOReturn ret; + int prev, target; + + prev = IUFindOnSwitchIndex(&ModeSP); + IUUpdateSwitch(&ModeSP, states, names, n); + target = IUFindOnSwitchIndex(&ModeSP); + + config.mask = MASK_MODE; + config.mode = target; + + ret = OFWSetConfig(mID, &config); + + if (ret == AO_SUCCESS) + { + ModeSP.s = IPS_OK; + } + else + { + LOGF_ERROR("Failed to set Oasis filter wheel mode, ret = %d\n", ret); + + IUResetSwitch(&ModeSP); + + if ((prev >= 0) && (prev < 3)) + ModeS[prev].s = ISS_ON; + + ModeSP.s = IPS_ALERT; + } + + IDSetSwitch(&ModeSP, nullptr); + + return true; + } + + if (!strcmp(name, AutoRunSP.name)) + { + OFWConfig config; + AOReturn ret; + + config.mask = MASK_AUTORUN; + config.autorun = (IUFindOnSwitchIndex(&AutoRunSP) == INDI_ENABLED) ? 0 : 1; + + ret = OFWSetConfig(mID, &config); + + if (ret == AO_SUCCESS) + { + IUUpdateSwitch(&AutoRunSP, states, names, n); + AutoRunSP.s = IPS_OK; + } + else + { + LOGF_ERROR("Failed to set Oasis filter wheel auto run, ret = %d\n", ret); + AutoRunSP.s = IPS_ALERT; + } + + IDSetSwitch(&AutoRunSP, nullptr); + + return true; + } + + if (!strcmp(name, CalibrateSP.name)) + { + AOReturn ret; + + CalibrateS[0].s = ISS_OFF; + + ret = OFWCalibrate(mID, 0); + + if (ret == AO_SUCCESS) + { + LOG_INFO("Oasis filter wheel calibrating...\n"); + CalibrateSP.s = IPS_BUSY; + SetTimer(getCurrentPollingPeriod()); + } + else + { + LOGF_ERROR("Failed to start Oasis filter wheel calibration, ret = %d\n", ret); + CalibrateSP.s = IPS_ALERT; + } + + IDSetSwitch(&CalibrateSP, nullptr); + + return true; + } + + if (!strcmp(name, FactoryResetSP.name)) + { + AOReturn ret; + + FactoryResetS[0].s = ISS_OFF; + + ret = OFWFactoryReset(mID); + + if (ret == AO_SUCCESS) + { + FactoryResetSP.s = IPS_OK; + } + else + { + LOGF_ERROR("Failed to factory reset Oasis filter wheel, ret = %d\n", ret); + FactoryResetSP.s = IPS_ALERT; + } + + IDSetSwitch(&FactoryResetSP, nullptr); + + return true; + } + } + + return INDI::FilterWheel::ISNewSwitch(dev, name, states, names, n); +} + +int OasisFilterWheel::QueryFilter() +{ + OFWStatus status; + AOReturn ret; + + ret = OFWGetStatus(mID, &status); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to get Oasis filter wheel status, ret = %d\n", ret); + return 0; + } + + CurrentFilter = (status.filterStatus == STATUS_IDLE) ? status.filterPosition : 0; + + if (status.filterStatus == STATUS_IDLE) + { + LOGF_DEBUG("CurrentFilter: %d\n", CurrentFilter); + } + else + { + LOG_INFO("Oasis filter wheel moving...\n"); + } + + return CurrentFilter; +} + +bool OasisFilterWheel::SelectFilter(int position) +{ + AOReturn ret; + + ret = OFWSetPosition(mID, position); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to set Oasis filter wheel position to %d\n", position); + return false; + } + + SetTimer(getCurrentPollingPeriod()); + + return true; +} + +void OasisFilterWheel::TimerHit() +{ + QueryFilter(); + + if (CurrentFilter != TargetFilter) + { + SetTimer(getCurrentPollingPeriod()); + } + else + { + SelectFilterDone(CurrentFilter); + + CalibrateSP.s = IPS_OK; + IDSetSwitch(&CalibrateSP, nullptr); + } +} + +bool OasisFilterWheel::saveConfigItems(FILE *fp) +{ + return INDI::FilterWheel::saveConfigItems(fp); +} + +bool OasisFilterWheel::GetConfig(OFWConfig *config) +{ + AOReturn ret = OFWGetConfig(mID, config); + + if (ret != AO_SUCCESS) + { + LOGF_ERROR("Failed to get Oasis filter wheel configuration, ret = %d\n", ret); + return false; + } + + return true; +} diff --git a/indi-astroasis/oasis_filter_wheel.h b/indi-astroasis/oasis_filter_wheel.h new file mode 100644 index 000000000..46bb986d8 --- /dev/null +++ b/indi-astroasis/oasis_filter_wheel.h @@ -0,0 +1,70 @@ +/* + Astroasis Oasis Filter Wheel + Copyright (C) 2013-2019 Jasem Mutlaq (mutlaqja@ikarustech.com) + Copyright (C) 2023 Frank Chen (frank.chen@astroasis.com) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + USA + +*/ + +#pragma once + +#include "indifilterwheel.h" +#include "OasisFilterWheel.h" + +class OasisFilterWheel : public INDI::FilterWheel +{ + public: + OasisFilterWheel(); + virtual ~OasisFilterWheel() override = default; + + const char * getDefaultName() override; + virtual bool initProperties() override; + virtual bool updateProperties() override; + virtual bool ISNewSwitch(const char * dev, const char * name, ISState * states, char * names[], int n) override; + + protected: + virtual bool Connect() override; + virtual bool Disconnect() override; + + virtual bool GetFilterNames() override; + virtual bool SetFilterNames() override; + virtual int QueryFilter() override; + virtual bool SelectFilter(int) override; + virtual void TimerHit() override; + virtual bool saveConfigItems(FILE *fp) override; + + private: + uint8_t mID; + + bool GetConfig(OFWConfig *config); + + // Mode + ISwitchVectorProperty ModeSP; + ISwitch ModeS[3]; + + // Auto run on power up + ISwitchVectorProperty AutoRunSP; + ISwitch AutoRunS[2]; + + // Factory Reset + ISwitchVectorProperty FactoryResetSP; + ISwitch FactoryResetS[1]; + + // Calibrate + ISwitchVectorProperty CalibrateSP; + ISwitch CalibrateS[1]; +}; diff --git a/libastroasis/OasisFilterWheel.h b/libastroasis/OasisFilterWheel.h new file mode 100644 index 000000000..f6159135d --- /dev/null +++ b/libastroasis/OasisFilterWheel.h @@ -0,0 +1,190 @@ +/* + * Copyright 2023 Suzhou Astroasis Vision Technology, Inc. All Rights Reserved. + * + * This is header file for Astroasis Oasis Filter Wheel . + * + * Note: + * 1. OFWScan() should be called before any other APIs (except for + * OFWGetSDKVersion()) for at least one time because those APIs require + * filter wheel ID as their first parameter. + * 2. OFWScan() can be called for multiple times at any time as long as the + * user wants to refresh filter wheels. + * 3. OFWGetSDKVersion() can be called at anytime and any place. + * 4. The buffer length for names (including product model, serial number, + * friendly name, Bluetooth name) should not be less than OFW_NAME_LEN. The + * buffer length for slot names should not be less than OFW_SLOT_NAME_LEN + * 5. The list of API functions are as follows. + * OFWScan(int *number, int *ids); + * OFWOpen(int id); + * OFWClose(int id); + * OFWGetProductModel(int id, char *model); + * OFWGetVersion(int id, OFWVersion *version); + * OFWGetSerialNumber(int id, char *sn); + * OFWGetFriendlyName(int id, char *name); + * OFWSetFriendlyName(int id, char *name); + * OFWGetBluetoothName(int id, char *name); + * OFWSetBluetoothName(int id, char *name); + * OFWGetConfig(int id, OFWConfig *config); + * OFWSetConfig(int id, OFWConfig *config); + * OFWGetStatus(int id, OFWStatus *status); + * OFWFactoryReset(int id); + * OFWGetSlotNum(int id, int* num); + * OFWGetSlotName(int id, int slot, char* name); + * OFWSetSlotName(int id, int slot, char* name); + * OFWGetFocusOffset(int id, int num, int* offset); + * OFWSetFocusOffset(int id, int num, int* offset); + * OFWGetColor(int id, int num, int* color); + * OFWSetColor(int id, int num, int* color); + * OFWSetPosition(int id, int position); + * OFWCalibrate(int id); + * OFWGetCalibrateData(int id, AOCalibrateData* calibrate); + * OFWFirmwareUpgrade(int id, unsigned char *data, int len); + * OFWGetSDKVersion(char *version); + * + * Refer to SDK demo application for the details of the API usage. + */ + +#ifndef __OASIS_FILTER_WHEEL_H__ +#define __OASIS_FILTER_WHEEL_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef _WINDOWS +#define AOAPI __declspec(dllexport) +#else +#define AOAPI +#endif + +#define OFW_MAX_NUM 32 /* Maximum filter wheel numbers supported by this SDK */ +#define OFW_VERSION_LEN 32 /* Buffer length for version strings */ +#define OFW_NAME_LEN 32 /* Buffer length for name strings */ +#define OFW_SLOT_NAME_LEN 16 /* Buffer length for slot name strings */ + +typedef enum _AOReturn { + AO_SUCCESS = 0, /* Success */ + AO_ERROR_INVALID_ID, /* Device ID is invalid */ + AO_ERROR_INVALID_PARAMETER, /* One or more parameters are invalid */ + AO_ERROR_INVALID_STATE, /* Device is not in correct state for specific API call */ + AO_ERROR_BUFFER_TOO_SMALL, /* Size of buffer is too small */ + AO_ERROR_COMMUNICATION, /* Data communication error such as device has been removed from USB port */ + AO_ERROR_TIMEOUT, /* Timeout occured */ + AO_ERROR_BUSY, /* Device is being used by another application */ + AO_ERROR_NULL_POINTER, /* Caller passes null-pointer parameter which is not expected */ + AO_ERROR_OUT_OF_RESOURCE, /* Out of resouce such as lack of memory */ + AO_ERROR_NOT_IMPLEMENTED, /* The interface is not currently supported */ + AO_ERROR_FAULT, /* Significant fault which means the device may not work correctly and hard to recovery it */ + AO_ERROR_INVALID_SIZE, /* Size is invalid */ + AO_ERROR_INVALID_VERSION, /* Version is invalid */ + AO_ERROR_UNKNOWN = 0x40, /* Any other errors */ +} AOReturn; + +/* + * Used by OFWSetConfig() to indicate which field wants to be set + */ +#define MASK_MODE 0x00000001 +#define MASK_AUTORUN 0x00000002 +#define MASK_BLUETOOTH 0x00000004 +#define MASK_ALL 0xFFFFFFFF + +/* + * Used by OFWGetStatus() to indicate the filter status + */ +#define STATUS_IDLE 0 +#define STATUS_MOVING 1 +#define STATUS_CALIBRATING 2 +#define STATUS_BENCHMARKING 3 + +typedef struct _OFWVersion +{ + unsigned int protocal; /* Version of protocal over USB and Bluetooth communication */ + unsigned int hardware; /* Device hardware version */ + unsigned int firmware; /* Device firmware version */ + char built[24]; /* Null-terminated string which indicates firmware building time */ +} OFWVersion; + +typedef struct _OFWConfig { + unsigned int mask; /* Used by OFWSetConfig() to indicates which field wants to be set */ + int mode; /* Mode of the filter wheel operation */ + int autorun; /* Automatic switch to the target slot when power on */ + int bluetoothOn; /* 0 - Turn off Bluetooth, others - Turn on Bluetooth */ +} OFWConfig; + +typedef struct _OFWStatus { + int temperature; /* Internal (on board) temperature in 0.01 degree unit */ + int filterStatus; /* Current motor position */ + int filterPosition; /* Current motor position, zero - unknown position */ +} OFWStatus; + +typedef struct _OFWCalibrateData { + int low[4]; /* Calibration low value */ + int high[4]; /* Calibration high value */ +} OFWCalibrateData; + +/* + * API: OFWScan + * + * Description + * Scan for connected filter wheels. + * + * Parameters + * number: + * Pointer to an int value to hold the number of connected filter wheels. + * ids: + * Pointer to an int array to hold IDs of connected filter wheels. + * The length of the 'ids' array should be equal to or larger than + * OFW_MAX_NUM, and it's the caller's responsibility to allocate memory + * for "ids" before the API is called. + * The valid IDs are stored in first "number" of elements in "ids" array. + * + * Return value + * AO_SUCCESS: + * The function succeeds. This is the only value the API returns. + * + * Remarks + * This function should be called before any other APIs except for + * OFWGetSDKVersion(). + * Each filter wheel has a unique ID. If one filter wheel is removed from + * USB port and then plugged in again, it will be considered as different + * filter wheel and will be assigned with different ID during next scan. + * If one filter wheel remains connected during two or more scan operations, + * it will always have the same ID to indicate it's the same filter wheel. + * That is, the caller can call OFWScan() at any time and the IDs of + * connected filter wheels returned by previous OFWScan() will still be valid. + */ +AOAPI AOReturn OFWScan(int *number, int *ids); +AOAPI AOReturn OFWOpen(int id); +AOAPI AOReturn OFWClose(int id); +AOAPI AOReturn OFWGetProductModel(int id, char *model); +AOAPI AOReturn OFWGetVersion(int id, OFWVersion *version); +AOAPI AOReturn OFWGetSerialNumber(int id, char *sn); +AOAPI AOReturn OFWGetFriendlyName(int id, char *name); +AOAPI AOReturn OFWSetFriendlyName(int id, char *name); +AOAPI AOReturn OFWGetBluetoothName(int id, char *name); +AOAPI AOReturn OFWSetBluetoothName(int id, char *name); +AOAPI AOReturn OFWGetConfig(int id, OFWConfig *config); +AOAPI AOReturn OFWSetConfig(int id, OFWConfig *config); +AOAPI AOReturn OFWGetStatus(int id, OFWStatus *status); +AOAPI AOReturn OFWFactoryReset(int id); + +AOAPI AOReturn OFWGetSlotNum(int id, int *num); +AOAPI AOReturn OFWGetSlotName(int id, int slot, char *name); +AOAPI AOReturn OFWSetSlotName(int id, int slot, char *name); +AOAPI AOReturn OFWGetFocusOffset(int id, int num, int *offset); +AOAPI AOReturn OFWSetFocusOffset(int id, int num, int *offset); +AOAPI AOReturn OFWGetColor(int id, int num, int* color); +AOAPI AOReturn OFWSetColor(int id, int num, int* color); +AOAPI AOReturn OFWSetPosition(int id, int position); +AOAPI AOReturn OFWCalibrate(int id, int mode); +AOAPI AOReturn OFWGetCalibrateData(int id, OFWCalibrateData *calibrate); + +AOAPI AOReturn OFWUpgrade(int id); +AOAPI AOReturn OFWFirmwareUpgrade(int id, unsigned char *data, int len); +AOAPI AOReturn OFWGetSDKVersion(char *version); + +#ifdef __cplusplus +} +#endif + +#endif /* __OASIS_FILTER_WHEEL_H__ */ diff --git a/libastroasis/x64/liboasisfilterwheel.bin b/libastroasis/x64/liboasisfilterwheel.bin new file mode 100644 index 0000000000000000000000000000000000000000..860eb23e01a4e5b8c598ac66f1c871ce146f771c GIT binary patch literal 47688 zcmeHwdwf*Ywf{*%BqETYsHmueih_@r1R@|(1IdAdyuu@jR2{-(@+iqnoXjB5BEb;N zI7WjNrLEeiXsOp$ycI-?HYh@Tv<6?K_0gzk2ZI^|YP3pz-?jJJCudG(CbYM|-~Ii; z;WMnWo_p=J*M819lhyjnsfh^*n!1v-A8CX&PLPxwX4L&R-vH!jr{9;zVO-V)ZFE4N6PgG~tTs ze${KUj14tp>l}P2&CkPU6h5Qzxd5LF@u4dnpNsLyz$X)*vG`=;GY+5e_)u576d&s~ z5eRjGAK{aO4_#C6$-`$VJ_bHB@u6!LK6CJyO9-xc5@-d0SMoi9h4?JO=f{NLx>f@1 zIzT7iE8tQ$fF<~pG5!+^y#n_h#;F_5A3OiKpLah0vggd@8DITFduK?e@qWSXpRZgz z>bJZ1EZVWXe8*FpZfMC$M7dk7~%C?d*X+uyqmT6 z<||WI|NQB{4!&{Mfp@;W;69cnc=@%yYTWY zS0&!#x%R`$Z@Q*n?`!YmK5)z1|H!!Wj{ajl_~!fkZx6M;wdno56X))qvgyxjMr<#6 z{gYenoOt=95&j2V=UwfZRsMpbyY6t+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~?W&-WAb|Pbm+$ z{a&xXlvLvulAERHXJ%51$+yXz$a?A!v9o4EE>d_2S`|LU70kQ@)r|0jlB2jX;I{=N zUTK-xwwHeN{L(&(&6p-ewV6l_G_B0L2scEdSlW{srNUiN<@QI$GOk}4s&N7pI@&p| zY<6zByU>?g=qhy=<>6g5=@z1s@2x6Ry#we}uPabBr??oN#5HJk-2BW8r+DYiKw89A z$s~Wd6H$v}?6|6@PsMKSZ1JugG%N+p&veEwYaGg&y&!jiy8>fgA>IP(J5`_&(MFUi zabr3*GG3yy$+n*FN0C+B@T!iK;TSEd+}!=9`pVoGb651)K_;LaIckX@pa>qraA!-+ zxDHRCd=Z{0JM1SWhYGKU1{&_C=Zp`Y40)&5|^ImXT$B#S)`degy?* zjC1mwJol17Nj}Yg7;NWfI9J9mITIzTfdWG=#ad0QBAY1##AJeuG?SH^)H*fCErrsv zpvvu=o~Of6%I!iIR)s6(xvMZ3QJG@qp?TIDh(9{zX3_vdD%L5*-Axoy2`(l#*}?(yb+6#cz$GNleF7cR#-k;yzET9L^iXq5fG_m zj#mgmQF;Ed_%5519nJf+OjVnih(#(2!IBljJLQ>eZg&=VZYc8r+-J|fr3j9e(DvSz+-@@{eswyoV+irUC-ny~> zH}6k_9*$b^os_)Pa{vlDn63bhFC(sWU{-zgynuq|L`c(jeUTR(-{2KyuPR?X$E4t0 z%ussv^6A(EM_H!->NzI`H{hI(u4H`Z=tb${n>lgOF>De(s(c3@PARCKlakWXhPo$6 z$LsXWlG0btGbs2W3oHMXoPwp`(=$*CSI<2tSjqb2KglTnnXKJ_8?vqR)$l`bo^RZ;LabNOlQsPXTf(_OF4|iljaR2}S literal 0 HcmV?d00001 From 853873506568902a57a90f7a75c9e6c2f7c3f4bc Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Sun, 1 Oct 2023 01:19:20 +0800 Subject: [PATCH 23/27] Add Oasis Filter Wheel driver --- cmake_modules/FindASTROASIS.cmake | 12 +++++++- indi-astroasis/CMakeLists.txt | 13 +++++++- indi-astroasis/indi_astroasis.xml.cmake | 6 ++++ libastroasis/CMakeLists.txt | 41 +++++++++++++++---------- libastroasis/libastroasis.spec | 2 ++ 5 files changed, 56 insertions(+), 18 deletions(-) diff --git a/cmake_modules/FindASTROASIS.cmake b/cmake_modules/FindASTROASIS.cmake index 35f8c591d..d066727ef 100644 --- a/cmake_modules/FindASTROASIS.cmake +++ b/cmake_modules/FindASTROASIS.cmake @@ -22,12 +22,22 @@ else (ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) ${GNUWIN32_DIR}/include ) - find_library(ASTROASIS_LIBRARIES NAMES oasisfocuser + find_library(ASTROASIS_FOCUSER_LIBRARIES NAMES oasisfocuser PATHS ${_obLinkDir} ${GNUWIN32_DIR}/lib ) + find_library(ASTROASIS_FILTER_WHEEL_LIBRARIES NAMES oasisfilterwheel + PATHS + ${_obLinkDir} + ${GNUWIN32_DIR}/lib + ) + + if (ASTROASIS_FOCUSER_LIBRARIES AND ASTROASIS_FILTER_WHEEL_LIBRARIES) + set(ASTROASIS_LIBRARIES ${ASTROASIS_FOCUSER_LIBRARIES} ${ASTROASIS_FILTER_WHEEL_LIBRARIES}) + endif (ASTROASIS_FOCUSER_LIBRARIES AND ASTROASIS_FILTER_WHEEL_LIBRARIES) + if(ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) set(ASTROASIS_FOUND TRUE) else (ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) diff --git a/indi-astroasis/CMakeLists.txt b/indi-astroasis/CMakeLists.txt index 10ee530f0..e797d6410 100644 --- a/indi-astroasis/CMakeLists.txt +++ b/indi-astroasis/CMakeLists.txt @@ -12,7 +12,7 @@ find_package(USB1 REQUIRED) find_package(Threads REQUIRED) set(ASTROASIS_VERSION_MAJOR 1) -set(ASTROASIS_VERSION_MINOR 0) +set(ASTROASIS_VERSION_MINOR 1) set(INDI_DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/indi") @@ -35,11 +35,22 @@ ELSE() target_link_libraries(indi_oasis_focuser ${INDI_LIBRARIES} ${ASTROASIS_LIBRARIES} ${USB1_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) ENDIF() +########### indi_oasis_filter_wheel ########### +add_executable(indi_oasis_filter_wheel ${CMAKE_CURRENT_SOURCE_DIR}/oasis_filter_wheel.cpp) +IF (APPLE) +set(CMAKE_EXE_LINKER_FLAGS "-framework IOKit -framework CoreFoundation") +target_link_libraries(indi_oasis_filter_wheel ${INDI_LIBRARIES} ${ASTROASIS_LIBRARIES} ${LIBUSB_LIBRARIES}) +ELSE() +target_link_libraries(indi_oasis_filter_wheel ${INDI_LIBRARIES} ${ASTROASIS_LIBRARIES} ${USB1_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) +ENDIF() + ##################################### if (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*") target_link_libraries(indi_oasis_focuser rt) +target_link_libraries(indi_oasis_filter_wheel rt) endif (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*") install(TARGETS indi_oasis_focuser RUNTIME DESTINATION bin) +install(TARGETS indi_oasis_filter_wheel RUNTIME DESTINATION bin) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/indi_astroasis.xml DESTINATION ${INDI_DATA_DIR}) diff --git a/indi-astroasis/indi_astroasis.xml.cmake b/indi-astroasis/indi_astroasis.xml.cmake index 10d0521e4..9a18dd18f 100644 --- a/indi-astroasis/indi_astroasis.xml.cmake +++ b/indi-astroasis/indi_astroasis.xml.cmake @@ -6,4 +6,10 @@ @ASTROASIS_VERSION_MAJOR@.@ASTROASIS_VERSION_MINOR@ + + + indi_oasis_filter_wheel + @ASTROASIS_VERSION_MAJOR@.@ASTROASIS_VERSION_MINOR@ + + diff --git a/libastroasis/CMakeLists.txt b/libastroasis/CMakeLists.txt index 811e0997c..83e468c03 100644 --- a/libastroasis/CMakeLists.txt +++ b/libastroasis/CMakeLists.txt @@ -1,34 +1,41 @@ cmake_minimum_required (VERSION 3.0) project (libastroasis) -set (OASISFOCUSER_VERSION "1.0.5") -set (OASISFOCUSER_SOVERSION "1") +set (OASIS_FOCUSER_VERSION "1.0.5") +set (OASIS_FOCUSER_SOVERSION "1") + +set (OASIS_FILTER_WHEEL_VERSION "1.0.0") +set (OASIS_FILTER_WHEEL_SOVERSION "1") list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/") list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules/") include (GNUInstallDirs) include (InstallImported) -add_library (oasisfocuser SHARED IMPORTED) +add_library (oasisfocuser SHARED IMPORTED) +add_library (oasisfilterwheel SHARED IMPORTED) -set_target_properties (oasisfocuser PROPERTIES VERSION ${OASISFOCUSER_VERSION} SOVERSION ${OASISFOCUSER_SOVERSION}) +set_target_properties (oasisfocuser PROPERTIES VERSION ${OASIS_FOCUSER_VERSION} SOVERSION ${OASIS_FOCUSER_SOVERSION}) +set_target_properties (oasisfilterwheel PROPERTIES VERSION ${OASIS_FILTER_WHEEL_VERSION} SOVERSION ${OASIS_FILTER_WHEEL_SOVERSION}) if (APPLE) - set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "mac/liboasisfocuser.bin") + set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "mac/liboasisfocuser.bin") + set_property (TARGET oasisfilterwheel PROPERTY IMPORTED_LOCATION "mac/liboasisfilterwheel.bin") - FIX_MACOS_LIBRARIES("liboasisfocuser" "mac/liboasisfocuser.bin" "ASTROASIS") - - # Install library - install_imported (TARGETS oasisfocuser DESTINATION ${CMAKE_INSTALL_LIBDIR}) + FIX_MACOS_LIBRARIES("liboasisfocuser" "mac/liboasisfocuser.bin" "ASTROASIS") + FIX_MACOS_LIBRARIES("liboasisfilterwheel" "mac/liboasisfilterwheel.bin" "ASTROASIS") elseif (UNIX AND NOT WIN32) if (CMAKE_SYSTEM_PROCESSOR MATCHES "armv+") - set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "armhf/liboasisfocuser.bin") + set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "armhf/liboasisfocuser.bin") + set_property (TARGET oasisfilterwheel PROPERTY IMPORTED_LOCATION "armhf/liboasisfilterwheel.bin") elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64") - set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "arm64/liboasisfocuser.bin") + set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "arm64/liboasisfocuser.bin") + set_property (TARGET oasisfilterwheel PROPERTY IMPORTED_LOCATION "arm64/liboasisfilterwheel.bin") elseif (CMAKE_SIZEOF_VOID_P MATCHES "8") - set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "x64/liboasisfocuser.bin") + set_property (TARGET oasisfocuser PROPERTY IMPORTED_LOCATION "x64/liboasisfocuser.bin") + set_property (TARGET oasisfilterwheel PROPERTY IMPORTED_LOCATION "x64/liboasisfilterwheel.bin") else () message (FATAL_ERROR "x86-32 architecture is not supported.") endif () @@ -37,10 +44,12 @@ elseif (UNIX AND NOT WIN32) set (UDEVRULES_INSTALL_DIR "/lib/udev/rules.d" CACHE STRING "Base directory for udev rules") install (FILES 99-astroasis.rules DESTINATION ${UDEVRULES_INSTALL_DIR}) - # Install library - install_imported (TARGETS oasisfocuser DESTINATION ${CMAKE_INSTALL_LIBDIR}) - endif () +# Install library +install_imported (TARGETS oasisfocuser DESTINATION ${CMAKE_INSTALL_LIBDIR}) +install_imported (TARGETS oasisfilterwheel DESTINATION ${CMAKE_INSTALL_LIBDIR}) + # Install header files -install (FILES AOFocus.h DESTINATION include/libastroasis) +install (FILES AOFocus.h DESTINATION include/libastroasis) +install (FILES OasisFilterWheel.h DESTINATION include/libastroasis) diff --git a/libastroasis/libastroasis.spec b/libastroasis/libastroasis.spec index 787e55cc3..e5f9a74dc 100644 --- a/libastroasis/libastroasis.spec +++ b/libastroasis/libastroasis.spec @@ -47,6 +47,8 @@ BuildRequires: pkgconfig(zlib) Provides: liboasisfocuser.so()(64bit) Provides: liboasisfocuser.so +Provides: liboasisfilterwheel.so()(64bit) +Provides: liboasisfilterwheel.so %description INDI is a distributed control protocol designed to operate From 3e4520ef2a9ea14308da8b418ec460709c7d9009 Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Sat, 30 Sep 2023 19:43:27 +0100 Subject: [PATCH 24/27] Add Oasis filter wheel library file for 32bit arm --- libastroasis/armhf/liboasisfilterwheel.bin | Bin 0 -> 38348 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100755 libastroasis/armhf/liboasisfilterwheel.bin diff --git a/libastroasis/armhf/liboasisfilterwheel.bin b/libastroasis/armhf/liboasisfilterwheel.bin new file mode 100755 index 0000000000000000000000000000000000000000..d5c2119979efbe9fa9a36440c099cc7ee547ef2c GIT binary patch literal 38348 zcmeHw4SZD9nfI9_KnM{Bj2I!-%a;a)FcX4ArFHTF28kFU)CjmkNG8c>l8KWE244FH z32WJ{T_~XIyLD??-Ils`H*K*}r7o_nvQ)RMrIoE#^WjvaKxr4Z*tO>U|Ia-qbLKiT z3Hxq;+xPeL!pU=-*#++5IU?+6M`W_k_uTK(cx=xKnR90GQ}nH-60{|A(splD0^nC5crSF zC4h=tlWz*V)?bFa*$Ct}9>HpxJVR{B5R)^P=1fbUT+x?1 zAuV^y*3v)Qf0-}s?w!6ZVEv_)z6Y{0W2^9C$7y*tK7b=S3KNJURNMo zi7*G@Duk;M<{=ay@bVyd5eg9&AY6m62;o|U>kzI-Sd3s^p9XRRf)Ak-fmb=gQiKYG zn-EqY@VW)zR)keVa8=tt+y+>q;sk3D)*;+M1ef0iVm)B3ife#oAHIT!-KDVR;Zz~e z)S^w{VZc>ItDf8an}0mqdU>bk{ddJ1lYUe2*6NpcZ(g7O&6odm&GQEufBr=8GhXx-*x}jPgVbY6?YG-~ZVQyLNy7-zNU=mrlO% z!H%Cle|YMbzWe=wYZm_9fr=M){7w42?56E+=RK46t!*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!&q;g;#7W0@Rv7rMioU>JUKRMO-#g)Z0}Q`F z8q4xxd4|;pd{2dOzE8k_V-zWmX_U*W9)U-EOyj#Q3_ip)Khp6?vIT*3r3idChJo+Q zkdE)oXu6GvQ&$}O%I6e(R$)|QSnk~hoqq47R|`cR`7zvU(DmRsI79F7^R!q!wi?KJ54e3zlxp&v-Zmu%I9-mhV@{skNq^i zuiJD|E}s`M=saW%$9oaSk(IP7pNqRgu{=%3at9FjHioo6=yHY&lnc7! zh-=w|w9~&L&@Qryd_SWN^<{#(NXNkU1vDL>V^yOeH7}Ct_?w86FZuC#Rt@O(>P&;K zA93>YAn+m`$CkdB$8Z7xyr7kR-4D8X8UZ8?FG84q_}T}$gD@1jp?Cm+D!38Ymt|c6 cc}4ESn4{s Date: Sat, 30 Sep 2023 20:25:51 +0100 Subject: [PATCH 25/27] Add Oasis filter wheel library file for 64bit arm --- libastroasis/arm64/liboasisfilterwheel.bin | Bin 0 -> 39944 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100755 libastroasis/arm64/liboasisfilterwheel.bin diff --git a/libastroasis/arm64/liboasisfilterwheel.bin b/libastroasis/arm64/liboasisfilterwheel.bin new file mode 100755 index 0000000000000000000000000000000000000000..6cadfbf63b613c4cbc81938c3e8dffb4e1ebd1c8 GIT binary patch literal 39944 zcmeHwdtlVnmH(YdfC$Jl3Mz#GBhL^LUM5P*P*NCNhB|l2_!MaLf!da~+9pcd6lk?-TLiUiee5J)Wm~&NrIxth{66R2b7$^+Gc%#>?*8_V zeqnOvJnp&Yp8LMv?|je3{DOIQn@#8|LHtM%=A5J`PG%%M%3lDSB2)Ck-%;WQDcdK^ z>hY~;wIXRKWD51SFIcCm75{X#vO&Y$iHd&iY6W#VJ5Wk@j?^vh%wN1roWA4W#(ydL^5<6{`nNv0moI$by`K)>LRsYElY$TVoXFfg)@wpuzx)$S8h))qAxQZ1JcL3hW-wE7>&%fYvHzBz0RY14^ z-TYkxkNyH!fzN%6b90th4gS_LeGOp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+P5=J@#!l_J literal 0 HcmV?d00001 From ca03b150573adf5cfcb5e27fda504ae696a578ce Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Mon, 2 Oct 2023 21:32:46 +0800 Subject: [PATCH 26/27] Update indi-astroasis change log --- debian/indi-astroasis/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/indi-astroasis/changelog b/debian/indi-astroasis/changelog index 6926922ac..5e4ecee4e 100644 --- a/debian/indi-astroasis/changelog +++ b/debian/indi-astroasis/changelog @@ -1,3 +1,10 @@ +indi-astroasis (1.1) jammy; urgency=medium + + * Add Oasis Filter Wheel driver. + * Update compilation and installation instructions. + + -- Frank Chen Mon, 2 Oct 2023 21:00:00 +0800 + indi-astroasis (1.0) jammy; urgency=medium * Initial release. From 02258815c9d1ccbc9243f259152161a14a466aab Mon Sep 17 00:00:00 2001 From: Frank Chen Date: Tue, 3 Oct 2023 00:53:10 +0800 Subject: [PATCH 27/27] Add Oasis Filter Wheel driver library files --- debian/libastroasis/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/libastroasis/changelog b/debian/libastroasis/changelog index b9c4d854a..78ba0a734 100644 --- a/debian/libastroasis/changelog +++ b/debian/libastroasis/changelog @@ -1,3 +1,9 @@ +libastroasis (1.1.0) jammy; urgency=medium + + * Add Oasis Filter Wheel driver library files. + + -- Frank Chen Sun, 1 Oct 2023 01:00:00 +0800 + libastroasis (1.0.5) jammy; urgency=medium * Initial Release.