From 51e8bd1a59324abe6d2bd38aa7ae407112be2894 Mon Sep 17 00:00:00 2001 From: stevejcl Date: Tue, 29 Aug 2023 21:55:20 +0200 Subject: [PATCH 01/10] add TimeZone Call and Use number for Ra and Rec --- dist/src/api_codes.d.ts | 1 + dist/src/api_codes.d.ts.map | 2 +- dist/src/api_codes.js | 5 + dist/src/astro.d.ts | 16 ++- dist/src/astro.d.ts.map | 2 +- dist/src/astro.js | 28 +++-- docs/api_codes.js.html | 10 +- docs/api_utils.js.html | 4 +- docs/astro.js.html | 35 ++++-- docs/camera_settings.js.html | 4 +- docs/image_transmission.js.html | 4 +- docs/index.html | 4 +- docs/module-api_codes.html | 64 +++++++++- docs/module-api_utils.html | 4 +- docs/module-astro.html | 183 ++++++++++++++++++++++++++-- docs/module-camera_settings.html | 4 +- docs/module-image_transmission.html | 4 +- docs/module-motion_control.html | 4 +- docs/module-panoramic.html | 4 +- docs/module-photo_video.html | 4 +- docs/module-set_isp_settings.html | 4 +- docs/module-system_settings.html | 4 +- docs/module-tracking.html | 4 +- docs/motion_control.js.html | 4 +- docs/panoramic.js.html | 4 +- docs/photo_video.js.html | 4 +- docs/set_isp_settings.js.html | 4 +- docs/system_settings.js.html | 4 +- docs/tracking.js.html | 4 +- index.js | 1 + package-lock.json | 12 +- package.json | 3 + src/api_codes.js | 6 + src/astro.js | 31 +++-- tsconfig.json | 3 +- 35 files changed, 389 insertions(+), 89 deletions(-) diff --git a/dist/src/api_codes.d.ts b/dist/src/api_codes.d.ts index 49310887..c1351c47 100644 --- a/dist/src/api_codes.d.ts +++ b/dist/src/api_codes.d.ts @@ -5,6 +5,7 @@ export function wideangleURL(IP: string): string; export function telephotoURL(IP: string): string; export function rawPreviewURL(IP: string): string; export function utcURL(IP: string): string; +export function timeZoneURL(IP: string): string; export const turnOnCameraCmd: 10000; export const turnOffCameraCmd: 10017; export const telephotoCamera: 0; diff --git a/dist/src/api_codes.d.ts.map b/dist/src/api_codes.d.ts.map index 64a6b026..be8921d6 100644 --- a/dist/src/api_codes.d.ts.map +++ b/dist/src/api_codes.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"api_codes.d.ts","sourceRoot":"","sources":["../../src/api_codes.js"],"names":[],"mappings":"AAAA,wBAAwB;AAGxB,qCAAsC;AAM/B,0BAHI,MAAM,GACJ,MAAM,CAE2B;AAMvC,iCAHI,MAAM,GACJ,MAAM,CAEgD;AAM5D,iCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,kCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,2BAHI,MAAM,GACJ,MAAM,CAEyC;AAO5D,oCAAqC;AACrC,qCAAsC;AAEtC,gCAAiC;AACjC,gCAAiC;AAEjC,wCAAyC;AAOzC,iCAAkC;AAClC,gCAAiC;AACjC,gCAAiC;AAGjC,sCAAuC;AACvC,qCAAsC;AAGtC,sCAAuC;AACvC,qCAAsC;AAMtC,yBAA0B;AAC1B,2BAA4B;AAG5B,0CAA2C;AAG3C,wCAAyC;AAGzC,0CAA2C;AAG3C,mCAAoC;AAGpC,yCAA0C;AAG1C,uCAAwC;AACxC,wCAAyC;AACzC,0CAA2C;AAC3C,0CAA2C;AAG3C,mCAAoC;AACpC,oCAAqC;AAGrC,iCAAkC;AAClC,gCAAiC;AACjC,8BAA+B;AAG/B,2CAA4C;AAC5C,6CAA8C;AAC9C;;;;;;;;EAQE;AACF;;;;;;;;EAQE;AACF,4CAA6C;AAG7C,6BAA8B;AAC9B,sBAAuB;AACvB,uBAAwB;AAOxB,uCAAwC;AACxC,yCAA0C;AAC1C,mDAAoD;AAGpD,uCAAwC;AAOxC,qCAAsC;AACtC,iCAAkC;;;;;;;;;;;AAalC;;;;;;;;;EASE;AAGF,sCAAuC;AACvC,sCAAuC;AAEvC,2BAA4B;AAC5B,2BAA4B;AAE5B,yBAA0B;AAC1B,yBAA0B;AAE1B,uCAAwC;AACxC,6CAA8C;AAG9C,qCAAsC;AACtC,+CAAgD;AAChD,mCAAoC;AACpC,0CAA2C;AAG3C,2CAA4C;AAC5C,oCAAqC;AAGrC,sCAAuC;AAMvC,iCAAkC;AAClC,qCAAsC;AACtC,oCAAqC;AAMrC,iCAAkC;AAClC,gCAAiC;AAMjC,mCAAoC;AACpC,gCAAiC;AACjC,2BAA4B;AAE5B,kCAAmC;AAEnC,gCAAiC;AACjC,gCAAiC;AACjC,gCAAiC;AAEjC,oCAAqC;AACrC,8BAA+B;AAC/B,0BAA2B;AAE3B,oCAAqC;AAErC,0BAA2B;AAC3B,2BAA4B;AAM5B,oCAAqC;AAMrC,qCAAsC;AACtC,wCAAyC;AAMzC,4CAA6C;AAC7C,2CAA4C;AAM5C,gCAAiC"} \ No newline at end of file +{"version":3,"file":"api_codes.d.ts","sourceRoot":"","sources":["../../src/api_codes.js"],"names":[],"mappings":"AAAA,wBAAwB;AAGxB,qCAAsC;AAM/B,0BAHI,MAAM,GACJ,MAAM,CAE2B;AAMvC,iCAHI,MAAM,GACJ,MAAM,CAEgD;AAM5D,iCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,kCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,2BAHI,MAAM,GACJ,MAAM,CAEyC;AAMrD,gCAHI,MAAM,GACJ,MAAM,CAEsD;AAOzE,oCAAqC;AACrC,qCAAsC;AAEtC,gCAAiC;AACjC,gCAAiC;AAEjC,wCAAyC;AAOzC,iCAAkC;AAClC,gCAAiC;AACjC,gCAAiC;AAGjC,sCAAuC;AACvC,qCAAsC;AAGtC,sCAAuC;AACvC,qCAAsC;AAMtC,yBAA0B;AAC1B,2BAA4B;AAG5B,0CAA2C;AAG3C,wCAAyC;AAGzC,0CAA2C;AAG3C,mCAAoC;AAGpC,yCAA0C;AAG1C,uCAAwC;AACxC,wCAAyC;AACzC,0CAA2C;AAC3C,0CAA2C;AAG3C,mCAAoC;AACpC,oCAAqC;AAGrC,iCAAkC;AAClC,gCAAiC;AACjC,8BAA+B;AAG/B,2CAA4C;AAC5C,6CAA8C;AAC9C;;;;;;;;EAQE;AACF;;;;;;;;EAQE;AACF,4CAA6C;AAG7C,6BAA8B;AAC9B,sBAAuB;AACvB,uBAAwB;AAOxB,uCAAwC;AACxC,yCAA0C;AAC1C,mDAAoD;AAGpD,uCAAwC;AAOxC,qCAAsC;AACtC,iCAAkC;;;;;;;;;;;AAalC;;;;;;;;;EASE;AAGF,sCAAuC;AACvC,sCAAuC;AAEvC,2BAA4B;AAC5B,2BAA4B;AAE5B,yBAA0B;AAC1B,yBAA0B;AAE1B,uCAAwC;AACxC,6CAA8C;AAG9C,qCAAsC;AACtC,+CAAgD;AAChD,mCAAoC;AACpC,0CAA2C;AAG3C,2CAA4C;AAC5C,oCAAqC;AAGrC,sCAAuC;AAMvC,iCAAkC;AAClC,qCAAsC;AACtC,oCAAqC;AAMrC,iCAAkC;AAClC,gCAAiC;AAMjC,mCAAoC;AACpC,gCAAiC;AACjC,2BAA4B;AAE5B,kCAAmC;AAEnC,gCAAiC;AACjC,gCAAiC;AACjC,gCAAiC;AAEjC,oCAAqC;AACrC,8BAA+B;AAC/B,0BAA2B;AAE3B,oCAAqC;AAErC,0BAA2B;AAC3B,2BAA4B;AAM5B,oCAAqC;AAMrC,qCAAsC;AACtC,wCAAyC;AAMzC,4CAA6C;AAC7C,2CAA4C;AAM5C,gCAAiC"} \ No newline at end of file diff --git a/dist/src/api_codes.js b/dist/src/api_codes.js index 471132f6..4329a749 100644 --- a/dist/src/api_codes.js +++ b/dist/src/api_codes.js @@ -26,6 +26,11 @@ export const rawPreviewURL = (IP) => `http://${IP}:8092/rawstream`; * @returns {string} */ export const utcURL = (IP) => `http://${IP}:8092/date?date=`; +/** + * @param {string} IP + * @returns {string} + */ +export const timeZoneURL = (IP) => `http://${IP}:8092/timezone?timezone=`; // =============== // 3.1 image transmission // =============== diff --git a/dist/src/astro.d.ts b/dist/src/astro.d.ts index 32114c26..e9e92d78 100644 --- a/dist/src/astro.d.ts +++ b/dist/src/astro.d.ts @@ -1,9 +1,15 @@ /** - * 4.1.1 UTC+0 time + * 4.1.0 UTC+0 time * @param {string} IP * @returns {string} */ export function formatUtcUrl(IP: string): string; +/** + * 4.1.1 TimeZone name + * @param {string} IP + * @returns {string} + */ +export function formatTimeZoneUrl(IP: string): string; /** * 4.1.2 correction * @param {number} latitude @@ -13,14 +19,14 @@ export function formatUtcUrl(IP: string): string; export function calibrateGoto(latitude: number, longitude: number): any; /** * 4.1.3 Start goto - * @param {number|null} planet - * @param {string} rightAscension - * @param {string} declination + * @param {number|null|undefined} planet + * @param {number} rightAscension + * @param {number} declination * @param {number} latitude * @param {number} longitude * @returns {Object} */ -export function startGoto(planet: number | null, rightAscension: string, declination: string, latitude: number, longitude: number): any; +export function startGoto(planet: number | null | undefined, rightAscension: number, declination: number, latitude: number, longitude: number): any; /** * 4.1.4 Take raw pictures * @param {string} rightAscension diff --git a/dist/src/astro.d.ts.map b/dist/src/astro.d.ts.map index 6f5024e2..36778c05 100644 --- a/dist/src/astro.d.ts.map +++ b/dist/src/astro.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,kBACX,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAKC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB"} \ No newline at end of file +{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAuBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;GAIG;AACH,sCAHW,MAAM,GACJ,MAAM,CAQlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAKC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB"} \ No newline at end of file diff --git a/dist/src/astro.js b/dist/src/astro.js index aae54a74..9f948fd7 100644 --- a/dist/src/astro.js +++ b/dist/src/astro.js @@ -1,14 +1,26 @@ /** @module astro */ -import { telephotoCamera, calibrateGotoCmd, startGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, takeAstroDarkFramesCmd, darkGainDefault, utcURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, setRAWPreviewCmd, } from "./api_codes.js"; -import { nowUTC, nowLocal, nowLocalFileName } from "./api_utils.js"; +import pkg from "intl"; +const { Intl } = pkg; +import { telephotoCamera, calibrateGotoCmd, startGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, takeAstroDarkFramesCmd, darkGainDefault, utcURL, timeZoneURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, setRAWPreviewCmd, } from "./api_codes.js"; +import { nowUTC, nowLocalFileName } from "./api_utils.js"; /** - * 4.1.1 UTC+0 time + * 4.1.0 UTC+0 time * @param {string} IP * @returns {string} */ export function formatUtcUrl(IP) { return `${utcURL(IP)}${nowUTC()}`; } +/** + * 4.1.1 TimeZone name + * @param {string} IP + * @returns {string} + */ +export function formatTimeZoneUrl(IP) { + //return `${timeZoneURL(IP)}Europe/Paris}`; + // can't get it working ! + return `${timeZoneURL(IP)}${Intl.DateTimeFormat().resolvedOptions().timeZone}`; +} /** * 4.1.2 correction * @param {number} latitude @@ -21,16 +33,16 @@ export function calibrateGoto(latitude, longitude) { camId: telephotoCamera, lon: longitude, lat: latitude, - date: nowLocal(), + date: nowUTC(), path: `DWARF_GOTO_${nowLocalFileName()}`, }; return options; } /** * 4.1.3 Start goto - * @param {number|null} planet - * @param {string} rightAscension - * @param {string} declination + * @param {number|null|undefined} planet + * @param {number} rightAscension + * @param {number} declination * @param {number} latitude * @param {number} longitude * @returns {Object} @@ -41,7 +53,7 @@ export function startGoto(planet, rightAscension, declination, latitude, longitu camId: telephotoCamera, lon: longitude, lat: latitude, - date: nowLocal(), + date: nowUTC(), path: `DWARF_GOTO_${nowLocalFileName()}`, }; if (planet !== undefined && planet !== null) { diff --git a/docs/api_codes.js.html b/docs/api_codes.js.html index 434055c8..5adb3a0f 100644 --- a/docs/api_codes.js.html +++ b/docs/api_codes.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -82,6 +82,12 @@

api_codes.js

*/ export const utcURL = (IP) => `http://${IP}:8092/date?date=`; +/** + * @param {string} IP + * @returns {string} + */ +export const timeZoneURL = (IP) => `http://${IP}:8092/timezone?timezone=`; + // =============== // 3.1 image transmission // =============== @@ -322,7 +328,7 @@

api_codes.js


diff --git a/docs/api_utils.js.html b/docs/api_utils.js.html index e4c4e2ab..7931f198 100644 --- a/docs/api_utils.js.html +++ b/docs/api_utils.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -121,7 +121,7 @@

api_utils.js


diff --git a/docs/astro.js.html b/docs/astro.js.html index 268d07b0..7ef1af2d 100644 --- a/docs/astro.js.html +++ b/docs/astro.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -48,6 +48,8 @@

astro.js

/** @module astro */
+import pkg from "intl";
+const { Intl } = pkg;
 
 import {
   telephotoCamera,
@@ -59,15 +61,17 @@ 

astro.js

takeAstroDarkFramesCmd, darkGainDefault, utcURL, + timeZoneURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, setRAWPreviewCmd, } from "./api_codes.js"; -import { nowUTC, nowLocal, nowLocalFileName } from "./api_utils.js"; + +import { nowUTC, nowLocalFileName } from "./api_utils.js"; /** - * 4.1.1 UTC+0 time + * 4.1.0 UTC+0 time * @param {string} IP * @returns {string} */ @@ -75,6 +79,19 @@

astro.js

return `${utcURL(IP)}${nowUTC()}`; } +/** + * 4.1.1 TimeZone name + * @param {string} IP + * @returns {string} + */ +export function formatTimeZoneUrl(IP) { + //return `${timeZoneURL(IP)}Europe/Paris}`; + // can't get it working ! + return `${timeZoneURL(IP)}${ + Intl.DateTimeFormat().resolvedOptions().timeZone + }`; +} + /** * 4.1.2 correction * @param {number} latitude @@ -87,7 +104,7 @@

astro.js

camId: telephotoCamera, lon: longitude, lat: latitude, - date: nowLocal(), + date: nowUTC(), path: `DWARF_GOTO_${nowLocalFileName()}`, }; return options; @@ -95,9 +112,9 @@

astro.js

/** * 4.1.3 Start goto - * @param {number|null} planet - * @param {string} rightAscension - * @param {string} declination + * @param {number|null|undefined} planet + * @param {number} rightAscension + * @param {number} declination * @param {number} latitude * @param {number} longitude * @returns {Object} @@ -114,7 +131,7 @@

astro.js

camId: telephotoCamera, lon: longitude, lat: latitude, - date: nowLocal(), + date: nowUTC(), path: `DWARF_GOTO_${nowLocalFileName()}`, }; @@ -250,7 +267,7 @@

astro.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/camera_settings.js.html b/docs/camera_settings.js.html index 61f944f3..e6f71694 100644 --- a/docs/camera_settings.js.html +++ b/docs/camera_settings.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -111,7 +111,7 @@

camera_settings.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/image_transmission.js.html b/docs/image_transmission.js.html index 99dd1697..95840fca 100644 --- a/docs/image_transmission.js.html +++ b/docs/image_transmission.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -109,7 +109,7 @@

image_transmission.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index 0ad42e96..a86a9be3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -146,7 +146,7 @@

Usage


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_codes.html b/docs/module-api_codes.html index e24eb961..7fa5733b 100644 --- a/docs/module-api_codes.html +++ b/docs/module-api_codes.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -219,6 +219,66 @@

(static, constant) timeZoneURL

+ + + + + +
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + @@ -445,7 +505,7 @@

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_utils.html b/docs/module-api_utils.html index 18f38bfc..ecea307e 100644 --- a/docs/module-api_utils.html +++ b/docs/module-api_utils.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -726,7 +726,7 @@
Parameters:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-astro.html b/docs/module-astro.html index 4d53750c..2e1e7553 100644 --- a/docs/module-astro.html +++ b/docs/module-astro.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -146,7 +146,7 @@

Source:
@@ -308,6 +308,160 @@
Returns:
+

(static) formatTimeZoneUrl(IP) → {string}

+ + + + + + +
+ +
Description:
+
  • 4.1.1 TimeZone name
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
IP + + +string + + + + +
+ + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + + + + + + +

(static) formatUtcUrl(IP) → {string}

@@ -318,13 +472,13 @@

Description:
-
  • 4.1.1 UTC+0 time
+
  • 4.1.0 UTC+0 time
Source:
@@ -478,7 +632,7 @@

Source:
@@ -632,7 +786,7 @@

Source:
@@ -714,6 +868,9 @@
Parameters:
| null +| + +undefined @@ -737,7 +894,7 @@
Parameters:
-string +number @@ -761,7 +918,7 @@
Parameters:
-string +number @@ -885,7 +1042,7 @@

Source:
@@ -989,7 +1146,7 @@

Source:
@@ -1215,7 +1372,7 @@

Source:
@@ -1537,7 +1694,7 @@

Source:
@@ -1690,7 +1847,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-camera_settings.html b/docs/module-camera_settings.html index c2246a76..cec058f7 100644 --- a/docs/module-camera_settings.html +++ b/docs/module-camera_settings.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -558,7 +558,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-image_transmission.html b/docs/module-image_transmission.html index 60e18508..442cb221 100644 --- a/docs/module-image_transmission.html +++ b/docs/module-image_transmission.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -631,7 +631,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-motion_control.html b/docs/module-motion_control.html index cd5ec152..10d580b6 100644 --- a/docs/module-motion_control.html +++ b/docs/module-motion_control.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -1203,7 +1203,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-panoramic.html b/docs/module-panoramic.html index f1949845..6629470f 100644 --- a/docs/module-panoramic.html +++ b/docs/module-panoramic.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -619,7 +619,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-photo_video.html b/docs/module-photo_video.html index 2ba94590..471d986c 100644 --- a/docs/module-photo_video.html +++ b/docs/module-photo_video.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -935,7 +935,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-set_isp_settings.html b/docs/module-set_isp_settings.html index 7096628b..dd999e92 100644 --- a/docs/module-set_isp_settings.html +++ b/docs/module-set_isp_settings.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -2637,7 +2637,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-system_settings.html b/docs/module-system_settings.html index 9e2acd32..7d777d74 100644 --- a/docs/module-system_settings.html +++ b/docs/module-system_settings.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -249,7 +249,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-tracking.html b/docs/module-tracking.html index 15bad18e..67b9ee07 100644 --- a/docs/module-tracking.html +++ b/docs/module-tracking.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -579,7 +579,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/motion_control.js.html b/docs/motion_control.js.html index 4156dca0..bd8f16ca 100644 --- a/docs/motion_control.js.html +++ b/docs/motion_control.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -184,7 +184,7 @@

motion_control.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/panoramic.js.html b/docs/panoramic.js.html index ea359ef9..095b1706 100644 --- a/docs/panoramic.js.html +++ b/docs/panoramic.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -123,7 +123,7 @@

panoramic.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/photo_video.js.html b/docs/photo_video.js.html index 5552036d..2d65156c 100644 --- a/docs/photo_video.js.html +++ b/docs/photo_video.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -158,7 +158,7 @@

photo_video.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/set_isp_settings.js.html b/docs/set_isp_settings.js.html index ffda1ed1..8037fd43 100644 --- a/docs/set_isp_settings.js.html +++ b/docs/set_isp_settings.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -324,7 +324,7 @@

set_isp_settings.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/system_settings.js.html b/docs/system_settings.js.html index 9c9a4e6e..3b210761 100644 --- a/docs/system_settings.js.html +++ b/docs/system_settings.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -75,7 +75,7 @@

system_settings.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/tracking.js.html b/docs/tracking.js.html index 556d4997..dc2f6f7e 100644 --- a/docs/tracking.js.html +++ b/docs/tracking.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -113,7 +113,7 @@

tracking.js


- Documentation generated by JSDoc 4.0.2 on Tue Jul 04 2023 09:03:19 GMT-0700 (Pacific Daylight Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/index.js b/index.js index b98e02f7..091f73b5 100644 --- a/index.js +++ b/index.js @@ -9,3 +9,4 @@ export * from "./src/photo_video.js"; export * from "./src/set_isp_settings.js"; export * from "./src/system_settings.js"; export * from "./src/tracking.js"; + diff --git a/package-lock.json b/package-lock.json index cf9c3069..cf790703 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,16 @@ { "name": "dwarfii_api", - "version": "0.0.2-alpha.4", + "version": "0.0.2-alpha.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dwarfii_api", - "version": "0.0.2-alpha.4", + "version": "0.0.2-alpha.9", "license": "ISC", + "dependencies": { + "intl": "^1.2.5" + }, "devDependencies": { "docdash": "^2.0.1", "eslint": "^8.40.0", @@ -770,6 +773,11 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, + "node_modules/intl": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/intl/-/intl-1.2.5.tgz", + "integrity": "sha512-rK0KcPHeBFBcqsErKSpvZnrOmWOj+EmDkyJ57e90YWaQNqbcivcqmKDlHEeNprDWOsKzPsh1BfSpPQdDvclHVw==" + }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", diff --git a/package.json b/package.json index c78f9029..01e0ff92 100644 --- a/package.json +++ b/package.json @@ -27,5 +27,8 @@ "jsdoc": "^4.0.2", "prettier": "^2.8.8", "typescript": "^5.1.6" + }, + "dependencies": { + "intl": "^1.2.5" } } diff --git a/src/api_codes.js b/src/api_codes.js index 10383718..b4323722 100644 --- a/src/api_codes.js +++ b/src/api_codes.js @@ -33,6 +33,12 @@ export const rawPreviewURL = (IP) => `http://${IP}:8092/rawstream`; */ export const utcURL = (IP) => `http://${IP}:8092/date?date=`; +/** + * @param {string} IP + * @returns {string} + */ +export const timeZoneURL = (IP) => `http://${IP}:8092/timezone?timezone=`; + // =============== // 3.1 image transmission // =============== diff --git a/src/astro.js b/src/astro.js index c8d0e40e..b30a43cf 100644 --- a/src/astro.js +++ b/src/astro.js @@ -1,4 +1,6 @@ /** @module astro */ +import pkg from "intl"; +const { Intl } = pkg; import { telephotoCamera, @@ -10,15 +12,17 @@ import { takeAstroDarkFramesCmd, darkGainDefault, utcURL, + timeZoneURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, setRAWPreviewCmd, } from "./api_codes.js"; -import { nowUTC, nowLocal, nowLocalFileName } from "./api_utils.js"; + +import { nowUTC, nowLocalFileName } from "./api_utils.js"; /** - * 4.1.1 UTC+0 time + * 4.1.0 UTC+0 time * @param {string} IP * @returns {string} */ @@ -26,6 +30,19 @@ export function formatUtcUrl(IP) { return `${utcURL(IP)}${nowUTC()}`; } +/** + * 4.1.1 TimeZone name + * @param {string} IP + * @returns {string} + */ +export function formatTimeZoneUrl(IP) { + //return `${timeZoneURL(IP)}Europe/Paris}`; + // can't get it working ! + return `${timeZoneURL(IP)}${ + Intl.DateTimeFormat().resolvedOptions().timeZone + }`; +} + /** * 4.1.2 correction * @param {number} latitude @@ -38,7 +55,7 @@ export function calibrateGoto(latitude, longitude) { camId: telephotoCamera, lon: longitude, lat: latitude, - date: nowLocal(), + date: nowUTC(), path: `DWARF_GOTO_${nowLocalFileName()}`, }; return options; @@ -46,9 +63,9 @@ export function calibrateGoto(latitude, longitude) { /** * 4.1.3 Start goto - * @param {number|null} planet - * @param {string} rightAscension - * @param {string} declination + * @param {number|null|undefined} planet + * @param {number} rightAscension + * @param {number} declination * @param {number} latitude * @param {number} longitude * @returns {Object} @@ -65,7 +82,7 @@ export function startGoto( camId: telephotoCamera, lon: longitude, lat: latitude, - date: nowLocal(), + date: nowUTC(), path: `DWARF_GOTO_${nowLocalFileName()}`, }; diff --git a/tsconfig.json b/tsconfig.json index d74ed64a..b553996b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,8 @@ "outDir": "./dist", "skipLibCheck": true, "declaration": true, - "declarationMap": true + "declarationMap": true, + "moduleResolution":"node" }, "include": ["src/*", "index.js"], "exclude": ["node_modules"] From 58de60f066b81cabd7ded7589fda55dd14d434e9 Mon Sep 17 00:00:00 2001 From: stevejcl Date: Tue, 29 Aug 2023 22:52:04 +0200 Subject: [PATCH 02/10] version 0.0.2-alpha.10 --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 01e0ff92..501f811d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dwarfii_api", - "version": "0.0.2-alpha.9", + "version": "0.0.2-alpha.10", "description": "wrapper for Dwarf II telescope API", "main": "dist/index.js", "scripts": { @@ -14,10 +14,10 @@ "build": "npm run CI && npm run ts && npm run generate-docs" }, "type": "module", - "author": "wykhuh", + "author": "stevejcl", "repository": { "type": "git", - "url": "https://github.com/DwarfTelescopeUsers/dwarfii_api" + "url": "https://github.com/stevejcl/dwarfii_api" }, "license": "ISC", "devDependencies": { From fd19c81b01c52cb0aa784fb1644073d7d76b6a44 Mon Sep 17 00:00:00 2001 From: stevejcl Date: Wed, 30 Aug 2023 02:24:21 +0200 Subject: [PATCH 03/10] Version 0.0.2-alpha.10 --- dist/src/astro.d.ts | 3 +- dist/src/astro.d.ts.map | 2 +- dist/src/astro.js | 7 ++--- docs/api_codes.js.html | 2 +- docs/api_utils.js.html | 2 +- docs/astro.js.html | 11 +++---- docs/camera_settings.js.html | 2 +- docs/image_transmission.js.html | 2 +- docs/index.html | 2 +- docs/module-api_codes.html | 2 +- docs/module-api_utils.html | 2 +- docs/module-astro.html | 46 ++++++++++++++++++++++------- docs/module-camera_settings.html | 2 +- docs/module-image_transmission.html | 2 +- docs/module-motion_control.html | 2 +- docs/module-panoramic.html | 2 +- docs/module-photo_video.html | 2 +- docs/module-set_isp_settings.html | 2 +- docs/module-system_settings.html | 2 +- docs/module-tracking.html | 2 +- docs/motion_control.js.html | 2 +- docs/panoramic.js.html | 2 +- docs/photo_video.js.html | 2 +- docs/set_isp_settings.js.html | 2 +- docs/system_settings.js.html | 2 +- docs/tracking.js.html | 2 +- package-lock.json | 12 ++------ package.json | 3 -- src/astro.js | 9 ++---- tsconfig.json | 1 - 30 files changed, 71 insertions(+), 65 deletions(-) diff --git a/dist/src/astro.d.ts b/dist/src/astro.d.ts index e9e92d78..7abc8dfb 100644 --- a/dist/src/astro.d.ts +++ b/dist/src/astro.d.ts @@ -7,9 +7,10 @@ export function formatUtcUrl(IP: string): string; /** * 4.1.1 TimeZone name * @param {string} IP + * @param {string} timezone * @returns {string} */ -export function formatTimeZoneUrl(IP: string): string; +export function formatTimeZoneUrl(IP: string, timezone: string): string; /** * 4.1.2 correction * @param {number} latitude diff --git a/dist/src/astro.d.ts.map b/dist/src/astro.d.ts.map index 36778c05..c5e11b25 100644 --- a/dist/src/astro.d.ts.map +++ b/dist/src/astro.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAuBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;GAIG;AACH,sCAHW,MAAM,GACJ,MAAM,CAQlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAKC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB"} \ No newline at end of file +{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAMlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAKC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB"} \ No newline at end of file diff --git a/dist/src/astro.js b/dist/src/astro.js index 9f948fd7..92df3c50 100644 --- a/dist/src/astro.js +++ b/dist/src/astro.js @@ -1,6 +1,4 @@ /** @module astro */ -import pkg from "intl"; -const { Intl } = pkg; import { telephotoCamera, calibrateGotoCmd, startGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, takeAstroDarkFramesCmd, darkGainDefault, utcURL, timeZoneURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, setRAWPreviewCmd, } from "./api_codes.js"; import { nowUTC, nowLocalFileName } from "./api_utils.js"; /** @@ -14,12 +12,13 @@ export function formatUtcUrl(IP) { /** * 4.1.1 TimeZone name * @param {string} IP + * @param {string} timezone * @returns {string} */ -export function formatTimeZoneUrl(IP) { +export function formatTimeZoneUrl(IP, timezone) { //return `${timeZoneURL(IP)}Europe/Paris}`; // can't get it working ! - return `${timeZoneURL(IP)}${Intl.DateTimeFormat().resolvedOptions().timeZone}`; + return `${timeZoneURL(IP)}${timezone}`; } /** * 4.1.2 correction diff --git a/docs/api_codes.js.html b/docs/api_codes.js.html index 5adb3a0f..9dc475e3 100644 --- a/docs/api_codes.js.html +++ b/docs/api_codes.js.html @@ -328,7 +328,7 @@

api_codes.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/api_utils.js.html b/docs/api_utils.js.html index 7931f198..418e8fb3 100644 --- a/docs/api_utils.js.html +++ b/docs/api_utils.js.html @@ -121,7 +121,7 @@

api_utils.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/astro.js.html b/docs/astro.js.html index 7ef1af2d..2f6ceeb5 100644 --- a/docs/astro.js.html +++ b/docs/astro.js.html @@ -48,8 +48,6 @@

astro.js

/** @module astro */
-import pkg from "intl";
-const { Intl } = pkg;
 
 import {
   telephotoCamera,
@@ -82,14 +80,13 @@ 

astro.js

/** * 4.1.1 TimeZone name * @param {string} IP + * @param {string} timezone * @returns {string} */ -export function formatTimeZoneUrl(IP) { +export function formatTimeZoneUrl(IP, timezone) { //return `${timeZoneURL(IP)}Europe/Paris}`; // can't get it working ! - return `${timeZoneURL(IP)}${ - Intl.DateTimeFormat().resolvedOptions().timeZone - }`; + return `${timeZoneURL(IP)}${timezone}`; } /** @@ -267,7 +264,7 @@

astro.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/camera_settings.js.html b/docs/camera_settings.js.html index e6f71694..4ea3e248 100644 --- a/docs/camera_settings.js.html +++ b/docs/camera_settings.js.html @@ -111,7 +111,7 @@

camera_settings.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/image_transmission.js.html b/docs/image_transmission.js.html index 95840fca..ac82333b 100644 --- a/docs/image_transmission.js.html +++ b/docs/image_transmission.js.html @@ -109,7 +109,7 @@

image_transmission.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index a86a9be3..769a5cc0 100644 --- a/docs/index.html +++ b/docs/index.html @@ -146,7 +146,7 @@

Usage


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_codes.html b/docs/module-api_codes.html index 7fa5733b..8986969f 100644 --- a/docs/module-api_codes.html +++ b/docs/module-api_codes.html @@ -505,7 +505,7 @@

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_utils.html b/docs/module-api_utils.html index ecea307e..a61fa825 100644 --- a/docs/module-api_utils.html +++ b/docs/module-api_utils.html @@ -726,7 +726,7 @@
Parameters:

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-astro.html b/docs/module-astro.html index 2e1e7553..04193d31 100644 --- a/docs/module-astro.html +++ b/docs/module-astro.html @@ -146,7 +146,7 @@

Source:
@@ -308,7 +308,7 @@
Returns:
-

(static) formatTimeZoneUrl(IP) → {string}

+

(static) formatTimeZoneUrl(IP, timezone) → {string}

@@ -324,7 +324,7 @@

Source:
@@ -413,6 +413,30 @@
Parameters:
+ + + + + + + + timezone + + + + + +string + + + + + + + + + + @@ -478,7 +502,7 @@

Source:
@@ -632,7 +656,7 @@

Source:
@@ -786,7 +810,7 @@

Source:
@@ -1042,7 +1066,7 @@

Source:
@@ -1146,7 +1170,7 @@

Source:
@@ -1372,7 +1396,7 @@

Source:
@@ -1694,7 +1718,7 @@

Source:
@@ -1847,7 +1871,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-camera_settings.html b/docs/module-camera_settings.html index cec058f7..b117b7ce 100644 --- a/docs/module-camera_settings.html +++ b/docs/module-camera_settings.html @@ -558,7 +558,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-image_transmission.html b/docs/module-image_transmission.html index 442cb221..d4fefa56 100644 --- a/docs/module-image_transmission.html +++ b/docs/module-image_transmission.html @@ -631,7 +631,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-motion_control.html b/docs/module-motion_control.html index 10d580b6..cffbefae 100644 --- a/docs/module-motion_control.html +++ b/docs/module-motion_control.html @@ -1203,7 +1203,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-panoramic.html b/docs/module-panoramic.html index 6629470f..412110c9 100644 --- a/docs/module-panoramic.html +++ b/docs/module-panoramic.html @@ -619,7 +619,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-photo_video.html b/docs/module-photo_video.html index 471d986c..6c388cfc 100644 --- a/docs/module-photo_video.html +++ b/docs/module-photo_video.html @@ -935,7 +935,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-set_isp_settings.html b/docs/module-set_isp_settings.html index dd999e92..d5fe3cfb 100644 --- a/docs/module-set_isp_settings.html +++ b/docs/module-set_isp_settings.html @@ -2637,7 +2637,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-system_settings.html b/docs/module-system_settings.html index 7d777d74..fb67218b 100644 --- a/docs/module-system_settings.html +++ b/docs/module-system_settings.html @@ -249,7 +249,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-tracking.html b/docs/module-tracking.html index 67b9ee07..9685821d 100644 --- a/docs/module-tracking.html +++ b/docs/module-tracking.html @@ -579,7 +579,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/motion_control.js.html b/docs/motion_control.js.html index bd8f16ca..b323d2be 100644 --- a/docs/motion_control.js.html +++ b/docs/motion_control.js.html @@ -184,7 +184,7 @@

motion_control.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/panoramic.js.html b/docs/panoramic.js.html index 095b1706..c54f2832 100644 --- a/docs/panoramic.js.html +++ b/docs/panoramic.js.html @@ -123,7 +123,7 @@

panoramic.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/photo_video.js.html b/docs/photo_video.js.html index 2d65156c..64cd9cd7 100644 --- a/docs/photo_video.js.html +++ b/docs/photo_video.js.html @@ -158,7 +158,7 @@

photo_video.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/set_isp_settings.js.html b/docs/set_isp_settings.js.html index 8037fd43..ff638d2c 100644 --- a/docs/set_isp_settings.js.html +++ b/docs/set_isp_settings.js.html @@ -324,7 +324,7 @@

set_isp_settings.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/system_settings.js.html b/docs/system_settings.js.html index 3b210761..5f61c951 100644 --- a/docs/system_settings.js.html +++ b/docs/system_settings.js.html @@ -75,7 +75,7 @@

system_settings.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/tracking.js.html b/docs/tracking.js.html index dc2f6f7e..61f1bc6e 100644 --- a/docs/tracking.js.html +++ b/docs/tracking.js.html @@ -113,7 +113,7 @@

tracking.js


- Documentation generated by JSDoc 4.0.2 on Tue Aug 29 2023 21:36:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/package-lock.json b/package-lock.json index cf790703..d28fcd0c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,13 @@ { "name": "dwarfii_api", - "version": "0.0.2-alpha.9", + "version": "0.0.2-alpha.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dwarfii_api", - "version": "0.0.2-alpha.9", + "version": "0.0.2-alpha.10", "license": "ISC", - "dependencies": { - "intl": "^1.2.5" - }, "devDependencies": { "docdash": "^2.0.1", "eslint": "^8.40.0", @@ -773,11 +770,6 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, - "node_modules/intl": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/intl/-/intl-1.2.5.tgz", - "integrity": "sha512-rK0KcPHeBFBcqsErKSpvZnrOmWOj+EmDkyJ57e90YWaQNqbcivcqmKDlHEeNprDWOsKzPsh1BfSpPQdDvclHVw==" - }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", diff --git a/package.json b/package.json index 501f811d..c0bcf786 100644 --- a/package.json +++ b/package.json @@ -27,8 +27,5 @@ "jsdoc": "^4.0.2", "prettier": "^2.8.8", "typescript": "^5.1.6" - }, - "dependencies": { - "intl": "^1.2.5" } } diff --git a/src/astro.js b/src/astro.js index b30a43cf..ceb7b468 100644 --- a/src/astro.js +++ b/src/astro.js @@ -1,6 +1,4 @@ /** @module astro */ -import pkg from "intl"; -const { Intl } = pkg; import { telephotoCamera, @@ -33,14 +31,13 @@ export function formatUtcUrl(IP) { /** * 4.1.1 TimeZone name * @param {string} IP + * @param {string} timezone * @returns {string} */ -export function formatTimeZoneUrl(IP) { +export function formatTimeZoneUrl(IP, timezone) { //return `${timeZoneURL(IP)}Europe/Paris}`; // can't get it working ! - return `${timeZoneURL(IP)}${ - Intl.DateTimeFormat().resolvedOptions().timeZone - }`; + return `${timeZoneURL(IP)}${timezone}`; } /** diff --git a/tsconfig.json b/tsconfig.json index b553996b..289367ed 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,6 @@ "skipLibCheck": true, "declaration": true, "declarationMap": true, - "moduleResolution":"node" }, "include": ["src/*", "index.js"], "exclude": ["node_modules"] From eba60305c01250ea53b44479673f3377ae1befef Mon Sep 17 00:00:00 2001 From: stevejcl Date: Wed, 30 Aug 2023 03:00:01 +0200 Subject: [PATCH 04/10] 0.0.2-alpha.11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c0bcf786..2641e8e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dwarfii_api", - "version": "0.0.2-alpha.10", + "version": "0.0.2-alpha.11", "description": "wrapper for Dwarf II telescope API", "main": "dist/index.js", "scripts": { From aed775963b38e279fa9d8809d8a9950e11f39ab8 Mon Sep 17 00:00:00 2001 From: stevejcl Date: Sun, 3 Sep 2023 16:02:21 +0200 Subject: [PATCH 05/10] 0.0.2-alpha.12 --- dist/src/api_codes.d.ts | 1 + dist/src/api_codes.d.ts.map | 2 +- dist/src/api_codes.js | 1 + dist/src/astro.d.ts | 5 ++ dist/src/astro.d.ts.map | 2 +- dist/src/astro.js | 13 ++- docs/api_codes.js.html | 5 +- docs/api_utils.js.html | 4 +- docs/astro.js.html | 17 +++- docs/camera_settings.js.html | 4 +- docs/image_transmission.js.html | 4 +- docs/index.html | 4 +- docs/module-api_codes.html | 4 +- docs/module-api_utils.html | 4 +- docs/module-astro.html | 126 +++++++++++++++++++++++++--- docs/module-camera_settings.html | 4 +- docs/module-image_transmission.html | 4 +- docs/module-motion_control.html | 4 +- docs/module-panoramic.html | 4 +- docs/module-photo_video.html | 4 +- docs/module-set_isp_settings.html | 4 +- docs/module-system_settings.html | 4 +- docs/module-tracking.html | 4 +- docs/motion_control.js.html | 4 +- docs/panoramic.js.html | 4 +- docs/photo_video.js.html | 4 +- docs/set_isp_settings.js.html | 4 +- docs/system_settings.js.html | 4 +- docs/tracking.js.html | 4 +- package.json | 2 +- src/api_codes.js | 1 + src/astro.js | 13 +++ 32 files changed, 209 insertions(+), 59 deletions(-) diff --git a/dist/src/api_codes.d.ts b/dist/src/api_codes.d.ts index c1351c47..c001d79c 100644 --- a/dist/src/api_codes.d.ts +++ b/dist/src/api_codes.d.ts @@ -64,6 +64,7 @@ export const statusWorkingStateTelephotoCmd: 10022; export const statusWideangleCmd: 10217; export const calibrateGotoCmd: 11205; export const startGotoCmd: 11203; +export const stopGotoCmd: 11204; export namespace planetsValueId { let Mercury: number; let Venus: number; diff --git a/dist/src/api_codes.d.ts.map b/dist/src/api_codes.d.ts.map index be8921d6..4555062d 100644 --- a/dist/src/api_codes.d.ts.map +++ b/dist/src/api_codes.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"api_codes.d.ts","sourceRoot":"","sources":["../../src/api_codes.js"],"names":[],"mappings":"AAAA,wBAAwB;AAGxB,qCAAsC;AAM/B,0BAHI,MAAM,GACJ,MAAM,CAE2B;AAMvC,iCAHI,MAAM,GACJ,MAAM,CAEgD;AAM5D,iCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,kCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,2BAHI,MAAM,GACJ,MAAM,CAEyC;AAMrD,gCAHI,MAAM,GACJ,MAAM,CAEsD;AAOzE,oCAAqC;AACrC,qCAAsC;AAEtC,gCAAiC;AACjC,gCAAiC;AAEjC,wCAAyC;AAOzC,iCAAkC;AAClC,gCAAiC;AACjC,gCAAiC;AAGjC,sCAAuC;AACvC,qCAAsC;AAGtC,sCAAuC;AACvC,qCAAsC;AAMtC,yBAA0B;AAC1B,2BAA4B;AAG5B,0CAA2C;AAG3C,wCAAyC;AAGzC,0CAA2C;AAG3C,mCAAoC;AAGpC,yCAA0C;AAG1C,uCAAwC;AACxC,wCAAyC;AACzC,0CAA2C;AAC3C,0CAA2C;AAG3C,mCAAoC;AACpC,oCAAqC;AAGrC,iCAAkC;AAClC,gCAAiC;AACjC,8BAA+B;AAG/B,2CAA4C;AAC5C,6CAA8C;AAC9C;;;;;;;;EAQE;AACF;;;;;;;;EAQE;AACF,4CAA6C;AAG7C,6BAA8B;AAC9B,sBAAuB;AACvB,uBAAwB;AAOxB,uCAAwC;AACxC,yCAA0C;AAC1C,mDAAoD;AAGpD,uCAAwC;AAOxC,qCAAsC;AACtC,iCAAkC;;;;;;;;;;;AAalC;;;;;;;;;EASE;AAGF,sCAAuC;AACvC,sCAAuC;AAEvC,2BAA4B;AAC5B,2BAA4B;AAE5B,yBAA0B;AAC1B,yBAA0B;AAE1B,uCAAwC;AACxC,6CAA8C;AAG9C,qCAAsC;AACtC,+CAAgD;AAChD,mCAAoC;AACpC,0CAA2C;AAG3C,2CAA4C;AAC5C,oCAAqC;AAGrC,sCAAuC;AAMvC,iCAAkC;AAClC,qCAAsC;AACtC,oCAAqC;AAMrC,iCAAkC;AAClC,gCAAiC;AAMjC,mCAAoC;AACpC,gCAAiC;AACjC,2BAA4B;AAE5B,kCAAmC;AAEnC,gCAAiC;AACjC,gCAAiC;AACjC,gCAAiC;AAEjC,oCAAqC;AACrC,8BAA+B;AAC/B,0BAA2B;AAE3B,oCAAqC;AAErC,0BAA2B;AAC3B,2BAA4B;AAM5B,oCAAqC;AAMrC,qCAAsC;AACtC,wCAAyC;AAMzC,4CAA6C;AAC7C,2CAA4C;AAM5C,gCAAiC"} \ No newline at end of file +{"version":3,"file":"api_codes.d.ts","sourceRoot":"","sources":["../../src/api_codes.js"],"names":[],"mappings":"AAAA,wBAAwB;AAGxB,qCAAsC;AAM/B,0BAHI,MAAM,GACJ,MAAM,CAE2B;AAMvC,iCAHI,MAAM,GACJ,MAAM,CAEgD;AAM5D,iCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,kCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,2BAHI,MAAM,GACJ,MAAM,CAEyC;AAMrD,gCAHI,MAAM,GACJ,MAAM,CAEsD;AAOzE,oCAAqC;AACrC,qCAAsC;AAEtC,gCAAiC;AACjC,gCAAiC;AAEjC,wCAAyC;AAOzC,iCAAkC;AAClC,gCAAiC;AACjC,gCAAiC;AAGjC,sCAAuC;AACvC,qCAAsC;AAGtC,sCAAuC;AACvC,qCAAsC;AAMtC,yBAA0B;AAC1B,2BAA4B;AAG5B,0CAA2C;AAG3C,wCAAyC;AAGzC,0CAA2C;AAG3C,mCAAoC;AAGpC,yCAA0C;AAG1C,uCAAwC;AACxC,wCAAyC;AACzC,0CAA2C;AAC3C,0CAA2C;AAG3C,mCAAoC;AACpC,oCAAqC;AAGrC,iCAAkC;AAClC,gCAAiC;AACjC,8BAA+B;AAG/B,2CAA4C;AAC5C,6CAA8C;AAC9C;;;;;;;;EAQE;AACF;;;;;;;;EAQE;AACF,4CAA6C;AAG7C,6BAA8B;AAC9B,sBAAuB;AACvB,uBAAwB;AAOxB,uCAAwC;AACxC,yCAA0C;AAC1C,mDAAoD;AAGpD,uCAAwC;AAOxC,qCAAsC;AACtC,iCAAkC;AAClC,gCAAiC;;;;;;;;;;;AAajC;;;;;;;;;EASE;AAGF,sCAAuC;AACvC,sCAAuC;AAEvC,2BAA4B;AAC5B,2BAA4B;AAE5B,yBAA0B;AAC1B,yBAA0B;AAE1B,uCAAwC;AACxC,6CAA8C;AAG9C,qCAAsC;AACtC,+CAAgD;AAChD,mCAAoC;AACpC,0CAA2C;AAG3C,2CAA4C;AAC5C,oCAAqC;AAGrC,sCAAuC;AAMvC,iCAAkC;AAClC,qCAAsC;AACtC,oCAAqC;AAMrC,iCAAkC;AAClC,gCAAiC;AAMjC,mCAAoC;AACpC,gCAAiC;AACjC,2BAA4B;AAE5B,kCAAmC;AAEnC,gCAAiC;AACjC,gCAAiC;AACjC,gCAAiC;AAEjC,oCAAqC;AACrC,8BAA+B;AAC/B,0BAA2B;AAE3B,oCAAqC;AAErC,0BAA2B;AAC3B,2BAA4B;AAM5B,oCAAqC;AAMrC,qCAAsC;AACtC,wCAAyC;AAMzC,4CAA6C;AAC7C,2CAA4C;AAM5C,gCAAiC"} \ No newline at end of file diff --git a/dist/src/api_codes.js b/dist/src/api_codes.js index 4329a749..feb153ae 100644 --- a/dist/src/api_codes.js +++ b/dist/src/api_codes.js @@ -121,6 +121,7 @@ export const statusWideangleCmd = 10217; // goto export const calibrateGotoCmd = 11205; export const startGotoCmd = 11203; +export const stopGotoCmd = 11204; export const planetsValueId = { Mercury: 0, Venus: 1, diff --git a/dist/src/astro.d.ts b/dist/src/astro.d.ts index 7abc8dfb..83c95866 100644 --- a/dist/src/astro.d.ts +++ b/dist/src/astro.d.ts @@ -28,6 +28,11 @@ export function calibrateGoto(latitude: number, longitude: number): any; * @returns {Object} */ export function startGoto(planet: number | null | undefined, rightAscension: number, declination: number, latitude: number, longitude: number): any; +/** + * 4.1.31 Stop goto + * @returns {Object} + */ +export function stopGoto(): any; /** * 4.1.4 Take raw pictures * @param {string} rightAscension diff --git a/dist/src/astro.d.ts.map b/dist/src/astro.d.ts.map index c5e11b25..22c8f215 100644 --- a/dist/src/astro.d.ts.map +++ b/dist/src/astro.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAMlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAKC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB"} \ No newline at end of file +{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAMlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;GAGG;AACH,gCAMC;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAKC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB"} \ No newline at end of file diff --git a/dist/src/astro.js b/dist/src/astro.js index 92df3c50..638973cc 100644 --- a/dist/src/astro.js +++ b/dist/src/astro.js @@ -1,5 +1,5 @@ /** @module astro */ -import { telephotoCamera, calibrateGotoCmd, startGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, takeAstroDarkFramesCmd, darkGainDefault, utcURL, timeZoneURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, setRAWPreviewCmd, } from "./api_codes.js"; +import { telephotoCamera, calibrateGotoCmd, startGotoCmd, stopGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, takeAstroDarkFramesCmd, darkGainDefault, utcURL, timeZoneURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, setRAWPreviewCmd, } from "./api_codes.js"; import { nowUTC, nowLocalFileName } from "./api_utils.js"; /** * 4.1.0 UTC+0 time @@ -64,6 +64,17 @@ export function startGoto(planet, rightAscension, declination, latitude, longitu } return options; } +/** + * 4.1.31 Stop goto + * @returns {Object} + */ +export function stopGoto() { + const options = { + interface: stopGotoCmd, + camId: telephotoCamera, + }; + return options; +} /** * 4.1.4 Take raw pictures * @param {string} rightAscension diff --git a/docs/api_codes.js.html b/docs/api_codes.js.html index 9dc475e3..91c153c4 100644 --- a/docs/api_codes.js.html +++ b/docs/api_codes.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -202,6 +202,7 @@

api_codes.js

// goto export const calibrateGotoCmd = 11205; export const startGotoCmd = 11203; +export const stopGotoCmd = 11204; export const planetsValueId = { Mercury: 0, @@ -328,7 +329,7 @@

api_codes.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/api_utils.js.html b/docs/api_utils.js.html index 418e8fb3..5a13b8c1 100644 --- a/docs/api_utils.js.html +++ b/docs/api_utils.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -121,7 +121,7 @@

api_utils.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/astro.js.html b/docs/astro.js.html index 2f6ceeb5..fb28ac7b 100644 --- a/docs/astro.js.html +++ b/docs/astro.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -53,6 +53,7 @@

astro.js

telephotoCamera, calibrateGotoCmd, startGotoCmd, + stopGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, @@ -141,6 +142,18 @@

astro.js

return options; } +/** + * 4.1.31 Stop goto + * @returns {Object} + */ +export function stopGoto() { + const options = { + interface: stopGotoCmd, + camId: telephotoCamera, + }; + return options; +} + /** * 4.1.4 Take raw pictures * @param {string} rightAscension @@ -264,7 +277,7 @@

astro.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/camera_settings.js.html b/docs/camera_settings.js.html index 4ea3e248..a84ef5ec 100644 --- a/docs/camera_settings.js.html +++ b/docs/camera_settings.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -111,7 +111,7 @@

camera_settings.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/image_transmission.js.html b/docs/image_transmission.js.html index ac82333b..13a55682 100644 --- a/docs/image_transmission.js.html +++ b/docs/image_transmission.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -109,7 +109,7 @@

image_transmission.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index 769a5cc0..2ab94048 100644 --- a/docs/index.html +++ b/docs/index.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -146,7 +146,7 @@

Usage


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_codes.html b/docs/module-api_codes.html index 8986969f..65fae2d8 100644 --- a/docs/module-api_codes.html +++ b/docs/module-api_codes.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -505,7 +505,7 @@

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_utils.html b/docs/module-api_utils.html index a61fa825..813fedca 100644 --- a/docs/module-api_utils.html +++ b/docs/module-api_utils.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -726,7 +726,7 @@
Parameters:

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-astro.html b/docs/module-astro.html index 04193d31..b7db4384 100644 --- a/docs/module-astro.html +++ b/docs/module-astro.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -146,7 +146,7 @@

Source:
@@ -324,7 +324,7 @@

Source:
@@ -502,7 +502,7 @@

Source:
@@ -656,7 +656,7 @@

Source:
@@ -810,7 +810,7 @@

Source:
@@ -1066,7 +1066,111 @@

Source:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Object + + + +
+
+ + + + + + + + + + +

(static) stopGoto() → {Object}

+ + + + + + +
+ +
Description:
+
  • 4.1.31 Stop goto
+ + + +
Source:
+
@@ -1170,7 +1274,7 @@

Source:
@@ -1396,7 +1500,7 @@

Source:
@@ -1718,7 +1822,7 @@

Source:
@@ -1871,7 +1975,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-camera_settings.html b/docs/module-camera_settings.html index b117b7ce..7b75fef1 100644 --- a/docs/module-camera_settings.html +++ b/docs/module-camera_settings.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -558,7 +558,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-image_transmission.html b/docs/module-image_transmission.html index d4fefa56..65584f46 100644 --- a/docs/module-image_transmission.html +++ b/docs/module-image_transmission.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -631,7 +631,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-motion_control.html b/docs/module-motion_control.html index cffbefae..bcca2d4b 100644 --- a/docs/module-motion_control.html +++ b/docs/module-motion_control.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -1203,7 +1203,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-panoramic.html b/docs/module-panoramic.html index 412110c9..23c4d58c 100644 --- a/docs/module-panoramic.html +++ b/docs/module-panoramic.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -619,7 +619,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-photo_video.html b/docs/module-photo_video.html index 6c388cfc..fb785393 100644 --- a/docs/module-photo_video.html +++ b/docs/module-photo_video.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -935,7 +935,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-set_isp_settings.html b/docs/module-set_isp_settings.html index d5fe3cfb..1030ff51 100644 --- a/docs/module-set_isp_settings.html +++ b/docs/module-set_isp_settings.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -2637,7 +2637,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-system_settings.html b/docs/module-system_settings.html index fb67218b..fdbc3282 100644 --- a/docs/module-system_settings.html +++ b/docs/module-system_settings.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -249,7 +249,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-tracking.html b/docs/module-tracking.html index 9685821d..42354651 100644 --- a/docs/module-tracking.html +++ b/docs/module-tracking.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -579,7 +579,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/motion_control.js.html b/docs/motion_control.js.html index b323d2be..4dce89ab 100644 --- a/docs/motion_control.js.html +++ b/docs/motion_control.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -184,7 +184,7 @@

motion_control.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/panoramic.js.html b/docs/panoramic.js.html index c54f2832..b9f5791f 100644 --- a/docs/panoramic.js.html +++ b/docs/panoramic.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -123,7 +123,7 @@

panoramic.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/photo_video.js.html b/docs/photo_video.js.html index 64cd9cd7..a99adfb8 100644 --- a/docs/photo_video.js.html +++ b/docs/photo_video.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -158,7 +158,7 @@

photo_video.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/set_isp_settings.js.html b/docs/set_isp_settings.js.html index ff638d2c..fc5ca155 100644 --- a/docs/set_isp_settings.js.html +++ b/docs/set_isp_settings.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -324,7 +324,7 @@

set_isp_settings.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/system_settings.js.html b/docs/system_settings.js.html index 5f61c951..f9749f63 100644 --- a/docs/system_settings.js.html +++ b/docs/system_settings.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -75,7 +75,7 @@

system_settings.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/tracking.js.html b/docs/tracking.js.html index 61f1bc6e..40904971 100644 --- a/docs/tracking.js.html +++ b/docs/tracking.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -113,7 +113,7 @@

tracking.js


- Documentation generated by JSDoc 4.0.2 on Wed Aug 30 2023 02:18:47 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/package.json b/package.json index 2641e8e3..5dcb896f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dwarfii_api", - "version": "0.0.2-alpha.11", + "version": "0.0.2-alpha.12", "description": "wrapper for Dwarf II telescope API", "main": "dist/index.js", "scripts": { diff --git a/src/api_codes.js b/src/api_codes.js index b4323722..eb075a72 100644 --- a/src/api_codes.js +++ b/src/api_codes.js @@ -153,6 +153,7 @@ export const statusWideangleCmd = 10217; // goto export const calibrateGotoCmd = 11205; export const startGotoCmd = 11203; +export const stopGotoCmd = 11204; export const planetsValueId = { Mercury: 0, diff --git a/src/astro.js b/src/astro.js index ceb7b468..6895c48e 100644 --- a/src/astro.js +++ b/src/astro.js @@ -4,6 +4,7 @@ import { telephotoCamera, calibrateGotoCmd, startGotoCmd, + stopGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, @@ -92,6 +93,18 @@ export function startGoto( return options; } +/** + * 4.1.31 Stop goto + * @returns {Object} + */ +export function stopGoto() { + const options = { + interface: stopGotoCmd, + camId: telephotoCamera, + }; + return options; +} + /** * 4.1.4 Take raw pictures * @param {string} rightAscension From 66387a5ad4da80b80abf9f1fff8ee96932bdd456 Mon Sep 17 00:00:00 2001 From: stevejcl Date: Thu, 7 Sep 2023 00:20:56 +0200 Subject: [PATCH 06/10] 0.0.2-beta.1 --- dist/src/astro.d.ts.map | 2 +- dist/src/astro.js | 1 + docs/api_codes.js.html | 2 +- docs/api_utils.js.html | 2 +- docs/astro.js.html | 3 ++- docs/camera_settings.js.html | 2 +- docs/image_transmission.js.html | 2 +- docs/index.html | 2 +- docs/module-api_codes.html | 2 +- docs/module-api_utils.html | 2 +- docs/module-astro.html | 8 ++++---- docs/module-camera_settings.html | 2 +- docs/module-image_transmission.html | 2 +- docs/module-motion_control.html | 2 +- docs/module-panoramic.html | 2 +- docs/module-photo_video.html | 2 +- docs/module-set_isp_settings.html | 2 +- docs/module-system_settings.html | 2 +- docs/module-tracking.html | 2 +- docs/motion_control.js.html | 2 +- docs/panoramic.js.html | 2 +- docs/photo_video.js.html | 2 +- docs/set_isp_settings.js.html | 2 +- docs/system_settings.js.html | 2 +- docs/tracking.js.html | 2 +- package.json | 2 +- src/astro.js | 1 + 27 files changed, 31 insertions(+), 28 deletions(-) diff --git a/dist/src/astro.d.ts.map b/dist/src/astro.d.ts.map index 22c8f215..6afffc05 100644 --- a/dist/src/astro.d.ts.map +++ b/dist/src/astro.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAMlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;GAGG;AACH,gCAMC;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAKC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB"} \ No newline at end of file +{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAMlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;GAGG;AACH,gCAMC;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAMC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB"} \ No newline at end of file diff --git a/dist/src/astro.js b/dist/src/astro.js index 638973cc..e2ea8bae 100644 --- a/dist/src/astro.js +++ b/dist/src/astro.js @@ -111,6 +111,7 @@ export function takeAstroPhoto(rightAscension, declination, exposureTime, gain, export function stopAstroPhoto() { const options = { interface: stopAstroPhotoCmd, + camId: telephotoCamera, }; return options; } diff --git a/docs/api_codes.js.html b/docs/api_codes.js.html index 91c153c4..96c2026c 100644 --- a/docs/api_codes.js.html +++ b/docs/api_codes.js.html @@ -329,7 +329,7 @@

api_codes.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/api_utils.js.html b/docs/api_utils.js.html index 5a13b8c1..748525e3 100644 --- a/docs/api_utils.js.html +++ b/docs/api_utils.js.html @@ -121,7 +121,7 @@

api_utils.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/astro.js.html b/docs/astro.js.html index fb28ac7b..a22777ce 100644 --- a/docs/astro.js.html +++ b/docs/astro.js.html @@ -200,6 +200,7 @@

astro.js

export function stopAstroPhoto() { const options = { interface: stopAstroPhotoCmd, + camId: telephotoCamera, }; return options; } @@ -277,7 +278,7 @@

astro.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/camera_settings.js.html b/docs/camera_settings.js.html index a84ef5ec..7cde9298 100644 --- a/docs/camera_settings.js.html +++ b/docs/camera_settings.js.html @@ -111,7 +111,7 @@

camera_settings.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/image_transmission.js.html b/docs/image_transmission.js.html index 13a55682..b6665907 100644 --- a/docs/image_transmission.js.html +++ b/docs/image_transmission.js.html @@ -109,7 +109,7 @@

image_transmission.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index 2ab94048..7272f44e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -146,7 +146,7 @@

Usage


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_codes.html b/docs/module-api_codes.html index 65fae2d8..33004d73 100644 --- a/docs/module-api_codes.html +++ b/docs/module-api_codes.html @@ -505,7 +505,7 @@

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_utils.html b/docs/module-api_utils.html index 813fedca..8db6be41 100644 --- a/docs/module-api_utils.html +++ b/docs/module-api_utils.html @@ -726,7 +726,7 @@
Parameters:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-astro.html b/docs/module-astro.html index b7db4384..00cf8664 100644 --- a/docs/module-astro.html +++ b/docs/module-astro.html @@ -656,7 +656,7 @@

Source:
@@ -1274,7 +1274,7 @@

Source:
@@ -1822,7 +1822,7 @@

Source:
@@ -1975,7 +1975,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-camera_settings.html b/docs/module-camera_settings.html index 7b75fef1..1e1815cf 100644 --- a/docs/module-camera_settings.html +++ b/docs/module-camera_settings.html @@ -558,7 +558,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-image_transmission.html b/docs/module-image_transmission.html index 65584f46..5183391d 100644 --- a/docs/module-image_transmission.html +++ b/docs/module-image_transmission.html @@ -631,7 +631,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-motion_control.html b/docs/module-motion_control.html index bcca2d4b..a38574bb 100644 --- a/docs/module-motion_control.html +++ b/docs/module-motion_control.html @@ -1203,7 +1203,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-panoramic.html b/docs/module-panoramic.html index 23c4d58c..5692ab7b 100644 --- a/docs/module-panoramic.html +++ b/docs/module-panoramic.html @@ -619,7 +619,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-photo_video.html b/docs/module-photo_video.html index fb785393..d5cf377d 100644 --- a/docs/module-photo_video.html +++ b/docs/module-photo_video.html @@ -935,7 +935,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-set_isp_settings.html b/docs/module-set_isp_settings.html index 1030ff51..652e31af 100644 --- a/docs/module-set_isp_settings.html +++ b/docs/module-set_isp_settings.html @@ -2637,7 +2637,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-system_settings.html b/docs/module-system_settings.html index fdbc3282..c60d2bca 100644 --- a/docs/module-system_settings.html +++ b/docs/module-system_settings.html @@ -249,7 +249,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-tracking.html b/docs/module-tracking.html index 42354651..0fed603e 100644 --- a/docs/module-tracking.html +++ b/docs/module-tracking.html @@ -579,7 +579,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:14 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/motion_control.js.html b/docs/motion_control.js.html index 4dce89ab..c70f3ffb 100644 --- a/docs/motion_control.js.html +++ b/docs/motion_control.js.html @@ -184,7 +184,7 @@

motion_control.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/panoramic.js.html b/docs/panoramic.js.html index b9f5791f..66860749 100644 --- a/docs/panoramic.js.html +++ b/docs/panoramic.js.html @@ -123,7 +123,7 @@

panoramic.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/photo_video.js.html b/docs/photo_video.js.html index a99adfb8..22c8001e 100644 --- a/docs/photo_video.js.html +++ b/docs/photo_video.js.html @@ -158,7 +158,7 @@

photo_video.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/set_isp_settings.js.html b/docs/set_isp_settings.js.html index fc5ca155..4862561c 100644 --- a/docs/set_isp_settings.js.html +++ b/docs/set_isp_settings.js.html @@ -324,7 +324,7 @@

set_isp_settings.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/system_settings.js.html b/docs/system_settings.js.html index f9749f63..fdec2131 100644 --- a/docs/system_settings.js.html +++ b/docs/system_settings.js.html @@ -75,7 +75,7 @@

system_settings.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/tracking.js.html b/docs/tracking.js.html index 40904971..e8d34e85 100644 --- a/docs/tracking.js.html +++ b/docs/tracking.js.html @@ -113,7 +113,7 @@

tracking.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 03 2023 15:57:13 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/package.json b/package.json index 5dcb896f..476b8926 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dwarfii_api", - "version": "0.0.2-alpha.12", + "version": "0.0.2-beta.1", "description": "wrapper for Dwarf II telescope API", "main": "dist/index.js", "scripts": { diff --git a/src/astro.js b/src/astro.js index 6895c48e..93223313 100644 --- a/src/astro.js +++ b/src/astro.js @@ -151,6 +151,7 @@ export function takeAstroPhoto( export function stopAstroPhoto() { const options = { interface: stopAstroPhotoCmd, + camId: telephotoCamera, }; return options; } From 9e26d641d6dec5e5a89249dcaa6246b0d2b84b86 Mon Sep 17 00:00:00 2001 From: stevejcl Date: Fri, 8 Sep 2023 13:07:22 +0200 Subject: [PATCH 07/10] 0.0.2-beta.2 --- dist/src/api_codes.d.ts | 1 + dist/src/api_codes.d.ts.map | 2 +- dist/src/api_codes.js | 2 + dist/src/astro.d.ts | 5 ++ dist/src/astro.d.ts.map | 2 +- dist/src/astro.js | 13 ++- docs/api_codes.js.html | 7 +- docs/api_utils.js.html | 4 +- docs/astro.js.html | 17 +++- docs/camera_settings.js.html | 4 +- docs/image_transmission.js.html | 4 +- docs/index.html | 4 +- docs/module-api_codes.html | 4 +- docs/module-api_utils.html | 4 +- docs/module-astro.html | 128 +++++++++++++++++++++++++--- docs/module-camera_settings.html | 4 +- docs/module-image_transmission.html | 4 +- docs/module-motion_control.html | 4 +- docs/module-panoramic.html | 4 +- docs/module-photo_video.html | 4 +- docs/module-set_isp_settings.html | 4 +- docs/module-system_settings.html | 4 +- docs/module-tracking.html | 4 +- docs/motion_control.js.html | 4 +- docs/panoramic.js.html | 4 +- docs/photo_video.js.html | 4 +- docs/set_isp_settings.js.html | 4 +- docs/system_settings.js.html | 4 +- docs/tracking.js.html | 4 +- src/api_codes.js | 3 + src/astro.js | 13 +++ 31 files changed, 214 insertions(+), 59 deletions(-) diff --git a/dist/src/api_codes.d.ts b/dist/src/api_codes.d.ts index c001d79c..814fa6b2 100644 --- a/dist/src/api_codes.d.ts +++ b/dist/src/api_codes.d.ts @@ -100,6 +100,7 @@ export const rawPreviewSingleComposite: 2; export const takeAstroDarkFramesCmd: 10026; export const darkGainDefault: 65528; export const queryShotFieldCmd: 10027; +export const astroAutofocusCmd: 10031; export const traceInitCmd: 11200; export const startTrackingCmd: 11201; export const stopTrackingCmd: 11202; diff --git a/dist/src/api_codes.d.ts.map b/dist/src/api_codes.d.ts.map index 4555062d..dfe7d1fb 100644 --- a/dist/src/api_codes.d.ts.map +++ b/dist/src/api_codes.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"api_codes.d.ts","sourceRoot":"","sources":["../../src/api_codes.js"],"names":[],"mappings":"AAAA,wBAAwB;AAGxB,qCAAsC;AAM/B,0BAHI,MAAM,GACJ,MAAM,CAE2B;AAMvC,iCAHI,MAAM,GACJ,MAAM,CAEgD;AAM5D,iCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,kCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,2BAHI,MAAM,GACJ,MAAM,CAEyC;AAMrD,gCAHI,MAAM,GACJ,MAAM,CAEsD;AAOzE,oCAAqC;AACrC,qCAAsC;AAEtC,gCAAiC;AACjC,gCAAiC;AAEjC,wCAAyC;AAOzC,iCAAkC;AAClC,gCAAiC;AACjC,gCAAiC;AAGjC,sCAAuC;AACvC,qCAAsC;AAGtC,sCAAuC;AACvC,qCAAsC;AAMtC,yBAA0B;AAC1B,2BAA4B;AAG5B,0CAA2C;AAG3C,wCAAyC;AAGzC,0CAA2C;AAG3C,mCAAoC;AAGpC,yCAA0C;AAG1C,uCAAwC;AACxC,wCAAyC;AACzC,0CAA2C;AAC3C,0CAA2C;AAG3C,mCAAoC;AACpC,oCAAqC;AAGrC,iCAAkC;AAClC,gCAAiC;AACjC,8BAA+B;AAG/B,2CAA4C;AAC5C,6CAA8C;AAC9C;;;;;;;;EAQE;AACF;;;;;;;;EAQE;AACF,4CAA6C;AAG7C,6BAA8B;AAC9B,sBAAuB;AACvB,uBAAwB;AAOxB,uCAAwC;AACxC,yCAA0C;AAC1C,mDAAoD;AAGpD,uCAAwC;AAOxC,qCAAsC;AACtC,iCAAkC;AAClC,gCAAiC;;;;;;;;;;;AAajC;;;;;;;;;EASE;AAGF,sCAAuC;AACvC,sCAAuC;AAEvC,2BAA4B;AAC5B,2BAA4B;AAE5B,yBAA0B;AAC1B,yBAA0B;AAE1B,uCAAwC;AACxC,6CAA8C;AAG9C,qCAAsC;AACtC,+CAAgD;AAChD,mCAAoC;AACpC,0CAA2C;AAG3C,2CAA4C;AAC5C,oCAAqC;AAGrC,sCAAuC;AAMvC,iCAAkC;AAClC,qCAAsC;AACtC,oCAAqC;AAMrC,iCAAkC;AAClC,gCAAiC;AAMjC,mCAAoC;AACpC,gCAAiC;AACjC,2BAA4B;AAE5B,kCAAmC;AAEnC,gCAAiC;AACjC,gCAAiC;AACjC,gCAAiC;AAEjC,oCAAqC;AACrC,8BAA+B;AAC/B,0BAA2B;AAE3B,oCAAqC;AAErC,0BAA2B;AAC3B,2BAA4B;AAM5B,oCAAqC;AAMrC,qCAAsC;AACtC,wCAAyC;AAMzC,4CAA6C;AAC7C,2CAA4C;AAM5C,gCAAiC"} \ No newline at end of file +{"version":3,"file":"api_codes.d.ts","sourceRoot":"","sources":["../../src/api_codes.js"],"names":[],"mappings":"AAAA,wBAAwB;AAGxB,qCAAsC;AAM/B,0BAHI,MAAM,GACJ,MAAM,CAE2B;AAMvC,iCAHI,MAAM,GACJ,MAAM,CAEgD;AAM5D,iCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,kCAHI,MAAM,GACJ,MAAM,CAE+C;AAM3D,2BAHI,MAAM,GACJ,MAAM,CAEyC;AAMrD,gCAHI,MAAM,GACJ,MAAM,CAEsD;AAOzE,oCAAqC;AACrC,qCAAsC;AAEtC,gCAAiC;AACjC,gCAAiC;AAEjC,wCAAyC;AAOzC,iCAAkC;AAClC,gCAAiC;AACjC,gCAAiC;AAGjC,sCAAuC;AACvC,qCAAsC;AAGtC,sCAAuC;AACvC,qCAAsC;AAMtC,yBAA0B;AAC1B,2BAA4B;AAG5B,0CAA2C;AAG3C,wCAAyC;AAGzC,0CAA2C;AAG3C,mCAAoC;AAGpC,yCAA0C;AAG1C,uCAAwC;AACxC,wCAAyC;AACzC,0CAA2C;AAC3C,0CAA2C;AAG3C,mCAAoC;AACpC,oCAAqC;AAGrC,iCAAkC;AAClC,gCAAiC;AACjC,8BAA+B;AAG/B,2CAA4C;AAC5C,6CAA8C;AAC9C;;;;;;;;EAQE;AACF;;;;;;;;EAQE;AACF,4CAA6C;AAG7C,6BAA8B;AAC9B,sBAAuB;AACvB,uBAAwB;AAOxB,uCAAwC;AACxC,yCAA0C;AAC1C,mDAAoD;AAGpD,uCAAwC;AAOxC,qCAAsC;AACtC,iCAAkC;AAClC,gCAAiC;;;;;;;;;;;AAajC;;;;;;;;;EASE;AAGF,sCAAuC;AACvC,sCAAuC;AAEvC,2BAA4B;AAC5B,2BAA4B;AAE5B,yBAA0B;AAC1B,yBAA0B;AAE1B,uCAAwC;AACxC,6CAA8C;AAG9C,qCAAsC;AACtC,+CAAgD;AAChD,mCAAoC;AACpC,0CAA2C;AAG3C,2CAA4C;AAC5C,oCAAqC;AAGrC,sCAAuC;AAGvC,sCAAuC;AAMvC,iCAAkC;AAClC,qCAAsC;AACtC,oCAAqC;AAMrC,iCAAkC;AAClC,gCAAiC;AAMjC,mCAAoC;AACpC,gCAAiC;AACjC,2BAA4B;AAE5B,kCAAmC;AAEnC,gCAAiC;AACjC,gCAAiC;AACjC,gCAAiC;AAEjC,oCAAqC;AACrC,8BAA+B;AAC/B,0BAA2B;AAE3B,oCAAqC;AAErC,0BAA2B;AAC3B,2BAA4B;AAM5B,oCAAqC;AAMrC,qCAAsC;AACtC,wCAAyC;AAMzC,4CAA6C;AAC7C,2CAA4C;AAM5C,gCAAiC"} \ No newline at end of file diff --git a/dist/src/api_codes.js b/dist/src/api_codes.js index feb153ae..5fe22470 100644 --- a/dist/src/api_codes.js +++ b/dist/src/api_codes.js @@ -161,6 +161,8 @@ export const takeAstroDarkFramesCmd = 10026; export const darkGainDefault = 65528; // query shot field export const queryShotFieldCmd = 10027; +// astro Autofocus +export const astroAutofocusCmd = 10031; // =============== // 4.2 tracking // =============== diff --git a/dist/src/astro.d.ts b/dist/src/astro.d.ts index 83c95866..49884823 100644 --- a/dist/src/astro.d.ts +++ b/dist/src/astro.d.ts @@ -72,4 +72,9 @@ export function takeAstroDarks(binning: number, exposure: number, count?: number * @returns {Object} */ export function queryShotField(binning: number): any; +/** + * 4.1.12 Astro Autofocus + * @returns {Object} + */ +export function astroAutofocus(): any; //# sourceMappingURL=astro.d.ts.map \ No newline at end of file diff --git a/dist/src/astro.d.ts.map b/dist/src/astro.d.ts.map index 6afffc05..0c58e99b 100644 --- a/dist/src/astro.d.ts.map +++ b/dist/src/astro.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAMlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;GAGG;AACH,gCAMC;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAMC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB"} \ No newline at end of file +{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAuBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAMlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;GAGG;AACH,gCAMC;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAMC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB;AAED;;;GAGG;AACH,sCAMC"} \ No newline at end of file diff --git a/dist/src/astro.js b/dist/src/astro.js index e2ea8bae..8389bf10 100644 --- a/dist/src/astro.js +++ b/dist/src/astro.js @@ -1,5 +1,5 @@ /** @module astro */ -import { telephotoCamera, calibrateGotoCmd, startGotoCmd, stopGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, takeAstroDarkFramesCmd, darkGainDefault, utcURL, timeZoneURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, setRAWPreviewCmd, } from "./api_codes.js"; +import { telephotoCamera, calibrateGotoCmd, startGotoCmd, stopGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, takeAstroDarkFramesCmd, darkGainDefault, utcURL, timeZoneURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, astroAutofocusCmd, setRAWPreviewCmd, } from "./api_codes.js"; import { nowUTC, nowLocalFileName } from "./api_utils.js"; /** * 4.1.0 UTC+0 time @@ -165,3 +165,14 @@ export function queryShotField(binning) { }; return options; } +/** + * 4.1.12 Astro Autofocus + * @returns {Object} + */ +export function astroAutofocus() { + const options = { + interface: astroAutofocusCmd, + camId: telephotoCamera, + }; + return options; +} diff --git a/docs/api_codes.js.html b/docs/api_codes.js.html index 96c2026c..63c4fbb1 100644 --- a/docs/api_codes.js.html +++ b/docs/api_codes.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -252,6 +252,9 @@

api_codes.js

// query shot field export const queryShotFieldCmd = 10027; +// astro Autofocus +export const astroAutofocusCmd = 10031; + // =============== // 4.2 tracking // =============== @@ -329,7 +332,7 @@

api_codes.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/api_utils.js.html b/docs/api_utils.js.html index 748525e3..4ffd9051 100644 --- a/docs/api_utils.js.html +++ b/docs/api_utils.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -121,7 +121,7 @@

api_utils.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/astro.js.html b/docs/astro.js.html index a22777ce..070cc7bd 100644 --- a/docs/astro.js.html +++ b/docs/astro.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -64,6 +64,7 @@

astro.js

stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, + astroAutofocusCmd, setRAWPreviewCmd, } from "./api_codes.js"; @@ -264,6 +265,18 @@

astro.js

}; return options; } + +/** + * 4.1.12 Astro Autofocus + * @returns {Object} + */ +export function astroAutofocus() { + const options = { + interface: astroAutofocusCmd, + camId: telephotoCamera, + }; + return options; +}

@@ -278,7 +291,7 @@

astro.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/camera_settings.js.html b/docs/camera_settings.js.html index 7cde9298..0ef9b230 100644 --- a/docs/camera_settings.js.html +++ b/docs/camera_settings.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -111,7 +111,7 @@

camera_settings.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/image_transmission.js.html b/docs/image_transmission.js.html index b6665907..7c010c88 100644 --- a/docs/image_transmission.js.html +++ b/docs/image_transmission.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -109,7 +109,7 @@

image_transmission.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index 7272f44e..438ada50 100644 --- a/docs/index.html +++ b/docs/index.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -146,7 +146,7 @@

Usage


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_codes.html b/docs/module-api_codes.html index 33004d73..509af557 100644 --- a/docs/module-api_codes.html +++ b/docs/module-api_codes.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -505,7 +505,7 @@

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_utils.html b/docs/module-api_utils.html index 8db6be41..c41df85e 100644 --- a/docs/module-api_utils.html +++ b/docs/module-api_utils.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -726,7 +726,7 @@
Parameters:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-astro.html b/docs/module-astro.html index 00cf8664..6a7a18e4 100644 --- a/docs/module-astro.html +++ b/docs/module-astro.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -130,6 +130,110 @@

Methods

+

(static) astroAutofocus() → {Object}

+ + + + + + +
+ +
Description:
+
  • 4.1.12 Astro Autofocus
+ + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Object + + + +
+
+ + + + + + + + + +

(static) calibrateGoto(latitude, longitude) → {Object}

@@ -146,7 +250,7 @@

Source:
@@ -324,7 +428,7 @@

Source:
@@ -502,7 +606,7 @@

Source:
@@ -656,7 +760,7 @@

Source:
@@ -810,7 +914,7 @@

Source:
@@ -1066,7 +1170,7 @@

Source:
@@ -1170,7 +1274,7 @@

Source:
@@ -1274,7 +1378,7 @@

Source:
@@ -1500,7 +1604,7 @@

Source:
@@ -1822,7 +1926,7 @@

Source:
@@ -1975,7 +2079,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-camera_settings.html b/docs/module-camera_settings.html index 1e1815cf..1ddaf222 100644 --- a/docs/module-camera_settings.html +++ b/docs/module-camera_settings.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -558,7 +558,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-image_transmission.html b/docs/module-image_transmission.html index 5183391d..eddb941a 100644 --- a/docs/module-image_transmission.html +++ b/docs/module-image_transmission.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -631,7 +631,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-motion_control.html b/docs/module-motion_control.html index a38574bb..c138bd75 100644 --- a/docs/module-motion_control.html +++ b/docs/module-motion_control.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -1203,7 +1203,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-panoramic.html b/docs/module-panoramic.html index 5692ab7b..f8b403ee 100644 --- a/docs/module-panoramic.html +++ b/docs/module-panoramic.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -619,7 +619,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-photo_video.html b/docs/module-photo_video.html index d5cf377d..e613bd7a 100644 --- a/docs/module-photo_video.html +++ b/docs/module-photo_video.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -935,7 +935,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-set_isp_settings.html b/docs/module-set_isp_settings.html index 652e31af..97b7efd3 100644 --- a/docs/module-set_isp_settings.html +++ b/docs/module-set_isp_settings.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -2637,7 +2637,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-system_settings.html b/docs/module-system_settings.html index c60d2bca..3a84b7c1 100644 --- a/docs/module-system_settings.html +++ b/docs/module-system_settings.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -249,7 +249,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-tracking.html b/docs/module-tracking.html index 0fed603e..e1adaa96 100644 --- a/docs/module-tracking.html +++ b/docs/module-tracking.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -579,7 +579,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/motion_control.js.html b/docs/motion_control.js.html index c70f3ffb..69754a8f 100644 --- a/docs/motion_control.js.html +++ b/docs/motion_control.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -184,7 +184,7 @@

motion_control.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/panoramic.js.html b/docs/panoramic.js.html index 66860749..cb94dd00 100644 --- a/docs/panoramic.js.html +++ b/docs/panoramic.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -123,7 +123,7 @@

panoramic.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/photo_video.js.html b/docs/photo_video.js.html index 22c8001e..82c9453f 100644 --- a/docs/photo_video.js.html +++ b/docs/photo_video.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -158,7 +158,7 @@

photo_video.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/set_isp_settings.js.html b/docs/set_isp_settings.js.html index 4862561c..9a81661e 100644 --- a/docs/set_isp_settings.js.html +++ b/docs/set_isp_settings.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -324,7 +324,7 @@

set_isp_settings.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/system_settings.js.html b/docs/system_settings.js.html index fdec2131..a0bec056 100644 --- a/docs/system_settings.js.html +++ b/docs/system_settings.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -75,7 +75,7 @@

system_settings.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/tracking.js.html b/docs/tracking.js.html index e8d34e85..9da52053 100644 --- a/docs/tracking.js.html +++ b/docs/tracking.js.html @@ -31,7 +31,7 @@ -

Home

Github repo

Modules

+

Home

Github repo

Modules

@@ -113,7 +113,7 @@

tracking.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 00:19:05 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/src/api_codes.js b/src/api_codes.js index eb075a72..c32b074e 100644 --- a/src/api_codes.js +++ b/src/api_codes.js @@ -203,6 +203,9 @@ export const darkGainDefault = 65528; // query shot field export const queryShotFieldCmd = 10027; +// astro Autofocus +export const astroAutofocusCmd = 10031; + // =============== // 4.2 tracking // =============== diff --git a/src/astro.js b/src/astro.js index 93223313..dfe0b83e 100644 --- a/src/astro.js +++ b/src/astro.js @@ -15,6 +15,7 @@ import { stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, + astroAutofocusCmd, setRAWPreviewCmd, } from "./api_codes.js"; @@ -215,3 +216,15 @@ export function queryShotField(binning) { }; return options; } + +/** + * 4.1.12 Astro Autofocus + * @returns {Object} + */ +export function astroAutofocus() { + const options = { + interface: astroAutofocusCmd, + camId: telephotoCamera, + }; + return options; +} From a660cc26be66fa666b2c6c4d36603e8c28b3d00b Mon Sep 17 00:00:00 2001 From: stevejcl Date: Sun, 10 Sep 2023 23:32:35 +0200 Subject: [PATCH 08/10] 0.0.2-beta.2 --- docs/api_codes.js.html | 2 +- docs/api_utils.js.html | 2 +- docs/astro.js.html | 2 +- docs/camera_settings.js.html | 2 +- docs/image_transmission.js.html | 2 +- docs/index.html | 2 +- docs/module-api_codes.html | 2 +- docs/module-api_utils.html | 2 +- docs/module-astro.html | 2 +- docs/module-camera_settings.html | 2 +- docs/module-image_transmission.html | 2 +- docs/module-motion_control.html | 2 +- docs/module-panoramic.html | 2 +- docs/module-photo_video.html | 2 +- docs/module-set_isp_settings.html | 2 +- docs/module-system_settings.html | 2 +- docs/module-tracking.html | 2 +- docs/motion_control.js.html | 2 +- docs/panoramic.js.html | 2 +- docs/photo_video.js.html | 2 +- docs/set_isp_settings.js.html | 2 +- docs/system_settings.js.html | 2 +- docs/tracking.js.html | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 25 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/api_codes.js.html b/docs/api_codes.js.html index 63c4fbb1..171f466e 100644 --- a/docs/api_codes.js.html +++ b/docs/api_codes.js.html @@ -332,7 +332,7 @@

api_codes.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/api_utils.js.html b/docs/api_utils.js.html index 4ffd9051..dd90536e 100644 --- a/docs/api_utils.js.html +++ b/docs/api_utils.js.html @@ -121,7 +121,7 @@

api_utils.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/astro.js.html b/docs/astro.js.html index 070cc7bd..a1a75f27 100644 --- a/docs/astro.js.html +++ b/docs/astro.js.html @@ -291,7 +291,7 @@

astro.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/camera_settings.js.html b/docs/camera_settings.js.html index 0ef9b230..2faddf81 100644 --- a/docs/camera_settings.js.html +++ b/docs/camera_settings.js.html @@ -111,7 +111,7 @@

camera_settings.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/image_transmission.js.html b/docs/image_transmission.js.html index 7c010c88..41a86712 100644 --- a/docs/image_transmission.js.html +++ b/docs/image_transmission.js.html @@ -109,7 +109,7 @@

image_transmission.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index 438ada50..2d7925aa 100644 --- a/docs/index.html +++ b/docs/index.html @@ -146,7 +146,7 @@

Usage


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_codes.html b/docs/module-api_codes.html index 509af557..164ca9ee 100644 --- a/docs/module-api_codes.html +++ b/docs/module-api_codes.html @@ -505,7 +505,7 @@

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_utils.html b/docs/module-api_utils.html index c41df85e..4b64e7de 100644 --- a/docs/module-api_utils.html +++ b/docs/module-api_utils.html @@ -726,7 +726,7 @@
Parameters:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-astro.html b/docs/module-astro.html index 6a7a18e4..25fcfc91 100644 --- a/docs/module-astro.html +++ b/docs/module-astro.html @@ -2079,7 +2079,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-camera_settings.html b/docs/module-camera_settings.html index 1ddaf222..af284528 100644 --- a/docs/module-camera_settings.html +++ b/docs/module-camera_settings.html @@ -558,7 +558,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-image_transmission.html b/docs/module-image_transmission.html index eddb941a..10ad5ae5 100644 --- a/docs/module-image_transmission.html +++ b/docs/module-image_transmission.html @@ -631,7 +631,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-motion_control.html b/docs/module-motion_control.html index c138bd75..2e7c04f3 100644 --- a/docs/module-motion_control.html +++ b/docs/module-motion_control.html @@ -1203,7 +1203,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-panoramic.html b/docs/module-panoramic.html index f8b403ee..0250eb7f 100644 --- a/docs/module-panoramic.html +++ b/docs/module-panoramic.html @@ -619,7 +619,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-photo_video.html b/docs/module-photo_video.html index e613bd7a..fc090d4b 100644 --- a/docs/module-photo_video.html +++ b/docs/module-photo_video.html @@ -935,7 +935,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-set_isp_settings.html b/docs/module-set_isp_settings.html index 97b7efd3..1422273a 100644 --- a/docs/module-set_isp_settings.html +++ b/docs/module-set_isp_settings.html @@ -2637,7 +2637,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-system_settings.html b/docs/module-system_settings.html index 3a84b7c1..9b7e4fdb 100644 --- a/docs/module-system_settings.html +++ b/docs/module-system_settings.html @@ -249,7 +249,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-tracking.html b/docs/module-tracking.html index e1adaa96..55cdee77 100644 --- a/docs/module-tracking.html +++ b/docs/module-tracking.html @@ -579,7 +579,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/motion_control.js.html b/docs/motion_control.js.html index 69754a8f..da68e1c6 100644 --- a/docs/motion_control.js.html +++ b/docs/motion_control.js.html @@ -184,7 +184,7 @@

motion_control.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/panoramic.js.html b/docs/panoramic.js.html index cb94dd00..a3b6f0b4 100644 --- a/docs/panoramic.js.html +++ b/docs/panoramic.js.html @@ -123,7 +123,7 @@

panoramic.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/photo_video.js.html b/docs/photo_video.js.html index 82c9453f..597e183f 100644 --- a/docs/photo_video.js.html +++ b/docs/photo_video.js.html @@ -158,7 +158,7 @@

photo_video.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/set_isp_settings.js.html b/docs/set_isp_settings.js.html index 9a81661e..2151fad2 100644 --- a/docs/set_isp_settings.js.html +++ b/docs/set_isp_settings.js.html @@ -324,7 +324,7 @@

set_isp_settings.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/system_settings.js.html b/docs/system_settings.js.html index a0bec056..4286ddd9 100644 --- a/docs/system_settings.js.html +++ b/docs/system_settings.js.html @@ -75,7 +75,7 @@

system_settings.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/tracking.js.html b/docs/tracking.js.html index 9da52053..9f605c14 100644 --- a/docs/tracking.js.html +++ b/docs/tracking.js.html @@ -113,7 +113,7 @@

tracking.js


- Documentation generated by JSDoc 4.0.2 on Thu Sep 07 2023 18:13:51 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/package-lock.json b/package-lock.json index d28fcd0c..7e010c97 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dwarfii_api", - "version": "0.0.2-alpha.10", + "version": "0.0.2-beta.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dwarfii_api", - "version": "0.0.2-alpha.10", + "version": "0.0.2-beta.2", "license": "ISC", "devDependencies": { "docdash": "^2.0.1", diff --git a/package.json b/package.json index 476b8926..979d4a7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dwarfii_api", - "version": "0.0.2-beta.1", + "version": "0.0.2-beta.2", "description": "wrapper for Dwarf II telescope API", "main": "dist/index.js", "scripts": { From 114b9620bdbf3bbd8176edff395a1d64d3acf73d Mon Sep 17 00:00:00 2001 From: stevejcl Date: Mon, 11 Sep 2023 02:05:17 +0200 Subject: [PATCH 09/10] 0.0.2-beta.3 --- dist/src/astro.d.ts.map | 2 +- dist/src/astro.js | 2 ++ docs/api_codes.js.html | 2 +- docs/api_utils.js.html | 2 +- docs/astro.js.html | 4 +++- docs/camera_settings.js.html | 2 +- docs/image_transmission.js.html | 2 +- docs/index.html | 2 +- docs/module-api_codes.html | 2 +- docs/module-api_utils.html | 2 +- docs/module-astro.html | 16 ++++++++-------- docs/module-camera_settings.html | 2 +- docs/module-image_transmission.html | 2 +- docs/module-motion_control.html | 2 +- docs/module-panoramic.html | 2 +- docs/module-photo_video.html | 2 +- docs/module-set_isp_settings.html | 2 +- docs/module-system_settings.html | 2 +- docs/module-tracking.html | 2 +- docs/motion_control.js.html | 2 +- docs/panoramic.js.html | 2 +- docs/photo_video.js.html | 2 +- docs/set_isp_settings.js.html | 2 +- docs/system_settings.js.html | 2 +- docs/tracking.js.html | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/astro.js | 2 ++ 28 files changed, 40 insertions(+), 34 deletions(-) diff --git a/dist/src/astro.d.ts.map b/dist/src/astro.d.ts.map index 0c58e99b..2c14f739 100644 --- a/dist/src/astro.d.ts.map +++ b/dist/src/astro.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAuBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAMlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA0BhB;AAED;;;GAGG;AACH,gCAMC;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAMC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB;AAED;;;GAGG;AACH,sCAMC"} \ No newline at end of file +{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAuBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAMlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,gCAMC;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAMC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB;AAED;;;GAGG;AACH,sCAMC"} \ No newline at end of file diff --git a/dist/src/astro.js b/dist/src/astro.js index 8389bf10..b8cdec5c 100644 --- a/dist/src/astro.js +++ b/dist/src/astro.js @@ -57,6 +57,8 @@ export function startGoto(planet, rightAscension, declination, latitude, longitu }; if (planet !== undefined && planet !== null) { options.planet = planet; + options.ra = 0.0; + options.dec = 0.0; } else { options.ra = rightAscension; diff --git a/docs/api_codes.js.html b/docs/api_codes.js.html index 171f466e..febb4171 100644 --- a/docs/api_codes.js.html +++ b/docs/api_codes.js.html @@ -332,7 +332,7 @@

api_codes.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/api_utils.js.html b/docs/api_utils.js.html index dd90536e..e71b0d17 100644 --- a/docs/api_utils.js.html +++ b/docs/api_utils.js.html @@ -121,7 +121,7 @@

api_utils.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/astro.js.html b/docs/astro.js.html index a1a75f27..30f84ab1 100644 --- a/docs/astro.js.html +++ b/docs/astro.js.html @@ -136,6 +136,8 @@

astro.js

if (planet !== undefined && planet !== null) { options.planet = planet; + options.ra = 0.0; + options.dec = 0.0; } else { options.ra = rightAscension; options.dec = declination; @@ -291,7 +293,7 @@

astro.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/camera_settings.js.html b/docs/camera_settings.js.html index 2faddf81..1ccb4cd3 100644 --- a/docs/camera_settings.js.html +++ b/docs/camera_settings.js.html @@ -111,7 +111,7 @@

camera_settings.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/image_transmission.js.html b/docs/image_transmission.js.html index 41a86712..6b3c84d5 100644 --- a/docs/image_transmission.js.html +++ b/docs/image_transmission.js.html @@ -109,7 +109,7 @@

image_transmission.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index 2d7925aa..bf691908 100644 --- a/docs/index.html +++ b/docs/index.html @@ -146,7 +146,7 @@

Usage


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_codes.html b/docs/module-api_codes.html index 164ca9ee..a3bcfc89 100644 --- a/docs/module-api_codes.html +++ b/docs/module-api_codes.html @@ -505,7 +505,7 @@

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_utils.html b/docs/module-api_utils.html index 4b64e7de..f667bb38 100644 --- a/docs/module-api_utils.html +++ b/docs/module-api_utils.html @@ -726,7 +726,7 @@
Parameters:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-astro.html b/docs/module-astro.html index 25fcfc91..67c623d6 100644 --- a/docs/module-astro.html +++ b/docs/module-astro.html @@ -146,7 +146,7 @@

Source:
@@ -760,7 +760,7 @@

Source:
@@ -1170,7 +1170,7 @@

Source:
@@ -1274,7 +1274,7 @@

Source:
@@ -1378,7 +1378,7 @@

Source:
@@ -1604,7 +1604,7 @@

Source:
@@ -1926,7 +1926,7 @@

Source:
@@ -2079,7 +2079,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-camera_settings.html b/docs/module-camera_settings.html index af284528..196ceae1 100644 --- a/docs/module-camera_settings.html +++ b/docs/module-camera_settings.html @@ -558,7 +558,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-image_transmission.html b/docs/module-image_transmission.html index 10ad5ae5..c4c5dc59 100644 --- a/docs/module-image_transmission.html +++ b/docs/module-image_transmission.html @@ -631,7 +631,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-motion_control.html b/docs/module-motion_control.html index 2e7c04f3..92924575 100644 --- a/docs/module-motion_control.html +++ b/docs/module-motion_control.html @@ -1203,7 +1203,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-panoramic.html b/docs/module-panoramic.html index 0250eb7f..45b18b08 100644 --- a/docs/module-panoramic.html +++ b/docs/module-panoramic.html @@ -619,7 +619,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-photo_video.html b/docs/module-photo_video.html index fc090d4b..d8fe5644 100644 --- a/docs/module-photo_video.html +++ b/docs/module-photo_video.html @@ -935,7 +935,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-set_isp_settings.html b/docs/module-set_isp_settings.html index 1422273a..b0aa26f1 100644 --- a/docs/module-set_isp_settings.html +++ b/docs/module-set_isp_settings.html @@ -2637,7 +2637,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-system_settings.html b/docs/module-system_settings.html index 9b7e4fdb..d8954063 100644 --- a/docs/module-system_settings.html +++ b/docs/module-system_settings.html @@ -249,7 +249,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-tracking.html b/docs/module-tracking.html index 55cdee77..a2cb7750 100644 --- a/docs/module-tracking.html +++ b/docs/module-tracking.html @@ -579,7 +579,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/motion_control.js.html b/docs/motion_control.js.html index da68e1c6..234ec4a2 100644 --- a/docs/motion_control.js.html +++ b/docs/motion_control.js.html @@ -184,7 +184,7 @@

motion_control.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/panoramic.js.html b/docs/panoramic.js.html index a3b6f0b4..ed52facc 100644 --- a/docs/panoramic.js.html +++ b/docs/panoramic.js.html @@ -123,7 +123,7 @@

panoramic.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/photo_video.js.html b/docs/photo_video.js.html index 597e183f..b8d032ec 100644 --- a/docs/photo_video.js.html +++ b/docs/photo_video.js.html @@ -158,7 +158,7 @@

photo_video.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/set_isp_settings.js.html b/docs/set_isp_settings.js.html index 2151fad2..c34a2c21 100644 --- a/docs/set_isp_settings.js.html +++ b/docs/set_isp_settings.js.html @@ -324,7 +324,7 @@

set_isp_settings.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/system_settings.js.html b/docs/system_settings.js.html index 4286ddd9..ef9f1609 100644 --- a/docs/system_settings.js.html +++ b/docs/system_settings.js.html @@ -75,7 +75,7 @@

system_settings.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/tracking.js.html b/docs/tracking.js.html index 9f605c14..214ab13c 100644 --- a/docs/tracking.js.html +++ b/docs/tracking.js.html @@ -113,7 +113,7 @@

tracking.js


- Documentation generated by JSDoc 4.0.2 on Sun Sep 10 2023 23:31:50 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/package-lock.json b/package-lock.json index 7e010c97..bcf32225 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dwarfii_api", - "version": "0.0.2-beta.2", + "version": "0.0.2-beta.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dwarfii_api", - "version": "0.0.2-beta.2", + "version": "0.0.2-beta.3", "license": "ISC", "devDependencies": { "docdash": "^2.0.1", diff --git a/package.json b/package.json index 979d4a7d..a8535ace 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dwarfii_api", - "version": "0.0.2-beta.2", + "version": "0.0.2-beta.3", "description": "wrapper for Dwarf II telescope API", "main": "dist/index.js", "scripts": { diff --git a/src/astro.js b/src/astro.js index dfe0b83e..2f5ded9b 100644 --- a/src/astro.js +++ b/src/astro.js @@ -87,6 +87,8 @@ export function startGoto( if (planet !== undefined && planet !== null) { options.planet = planet; + options.ra = 0.0; + options.dec = 0.0; } else { options.ra = rightAscension; options.dec = declination; From 5d132810b5aca215240a9b6bf69237c252e3c7cb Mon Sep 17 00:00:00 2001 From: stevejcl Date: Tue, 19 Sep 2023 08:11:44 +0200 Subject: [PATCH 10/10] 0.0.2-beta.4 --- dist/src/astro.d.ts | 6 +++--- dist/src/astro.d.ts.map | 2 +- dist/src/astro.js | 8 +++----- docs/api_codes.js.html | 2 +- docs/api_utils.js.html | 2 +- docs/astro.js.html | 10 ++++------ docs/camera_settings.js.html | 2 +- docs/image_transmission.js.html | 2 +- docs/index.html | 2 +- docs/module-api_codes.html | 2 +- docs/module-api_utils.html | 2 +- docs/module-astro.html | 26 +++++++++++++------------- docs/module-camera_settings.html | 2 +- docs/module-image_transmission.html | 2 +- docs/module-motion_control.html | 2 +- docs/module-panoramic.html | 2 +- docs/module-photo_video.html | 2 +- docs/module-set_isp_settings.html | 2 +- docs/module-system_settings.html | 2 +- docs/module-tracking.html | 2 +- docs/motion_control.js.html | 2 +- docs/panoramic.js.html | 2 +- docs/photo_video.js.html | 2 +- docs/set_isp_settings.js.html | 2 +- docs/system_settings.js.html | 2 +- docs/tracking.js.html | 2 +- package.json | 6 +++--- src/astro.js | 8 +++----- 28 files changed, 51 insertions(+), 57 deletions(-) diff --git a/dist/src/astro.d.ts b/dist/src/astro.d.ts index 49884823..8f2a36d5 100644 --- a/dist/src/astro.d.ts +++ b/dist/src/astro.d.ts @@ -1,11 +1,11 @@ /** - * 4.1.0 UTC+0 time + * 4.1.1 UTC+0 time * @param {string} IP * @returns {string} */ export function formatUtcUrl(IP: string): string; /** - * 4.1.1 TimeZone name + * 4.1.1bis TimeZone name (Not Documented) * @param {string} IP * @param {string} timezone * @returns {string} @@ -29,7 +29,7 @@ export function calibrateGoto(latitude: number, longitude: number): any; */ export function startGoto(planet: number | null | undefined, rightAscension: number, declination: number, latitude: number, longitude: number): any; /** - * 4.1.31 Stop goto + * 4.1.3bis Stop goto (Not documented) * @returns {Object} */ export function stopGoto(): any; diff --git a/dist/src/astro.d.ts.map b/dist/src/astro.d.ts.map index 2c14f739..f9f1f032 100644 --- a/dist/src/astro.d.ts.map +++ b/dist/src/astro.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAuBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAMlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,gCAMC;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAMC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB;AAED;;;GAGG;AACH,sCAMC"} \ No newline at end of file +{"version":3,"file":"astro.d.ts","sourceRoot":"","sources":["../../src/astro.js"],"names":[],"mappings":"AAuBA;;;;GAIG;AACH,iCAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,sCAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;GAKG;AACH,wCAJW,MAAM,aACN,MAAM,OAahB;AAED;;;;;;;;GAQG;AACH,kCAPW,MAAM,GAAC,IAAI,GAAC,SAAS,kBACrB,MAAM,eACN,MAAM,YACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,gCAMC;AAED;;;;;;;;;;;GAWG;AACH,+CAVW,MAAM,eACN,MAAM,gBACN,MAAM,QACN,MAAM,YACN,MAAM,UACN,MAAM,eACN,MAAM,aACN,MAAM,OA4BhB;AAED;;;GAGG;AACH,sCAMC;AAED;;;;GAIG;AACH,gDAHW,MAAM,OAehB;AAGD;;;;;;;GAOG;AACH,wCANW,MAAM,YACN,MAAM,UACN,MAAM,aACN,MAAM,OAmBhB;AAED;;;;GAIG;AACH,wCAHW,MAAM,OAUhB;AAED;;;GAGG;AACH,sCAMC"} \ No newline at end of file diff --git a/dist/src/astro.js b/dist/src/astro.js index b8cdec5c..25add88e 100644 --- a/dist/src/astro.js +++ b/dist/src/astro.js @@ -2,7 +2,7 @@ import { telephotoCamera, calibrateGotoCmd, startGotoCmd, stopGotoCmd, binning2x2, fileTiff, takeAstroPhotoCmd, takeAstroDarkFramesCmd, darkGainDefault, utcURL, timeZoneURL, stopAstroPhotoCmd, rawPreviewContinousSuperimpose, queryShotFieldCmd, astroAutofocusCmd, setRAWPreviewCmd, } from "./api_codes.js"; import { nowUTC, nowLocalFileName } from "./api_utils.js"; /** - * 4.1.0 UTC+0 time + * 4.1.1 UTC+0 time * @param {string} IP * @returns {string} */ @@ -10,14 +10,12 @@ export function formatUtcUrl(IP) { return `${utcURL(IP)}${nowUTC()}`; } /** - * 4.1.1 TimeZone name + * 4.1.1bis TimeZone name (Not Documented) * @param {string} IP * @param {string} timezone * @returns {string} */ export function formatTimeZoneUrl(IP, timezone) { - //return `${timeZoneURL(IP)}Europe/Paris}`; - // can't get it working ! return `${timeZoneURL(IP)}${timezone}`; } /** @@ -67,7 +65,7 @@ export function startGoto(planet, rightAscension, declination, latitude, longitu return options; } /** - * 4.1.31 Stop goto + * 4.1.3bis Stop goto (Not documented) * @returns {Object} */ export function stopGoto() { diff --git a/docs/api_codes.js.html b/docs/api_codes.js.html index febb4171..93f4fe8e 100644 --- a/docs/api_codes.js.html +++ b/docs/api_codes.js.html @@ -332,7 +332,7 @@

api_codes.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/api_utils.js.html b/docs/api_utils.js.html index e71b0d17..f09c5232 100644 --- a/docs/api_utils.js.html +++ b/docs/api_utils.js.html @@ -121,7 +121,7 @@

api_utils.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/astro.js.html b/docs/astro.js.html index 30f84ab1..226a4a03 100644 --- a/docs/astro.js.html +++ b/docs/astro.js.html @@ -71,7 +71,7 @@

astro.js

import { nowUTC, nowLocalFileName } from "./api_utils.js"; /** - * 4.1.0 UTC+0 time + * 4.1.1 UTC+0 time * @param {string} IP * @returns {string} */ @@ -80,14 +80,12 @@

astro.js

} /** - * 4.1.1 TimeZone name + * 4.1.1bis TimeZone name (Not Documented) * @param {string} IP * @param {string} timezone * @returns {string} */ export function formatTimeZoneUrl(IP, timezone) { - //return `${timeZoneURL(IP)}Europe/Paris}`; - // can't get it working ! return `${timeZoneURL(IP)}${timezone}`; } @@ -146,7 +144,7 @@

astro.js

} /** - * 4.1.31 Stop goto + * 4.1.3bis Stop goto (Not documented) * @returns {Object} */ export function stopGoto() { @@ -293,7 +291,7 @@

astro.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/camera_settings.js.html b/docs/camera_settings.js.html index 1ccb4cd3..da69c916 100644 --- a/docs/camera_settings.js.html +++ b/docs/camera_settings.js.html @@ -111,7 +111,7 @@

camera_settings.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/image_transmission.js.html b/docs/image_transmission.js.html index 6b3c84d5..38ca129c 100644 --- a/docs/image_transmission.js.html +++ b/docs/image_transmission.js.html @@ -109,7 +109,7 @@

image_transmission.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/index.html b/docs/index.html index bf691908..4bfb0d01 100644 --- a/docs/index.html +++ b/docs/index.html @@ -146,7 +146,7 @@

Usage


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_codes.html b/docs/module-api_codes.html index a3bcfc89..af02ba18 100644 --- a/docs/module-api_codes.html +++ b/docs/module-api_codes.html @@ -505,7 +505,7 @@

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-api_utils.html b/docs/module-api_utils.html index f667bb38..c90e695d 100644 --- a/docs/module-api_utils.html +++ b/docs/module-api_utils.html @@ -726,7 +726,7 @@
Parameters:

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-astro.html b/docs/module-astro.html index 67c623d6..a800f810 100644 --- a/docs/module-astro.html +++ b/docs/module-astro.html @@ -146,7 +146,7 @@

Source:
@@ -250,7 +250,7 @@

Source:
@@ -422,7 +422,7 @@

Description:
-
  • 4.1.1 TimeZone name
+
  • 4.1.1bis TimeZone name (Not Documented)
@@ -600,7 +600,7 @@

Description:
-
  • 4.1.0 UTC+0 time
+
  • 4.1.1 UTC+0 time
@@ -760,7 +760,7 @@

Source:
@@ -914,7 +914,7 @@

Source:
@@ -1170,7 +1170,7 @@

Source:
@@ -1268,13 +1268,13 @@

Description:
-
  • 4.1.31 Stop goto
+
  • 4.1.3bis Stop goto (Not documented)
Source:
@@ -1378,7 +1378,7 @@

Source:
@@ -1604,7 +1604,7 @@

Source:
@@ -1926,7 +1926,7 @@

Source:
@@ -2079,7 +2079,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-camera_settings.html b/docs/module-camera_settings.html index 196ceae1..4881725f 100644 --- a/docs/module-camera_settings.html +++ b/docs/module-camera_settings.html @@ -558,7 +558,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-image_transmission.html b/docs/module-image_transmission.html index c4c5dc59..86926b07 100644 --- a/docs/module-image_transmission.html +++ b/docs/module-image_transmission.html @@ -631,7 +631,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-motion_control.html b/docs/module-motion_control.html index 92924575..6dfe130b 100644 --- a/docs/module-motion_control.html +++ b/docs/module-motion_control.html @@ -1203,7 +1203,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-panoramic.html b/docs/module-panoramic.html index 45b18b08..d6446990 100644 --- a/docs/module-panoramic.html +++ b/docs/module-panoramic.html @@ -619,7 +619,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-photo_video.html b/docs/module-photo_video.html index d8fe5644..a8415168 100644 --- a/docs/module-photo_video.html +++ b/docs/module-photo_video.html @@ -935,7 +935,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-set_isp_settings.html b/docs/module-set_isp_settings.html index b0aa26f1..cce0ac56 100644 --- a/docs/module-set_isp_settings.html +++ b/docs/module-set_isp_settings.html @@ -2637,7 +2637,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-system_settings.html b/docs/module-system_settings.html index d8954063..1ba6624b 100644 --- a/docs/module-system_settings.html +++ b/docs/module-system_settings.html @@ -249,7 +249,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/module-tracking.html b/docs/module-tracking.html index a2cb7750..78b9c9d9 100644 --- a/docs/module-tracking.html +++ b/docs/module-tracking.html @@ -579,7 +579,7 @@
Returns:

- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/motion_control.js.html b/docs/motion_control.js.html index 234ec4a2..5930de07 100644 --- a/docs/motion_control.js.html +++ b/docs/motion_control.js.html @@ -184,7 +184,7 @@

motion_control.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/panoramic.js.html b/docs/panoramic.js.html index ed52facc..c2a2b58d 100644 --- a/docs/panoramic.js.html +++ b/docs/panoramic.js.html @@ -123,7 +123,7 @@

panoramic.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/photo_video.js.html b/docs/photo_video.js.html index b8d032ec..2d3dcd2b 100644 --- a/docs/photo_video.js.html +++ b/docs/photo_video.js.html @@ -158,7 +158,7 @@

photo_video.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/set_isp_settings.js.html b/docs/set_isp_settings.js.html index c34a2c21..19a42696 100644 --- a/docs/set_isp_settings.js.html +++ b/docs/set_isp_settings.js.html @@ -324,7 +324,7 @@

set_isp_settings.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/system_settings.js.html b/docs/system_settings.js.html index ef9f1609..f2f5548f 100644 --- a/docs/system_settings.js.html +++ b/docs/system_settings.js.html @@ -75,7 +75,7 @@

system_settings.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/docs/tracking.js.html b/docs/tracking.js.html index 214ab13c..269e9bdd 100644 --- a/docs/tracking.js.html +++ b/docs/tracking.js.html @@ -113,7 +113,7 @@

tracking.js


- Documentation generated by JSDoc 4.0.2 on Mon Sep 11 2023 02:04:37 GMT+0200 (Central European Summer Time) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Sep 19 2023 08:09:41 GMT+0200 (Central European Summer Time) using the docdash theme.
diff --git a/package.json b/package.json index a8535ace..e6cf84c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dwarfii_api", - "version": "0.0.2-beta.3", + "version": "0.0.2-beta.4", "description": "wrapper for Dwarf II telescope API", "main": "dist/index.js", "scripts": { @@ -14,10 +14,10 @@ "build": "npm run CI && npm run ts && npm run generate-docs" }, "type": "module", - "author": "stevejcl", + "author": "wykhuh & stevejcl", "repository": { "type": "git", - "url": "https://github.com/stevejcl/dwarfii_api" + "url": "https://github.com/DwarfTelescopeUsers/dwarfii_api" }, "license": "ISC", "devDependencies": { diff --git a/src/astro.js b/src/astro.js index 2f5ded9b..df37af92 100644 --- a/src/astro.js +++ b/src/astro.js @@ -22,7 +22,7 @@ import { import { nowUTC, nowLocalFileName } from "./api_utils.js"; /** - * 4.1.0 UTC+0 time + * 4.1.1 UTC+0 time * @param {string} IP * @returns {string} */ @@ -31,14 +31,12 @@ export function formatUtcUrl(IP) { } /** - * 4.1.1 TimeZone name + * 4.1.1bis TimeZone name (Not Documented) * @param {string} IP * @param {string} timezone * @returns {string} */ export function formatTimeZoneUrl(IP, timezone) { - //return `${timeZoneURL(IP)}Europe/Paris}`; - // can't get it working ! return `${timeZoneURL(IP)}${timezone}`; } @@ -97,7 +95,7 @@ export function startGoto( } /** - * 4.1.31 Stop goto + * 4.1.3bis Stop goto (Not documented) * @returns {Object} */ export function stopGoto() {