Skip to content

Commit 847d7fa

Browse files
committed
in progress
1 parent 38c5b9d commit 847d7fa

File tree

237 files changed

+59892
-28416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

237 files changed

+59892
-28416
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ lightserver.spec
1717
webpage
1818
temp
1919
*.pyc
20+
*.Identifier
2021

2122
# Distribution / packaging
2223
.Python

CMakeLists.txt

+329-212
Large diffs are not rendered by default.

README.md

-323
Original file line numberDiff line numberDiff line change
@@ -22,326 +22,3 @@ make -j4 (depends on the computer)
2222
2323
make package # build deb package
2424
```
25-
26-
## Directory schema
27-
28-
```
29-
LightGuider
30-
├─ .gitignore
31-
├─ CMakeLists.txt
32-
├─ LICENSE
33-
├─ LICENSE.PHD2.txt
34-
├─ README.md
35-
├─ client
36-
│ ├─ lightguiderclient.py
37-
│ └─ logger.py
38-
├─ cmake_modules
39-
│ ├─ FindCFITSIO.cmake
40-
│ ├─ FindINDI.cmake
41-
│ ├─ FindNova.cmake
42-
│ ├─ LightGuiderBuildDoc.cmake
43-
│ ├─ LightGuiderGenerateDocScript.cmake
44-
│ ├─ LightGuiderPackaging.cmake
45-
│ ├─ LightGuiderRemovegettextwarning.cmake
46-
│ ├─ compiler_options.cmake
47-
│ └─ thirdparty.cmake
48-
├─ doc
49-
│ ├─ LightGuider.pdf
50-
│ ├─ PHD_2.0_Architecture.docx
51-
│ └─ index.md
52-
├─ locale
53-
│ ├─ messages.pot
54-
│ ├─ zh_CN
55-
│ │ ├─ messages.po
56-
│ │ └─ wxstd.po
57-
│ └─ zh_TW
58-
│ ├─ messages.po
59-
│ └─ wxstd.po
60-
├─ messages.po
61-
├─ phd.rc
62-
├─ phd2.appdata.xml
63-
├─ phd2.desktop
64-
├─ src
65-
│ ├─ algorithm
66-
│ │ ├─ guide_algorithm.cpp
67-
│ │ ├─ guide_algorithm.h
68-
│ │ ├─ guide_algorithm_gaussian_process.cpp
69-
│ │ ├─ guide_algorithm_gaussian_process.h
70-
│ │ ├─ guide_algorithm_hysteresis.cpp
71-
│ │ ├─ guide_algorithm_hysteresis.h
72-
│ │ ├─ guide_algorithm_identity.cpp
73-
│ │ ├─ guide_algorithm_identity.h
74-
│ │ ├─ guide_algorithm_lowpass.cpp
75-
│ │ ├─ guide_algorithm_lowpass.h
76-
│ │ ├─ guide_algorithm_lowpass2.cpp
77-
│ │ ├─ guide_algorithm_lowpass2.h
78-
│ │ ├─ guide_algorithm_resistswitch.cpp
79-
│ │ ├─ guide_algorithm_resistswitch.h
80-
│ │ ├─ guide_algorithm_zfilter.cpp
81-
│ │ ├─ guide_algorithm_zfilter.h
82-
│ │ ├─ guide_algorithms.h
83-
│ │ ├─ guider_multistar.cpp
84-
│ │ └─ guider_multistar.h
85-
│ ├─ ao
86-
│ │ ├─ gear_simulator.cpp
87-
│ │ ├─ gear_simulator.h
88-
│ │ ├─ stepguider.cpp
89-
│ │ ├─ stepguider.h
90-
│ │ ├─ stepguider_sbigao_indi.cpp
91-
│ │ ├─ stepguider_sbigao_indi.h
92-
│ │ ├─ stepguider_sxao.cpp
93-
│ │ ├─ stepguider_sxao.h
94-
│ │ ├─ stepguider_sxao_indi.cpp
95-
│ │ ├─ stepguider_sxao_indi.h
96-
│ │ └─ stepguiders.h
97-
│ ├─ backlash_comp.cpp
98-
│ ├─ backlash_comp.h
99-
│ ├─ camera
100-
│ │ ├─ cam_indi.cpp
101-
│ │ ├─ cam_indi.h
102-
│ │ ├─ camera.cpp
103-
│ │ ├─ camera.h
104-
│ │ └─ cameras.h
105-
│ ├─ circbuf.h
106-
│ ├─ contributions
107-
│ │ └─ MPI_IS_gaussian_process
108-
│ │ ├─ CMakeLists.txt
109-
│ │ ├─ src
110-
│ │ │ ├─ covariance_functions.cpp
111-
│ │ │ ├─ covariance_functions.h
112-
│ │ │ ├─ gaussian_process.cpp
113-
│ │ │ ├─ gaussian_process.h
114-
│ │ │ ├─ gaussian_process_guider.cpp
115-
│ │ │ └─ gaussian_process_guider.h
116-
│ │ └─ tools
117-
│ │ ├─ math_tools.cpp
118-
│ │ └─ math_tools.h
119-
│ ├─ gui
120-
│ │ ├─ Refine_DefMap.cpp
121-
│ │ ├─ Refine_DefMap.h
122-
│ │ ├─ about_dialog.cpp
123-
│ │ ├─ about_dialog.h
124-
│ │ ├─ advanced_dialog.cpp
125-
│ │ ├─ advanced_dialog.h
126-
│ │ ├─ aui_controls.cpp
127-
│ │ ├─ aui_controls.h
128-
│ │ ├─ calibration_assistant.cpp
129-
│ │ ├─ calibration_assistant.h
130-
│ │ ├─ calreview_dialog.cpp
131-
│ │ ├─ calreview_dialog.h
132-
│ │ ├─ calstep_dialog.cpp
133-
│ │ ├─ calstep_dialog.h
134-
│ │ ├─ camcal_import_dialog.cpp
135-
│ │ ├─ camcal_import_dialog.h
136-
│ │ ├─ comet_tool.cpp
137-
│ │ ├─ comet_tool.h
138-
│ │ ├─ config_indi.cpp
139-
│ │ ├─ config_indi.h
140-
│ │ ├─ configdialog.cpp
141-
│ │ ├─ configdialog.h
142-
│ │ ├─ confirm_dialog.cpp
143-
│ │ ├─ confirm_dialog.h
144-
│ │ ├─ darks_dialog.cpp
145-
│ │ ├─ darks_dialog.h
146-
│ │ ├─ drift_tool.cpp
147-
│ │ ├─ drift_tool.h
148-
│ │ ├─ eegg.cpp
149-
│ │ ├─ gear_dialog.cpp
150-
│ │ ├─ gear_dialog.h
151-
│ │ ├─ graph-stepguider.cpp
152-
│ │ ├─ graph-stepguider.h
153-
│ │ ├─ graph.cpp
154-
│ │ ├─ graph.h
155-
│ │ ├─ guiding_assistant.cpp
156-
│ │ ├─ guiding_assistant.h
157-
│ │ ├─ indi_gui.cpp
158-
│ │ ├─ indi_gui.h
159-
│ │ ├─ manualcal_dialog.cpp
160-
│ │ ├─ manualcal_dialog.h
161-
│ │ ├─ messagebox_proxy.cpp
162-
│ │ ├─ messagebox_proxy.h
163-
│ │ ├─ myframe.cpp
164-
│ │ ├─ myframe.h
165-
│ │ ├─ myframe_events.cpp
166-
│ │ ├─ nudge_lock.cpp
167-
│ │ ├─ nudge_lock.h
168-
│ │ ├─ optionsbutton.cpp
169-
│ │ ├─ optionsbutton.h
170-
│ │ ├─ pierflip_tool.cpp
171-
│ │ ├─ pierflip_tool.h
172-
│ │ ├─ polardrift_tool.h
173-
│ │ ├─ polardrift_toolwin.cpp
174-
│ │ ├─ polardrift_toolwin.h
175-
│ │ ├─ profile_wizard.cpp
176-
│ │ ├─ profile_wizard.h
177-
│ │ ├─ star_profile.cpp
178-
│ │ ├─ star_profile.h
179-
│ │ ├─ starcross_test.cpp
180-
│ │ ├─ starcross_test.h
181-
│ │ ├─ staticpa_tool.h
182-
│ │ ├─ staticpa_toolwin.cpp
183-
│ │ ├─ staticpa_toolwin.h
184-
│ │ ├─ statswindow.cpp
185-
│ │ ├─ statswindow.h
186-
│ │ ├─ target.cpp
187-
│ │ ├─ target.h
188-
│ │ ├─ testguide.cpp
189-
│ │ ├─ testguide.h
190-
│ │ ├─ wxled.cpp
191-
│ │ └─ wxled.h
192-
│ ├─ guider.cpp
193-
│ ├─ guider.h
194-
│ ├─ guiders.h
195-
│ ├─ guiding_stats.cpp
196-
│ ├─ guiding_stats.h
197-
│ ├─ icons
198-
│ │ ├─ AltArrow.xpm
199-
│ │ ├─ AzArrow.xpm
200-
│ │ ├─ alert24.png.h
201-
│ │ ├─ ao.xpm
202-
│ │ ├─ at_curs1.cur
203-
│ │ ├─ at_curs3.cur
204-
│ │ ├─ auto_select.png.h
205-
│ │ ├─ auto_select_disabled.png.h
206-
│ │ ├─ brain.png.h
207-
│ │ ├─ bullseye.cur
208-
│ │ ├─ cam2.ico
209-
│ │ ├─ cam2.xpm
210-
│ │ ├─ cam_setup.png.h
211-
│ │ ├─ cam_setup_disabled.png.h
212-
│ │ ├─ connect.png.h
213-
│ │ ├─ connect_disabled.png.h
214-
│ │ ├─ connected.png.h
215-
│ │ ├─ disconnected.png.h
216-
│ │ ├─ down_arrow.xpm
217-
│ │ ├─ down_arrow_bold.xpm
218-
│ │ ├─ guide.png.h
219-
│ │ ├─ guide_disabled.png.h
220-
│ │ ├─ guiderlogview.xpm
221-
│ │ ├─ help22.png.h
222-
│ │ ├─ loop.png.h
223-
│ │ ├─ loop_disabled.png.h
224-
│ │ ├─ multistars.xpm
225-
│ │ ├─ phd2.ico
226-
│ │ ├─ phd2_128.png
227-
│ │ ├─ phd2_128.png.h
228-
│ │ ├─ phd2_16.png
229-
│ │ ├─ phd2_256.png
230-
│ │ ├─ phd2_32.png
231-
│ │ ├─ phd2_48.png
232-
│ │ ├─ phd2_48.png.h
233-
│ │ ├─ phd2_64.png
234-
│ │ ├─ phd2_64.png.h
235-
│ │ ├─ sb_arrow_down_16.png.h
236-
│ │ ├─ sb_arrow_left_16.png.h
237-
│ │ ├─ sb_arrow_right_16.png.h
238-
│ │ ├─ sb_arrow_up_16.png.h
239-
│ │ ├─ sb_led_green.png.h
240-
│ │ ├─ sb_led_red.png.h
241-
│ │ ├─ sb_led_yellow.png.h
242-
│ │ ├─ scope1.xpm
243-
│ │ ├─ select.png.h
244-
│ │ ├─ setup.png.h
245-
│ │ ├─ stop.png.h
246-
│ │ ├─ stop_disabled.png.h
247-
│ │ └─ transparent24.png.h
248-
│ ├─ image
249-
│ │ ├─ fitsiowrap.cpp
250-
│ │ ├─ fitsiowrap.h
251-
│ │ ├─ image_math.cpp
252-
│ │ ├─ image_math.h
253-
│ │ ├─ imagelogger.cpp
254-
│ │ ├─ imagelogger.h
255-
│ │ ├─ usImage.cpp
256-
│ │ └─ usImage.h
257-
│ ├─ json_parser.cpp
258-
│ ├─ json_parser.h
259-
│ ├─ lightguider.cpp
260-
│ ├─ lightguider.h
261-
│ ├─ logger
262-
│ │ ├─ debuglog.cpp
263-
│ │ ├─ debuglog.h
264-
│ │ ├─ guidinglog.cpp
265-
│ │ ├─ guidinglog.h
266-
│ │ ├─ log_uploader.cpp
267-
│ │ ├─ log_uploader.h
268-
│ │ ├─ logger.cpp
269-
│ │ └─ logger.h
270-
│ ├─ logviewer
271-
│ │ ├─ AnalysisWin.cpp
272-
│ │ ├─ AnalysisWin.h
273-
│ │ ├─ CMakeLists.txt
274-
│ │ ├─ LogViewApp.cpp
275-
│ │ ├─ LogViewApp.h
276-
│ │ ├─ LogViewFrame.cpp
277-
│ │ ├─ LogViewFrame.h
278-
│ │ ├─ LogViewFrameBase.cpp
279-
│ │ ├─ LogViewFrameBase.h
280-
│ │ ├─ guiderlogviewer.desktop
281-
│ │ ├─ guiderlogviewer.ico
282-
│ │ ├─ guiderlogviewer.png
283-
│ │ ├─ guiderlogviewer.rc
284-
│ │ ├─ logparser.cpp
285-
│ │ ├─ logparser.h
286-
│ │ └─ small.ico
287-
│ ├─ onboard_st4.cpp
288-
│ ├─ onboard_st4.h
289-
│ ├─ parallelport.cpp
290-
│ ├─ parallelport.h
291-
│ ├─ parallelports.h
292-
│ ├─ phdconfig.cpp
293-
│ ├─ phdconfig.h
294-
│ ├─ phdcontrol.cpp
295-
│ ├─ phdcontrol.h
296-
│ ├─ phdindiclient.cpp
297-
│ ├─ phdindiclient.h
298-
│ ├─ phdupdate.cpp
299-
│ ├─ phdupdate.h
300-
│ ├─ point.h
301-
│ ├─ precompiled_header.cpp
302-
│ ├─ rotator
303-
│ │ ├─ rotator.cpp
304-
│ │ ├─ rotator.h
305-
│ │ └─ rotators.h
306-
│ ├─ runinbg.cpp
307-
│ ├─ runinbg.h
308-
│ ├─ serialport.cpp
309-
│ ├─ serialport.h
310-
│ ├─ serialport_loopback.cpp
311-
│ ├─ serialport_loopback.h
312-
│ ├─ serialport_posix.cpp
313-
│ ├─ serialport_posix.h
314-
│ ├─ serialports.h
315-
│ ├─ server
316-
│ │ ├─ event_server.cpp
317-
│ │ ├─ event_server.h
318-
│ │ ├─ socket_server.cpp
319-
│ │ ├─ socket_server.h
320-
│ ├─ sha1.cpp
321-
│ ├─ sha1.h
322-
│ ├─ star.cpp
323-
│ ├─ star.h
324-
│ ├─ telescope
325-
│ │ ├─ mount.cpp
326-
│ │ ├─ mount.h
327-
│ │ ├─ scope.cpp
328-
│ │ ├─ scope.h
329-
│ │ ├─ scope_indi.cpp
330-
│ │ ├─ scope_indi.h
331-
│ │ ├─ scope_manual_pointing.cpp
332-
│ │ ├─ scope_manual_pointing.h
333-
│ │ ├─ scope_onboard_st4.cpp
334-
│ │ ├─ scope_onboard_st4.h
335-
│ │ ├─ scope_oncamera.cpp
336-
│ │ ├─ scope_oncamera.h
337-
│ │ ├─ scope_onstepguider.cpp
338-
│ │ ├─ scope_onstepguider.h
339-
│ │ └─ scopes.h
340-
│ ├─ worker_thread.cpp
341-
│ ├─ worker_thread.h
342-
│ ├─ xhair.xpm
343-
│ ├─ zfilterfactory.cpp
344-
│ └─ zfilterfactory.h
345-
└─ upload.sh
346-
347-
```
+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# - Try to find ASCOM Interface
2+
# Once done this will define
3+
#
4+
# ASCOM_INTERFACE_FOUND - system has ASCOM_INTERFACE
5+
# ASCOM_INTERFACE_DIR - the directory where the ASCOM Interface File can be found
6+
7+
# Copyright (c) 2010, Bret McKee <bretm@boneheads.us>
8+
#
9+
# Based on work which contained this copyright:
10+
#
11+
# Copyright (c) 2006, Jasem Mutlaq <mutlaqja@ikarustech.com>
12+
# Based on FindLibfacile by Carsten Niehaus, <cniehaus@gmx.de>
13+
#
14+
# Redistribution and use is allowed according to the terms of the BSD license.
15+
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
16+
17+
if (ASCOM_INTERFACE_DIR)
18+
# in cache already, be quiet
19+
set(ASCOM_INTERFACE_FIND_QUIETLY TRUE)
20+
else (ASCOM_INTERFACE_DIR)
21+
set(ASCOM_INTERFACE_FILE "AscomMasterInterfaces.tlb")
22+
23+
find_path(ASCOM_INTERFACE_DIR ${ASCOM_INTERFACE_FILE}
24+
PATHS
25+
$ENV{ASCOM_INTERFACE}
26+
"c:/Program Files (x86)/Common Files/ASCOM/Interface"
27+
"c:/Program Files/Common Files/ASCOM/Interface"
28+
)
29+
30+
if (ASCOM_INTERFACE_DIR)
31+
set(ASCOM_INTERFACE_FOUND TRUE)
32+
else (ASCOM_INTERFACE_DIR)
33+
set(ASCOM_INTERFACE_FOUND FALSE)
34+
endif (ASCOM_INTERFACE_DIR)
35+
36+
endif (ASCOM_INTERFACE_DIR)
37+
38+
if (ASCOM_INTERFACE_FOUND)
39+
if (NOT ASCOM_INTERFACE_FIND_QUIETLY)
40+
message(STATUS "Found ASCOM_INTERFACE ${ASCOM_INTERFACE_FILE} in ${ASCOM_INTERFACE_DIR}")
41+
endif (NOT ASCOM_INTERFACE_FIND_QUIETLY)
42+
else (ASCOM_INTERFACE_FOUND)
43+
message(STATUS "Unable to find ASCOM_INTERFACE file ${ASCOM_INTERFACE_FILE}.")
44+
endif (ASCOM_INTERFACE_FOUND)
45+
46+
mark_as_advanced(ASCOM_INTERFACE_DIR)
47+

0 commit comments

Comments
 (0)