Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Camera Mosaic plugin #4005

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
448f7c2
Make MosaicCamera a separate plugin
jmeyers314 Nov 23, 2024
d8d930a
Add MosaicCameraDialog
jmeyers314 Nov 24, 2024
7253d77
Add basic location spinboxes
jmeyers314 Nov 24, 2024
e9d7c75
connect spin boxes
jmeyers314 Nov 24, 2024
ced7972
connect spinboxes to mosaic
jmeyers314 Nov 24, 2024
8e9af57
Initial TCP server for Mosaic Camera
jmeyers314 Nov 25, 2024
bcb84c1
remove debug statements
jmeyers314 Nov 27, 2024
24a81cd
Use RSP
jmeyers314 Dec 1, 2024
5af65e4
cleanup
jmeyers314 Dec 1, 2024
c38eba2
Use json for mosaic layout
jmeyers314 Dec 2, 2024
575d0b4
Promote RA/DEC/RSP to AngleSpinBoxs
jmeyers314 Dec 2, 2024
56bd404
Add gui labels
jmeyers314 Dec 2, 2024
45c17aa
Add json mosaics
jmeyers314 Dec 2, 2024
8f2ac88
New Cameras
jmeyers314 Dec 2, 2024
511ff98
Add Latiss
jmeyers314 Dec 2, 2024
aacff0b
Use HMS for RA
jmeyers314 Dec 2, 2024
da15ab2
Add qrc
jmeyers314 Dec 3, 2024
c8e82ef
clean up
jmeyers314 Dec 3, 2024
5affe50
reorder tabs
jmeyers314 Dec 3, 2024
55c046c
Don't need colorComment
jmeyers314 Dec 6, 2024
06d821a
Multiple Cameras
jmeyers314 Dec 7, 2024
ac2e1c1
Use QListWidget
jmeyers314 Dec 8, 2024
e6c54e6
Use userDirectory for cameras
jmeyers314 Dec 9, 2024
eb6a7f9
Add MosaicCamera README
jmeyers314 Dec 11, 2024
2035008
Remember camera visibility
jmeyers314 Dec 12, 2024
e61e4b8
ui_MosaicCameraDialog -> ui_mosaicCameraDialog
jmeyers314 Dec 13, 2024
fc9980f
Update CMakeLists.txt for Qt5/6
jmeyers314 Dec 13, 2024
9cdcda7
Remove redundant blank line
jmeyers314 Dec 15, 2024
485f59d
Use space delimiter in mosaic TCP
jmeyers314 Dec 15, 2024
70c0617
Add PROPERTYs to MosaicCamera
jmeyers314 Dec 17, 2024
b6a26a9
Remove MosaicCamera TCP server
jmeyers314 Dec 17, 2024
819c8e8
Remove MosaicCamera::updateMosaic
jmeyers314 Dec 17, 2024
e1b9e65
Start documentation
jmeyers314 Jan 23, 2025
e151116
Start guide chapter for Mosaic Camera
jmeyers314 Feb 27, 2025
e807762
Add general tab to MosaicCameraDialog
jmeyers314 Mar 10, 2025
7a6b191
Add Mosaic Camera toolbar button
jmeyers314 Mar 10, 2025
83b3f8f
Make Mosaic Camera scriptable
jmeyers314 Mar 11, 2025
d73b8af
More scriptability for Mosaic Camera
jmeyers314 Mar 11, 2025
0132ab0
Add MosaicCamera keyboard shortcuts
jmeyers314 Mar 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ List of supported parameters (passed as `-DPARAMETER=VALUE`):
| USE_PLUGIN_LENSDISTORTIONESTIMATOR | bool | ON | Enable building the Lens Distortion Estimator plugin
| USE_PLUGIN_METEORSHOWERS | bool | ON | Enable building the Meteor Showers plugin
| USE_PLUGIN_MISSINGSTARS | bool | ON | Enable building the Missing Stars plugin
| USE_PLUGIN_MOSAICCAMERA | bool | OFF | Enable building the Mosaic Camera plugin
| USE_PLUGIN_NAVSTARS | bool | ON | Enable building the Navigational Stars plugin
| USE_PLUGIN_NOVAE | bool | ON | Enable building the Bright Novae plugin
| USE_PLUGIN_OBSERVABILITY | bool | ON | Enable building the Observability Analysis plugin
Expand Down
15 changes: 8 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ IF(${CMAKE_BUILD_TYPE} MATCHES "Debug")
APPEND_COVERAGE_COMPILER_FLAGS()
MESSAGE(STATUS "Found lcov ${LCOV_PATH} (enable coverage support)")
SETUP_TARGET_FOR_COVERAGE_LCOV(
NAME coverage
EXECUTABLE ctest -j ${PROCESSOR_COUNT}
NAME coverage
EXECUTABLE ctest -j ${PROCESSOR_COUNT}
DEPENDENCIES buildTests
)
ENDIF()
Expand All @@ -170,7 +170,7 @@ ELSE()
EXECUTE_PROCESS(COMMAND ${GIT_EXECUTABLE} describe --tags --abbrev=0 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} TIMEOUT 30 OUTPUT_VARIABLE GIT_TAGS OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE GIT_ERROR)
IF(GIT_REVISION)
# Let's use short hash in all cases
STRING(SUBSTRING ${GIT_REVISION} 0 7 REVISION)
STRING(SUBSTRING ${GIT_REVISION} 0 7 REVISION)
ADD_DEFINITIONS(-DGIT_REVISION="${REVISION}")
ADD_DEFINITIONS(-DGIT_BRANCH="${GIT_BRANCH}")
ENDIF()
Expand Down Expand Up @@ -367,7 +367,7 @@ IF("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
ENDIF()

# FreeBSD-specific compiler flags
# resolve bug for FreeBSD/amd64 and NVIDIA proprietary drivers
# resolve bug for FreeBSD/amd64 and NVIDIA proprietary drivers
IF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
# Use -pthread compilation option to properly link to threading library
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -Wno-unused-local-typedefs")
Expand Down Expand Up @@ -540,6 +540,7 @@ ADD_PLUGIN(Calendars 1)
ADD_PLUGIN(Exoplanets 1)
ADD_PLUGIN(EquationOfTime 1)
ADD_PLUGIN(MeteorShowers 1)
ADD_PLUGIN(MosaicCamera 1)
ADD_PLUGIN(NavStars 1)
ADD_PLUGIN(Novae 1)
ADD_PLUGIN(Observability 1)
Expand Down Expand Up @@ -713,7 +714,7 @@ IF(ENABLE_SHOWMYSKY)
MESSAGE(STATUS "Will build ShowMySky library")
INCLUDE(GNUInstallDirs)
IF(APPLE)
INSTALL(TARGETS ShowMySky LIBRARY DESTINATION Frameworks)
INSTALL(TARGETS ShowMySky LIBRARY DESTINATION Frameworks)
ELSE()
INSTALL(TARGETS ShowMySky
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
Expand All @@ -733,7 +734,7 @@ IF(ENABLE_SHOWMYSKY)
GET_TARGET_PROPERTY(ShowMySky_LIBRARY
ShowMySky::ShowMySky LOCATION)
IF(EXISTS ${ShowMySky_LIBRARY})
MESSAGE(STATUS "Found ShowMySky library: ${ShowMySky_LIBRARY}")
MESSAGE(STATUS "Found ShowMySky library: ${ShowMySky_LIBRARY}")
ELSE()
MESSAGE(FATAL_ERROR "Could NOT found ShowMySky library")
ENDIF()
Expand Down Expand Up @@ -858,7 +859,7 @@ IF(UNIX AND NOT WIN32)
IF(APPLE)
SET(CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/Stellarium.app/Contents")
ELSE()
ADD_DEFINITIONS(-DINSTALL_DATADIR="${CMAKE_INSTALL_PREFIX}/${SDATALOC}")
ADD_DEFINITIONS(-DINSTALL_DATADIR="${CMAKE_INSTALL_PREFIX}/${SDATALOC}")
# Used in generating the documentation (doc/stellarium.pod.cmake):
SET(INSTALL_DATADIR "${CMAKE_INSTALL_PREFIX}/${SDATALOC}")
ENDIF()
Expand Down
14 changes: 14 additions & 0 deletions guide/plg_atTheTelescope.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1153,6 +1153,20 @@ \subsection*{Author}
\label{sec:plugins:Observability:author}
This plugin has been contributed by Ivan Marti-Vidal (Onsala Space Observatory)\footnote{\url{mailto:[email protected]}} with some advice by Alexander Wolf and Georg Zotti.

\newpage
\section{Mosaic Camera Plugin}
\sectionauthor*{Josh Meyers}
\label{sec:plugins:MosaicCamera}

The Mosaic Camera plugin enables you to overlay an outline of a mosaic camera, i.e., one with multiple sensors on a grid.
This may be useful for comparing various (mostly professional) cameras, such as the Rubin Observatory's Legacy Survey of Space and Time Camera (LSSTCam), Hyper Suprime-Cam (HSC) on the Subaru Telescope, or the Dark Energy Camera (DECam) on the Blanco Telescope.
Those with appropriate credentials may even be able to use this plugin to follow these instruments' observations in real time.
Even without such credentials, the plugin can be used for public outreach, demonstrating the capabilities of these instruments.
With a little work, it can also be used to show the outlines of other cameras, including potentially your very own astrophotography setup.







Expand Down
14 changes: 14 additions & 0 deletions plugins/MosaicCamera/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This is the cmake config file for the MosaicCamera
SET(MOSAICCAMERA_VERSION "0.0.0")
ADD_DEFINITIONS(-DBUILD_DYNAMIC_PLUGIN=0)
ADD_DEFINITIONS(-DMOSAICCAMERA_PLUGIN_VERSION="${MOSAICCAMERA_VERSION}")
ADD_DEFINITIONS(-DMOSAICCAMERA_PLUGIN_LICENSE="GNU GPLv2 or later")

ADD_SUBDIRECTORY( src )

IF(APPLE)
SET(CMAKE_INSTALL_PREFIX $ENV{HOME}/Library/Application\ Support/Stellarium)
ElSE(APPLE)
SET(CMAKE_INSTALL_PREFIX $ENV{HOME}/.stellarium)
ENDIF(APPLE)
INSTALL(FILES DESTINATION "modules/MosaicCamera")
Loading