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

Update PlayerOneCamera SDK v3.6.2 and a little more #920

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions debian/indi-playerone/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
indi-playerone (1.14) bionic; urgency=low

* Update PlayerOneCamera SDK v3.6.2
* Ensuring completion of exposure

-- Hiroshi SAITO <[email protected]> Wed, 8 May 2024 12:00:00 +0900

indi-playerone (1.13) bionic; urgency=low

* Update PlayerOneCamera SDK v3.6.1
Expand Down
6 changes: 6 additions & 0 deletions debian/libplayerone/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
libplayerone (1.10) bionic; urgency=low

* Update PlayerOneCamera SDK to v3.6.2

-- Hiroshi SAITO <[email protected]> Wed, 8 May 2024 08:00:00 +0900

libplayerone (1.9) bionic; urgency=low

* Update PlayerOneCamera SDK to v3.6.1
Expand Down
2 changes: 1 addition & 1 deletion indi-playerone/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ find_package(USB1 REQUIRED)
find_package(Threads REQUIRED)

set(PLAYERONE_VERSION_MAJOR 1)
set(PLAYERONE_VERSION_MINOR 13)
set(PLAYERONE_VERSION_MINOR 14)

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/indi_playerone.xml.cmake ${CMAKE_CURRENT_BINARY_DIR}/indi_playerone.xml)
Expand Down
4 changes: 4 additions & 0 deletions indi-playerone/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v1.14
* Update: PlayerOneCamera SDK to v3.6.2
* Improve: Ensuring completion of exposure

v1.13
* Update: PlayerOneCamera SDK to v3.6.1

Expand Down
2 changes: 2 additions & 0 deletions indi-playerone/indi-playerone.spec
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ make DESTDIR=%{buildroot} install
%{_datadir}/indi

%changelog
* Wed May 8 2024 Hiroshi Saito <[email protected]>
- Update PlayerOneCamera SDK to v3.6.2
* Thu Jan 4 2024 Hiroshi Saito <[email protected]>
- Update PlayerOneCamera SDK to v3.6.1
* Wed Sep 20 2023 Hiroshi Saito <[email protected]>
Expand Down
20 changes: 17 additions & 3 deletions indi-playerone/playerone_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,23 @@ void POABase::workerExposure(const std::atomic_bool &isAbortToQuit, float durati
PrimaryCCD.setExposureLeft(timeLeft);
}

usleep(delay * 1000 * 1000);

POAErrors ret = POAGetCameraState(mCameraInfo.cameraID, &status);
POAErrors ret;
if (timeLeft < 0.2)
{
int i = 0;
// exposure can fail in some cases if we don't call this fast enough
do
{
ret = POAGetCameraState(mCameraInfo.cameraID, &status);
usleep(1000);
i++;
}while(i<300 && status == STATE_EXPOSING);
}
else
{
usleep(delay * 1000 * 1000);
ret = POAGetCameraState(mCameraInfo.cameraID, &status);
}

if (isAbortToQuit)
return;
Expand Down
4 changes: 2 additions & 2 deletions libplayerone/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.16)
project (libplayerone)

# Using PlayerOne Camera SDK Version 3.6.1 updated on 2023-12-29
# Using PlayerOne Camera SDK Version 3.6.2 updated on 2024-4-26
# Using PlayerOne EFW SDK Version 1.2.0 updated on 2023-3-30

set (POACAM_VERSION "3.6.1")
set (POACAM_VERSION "3.6.2")
set (POACAM_SOVERSION "3")

set (POAEFW_VERSION "1.2.0")
Expand Down
Binary file modified libplayerone/armv6/libPlayerOneCamera.bin
Binary file not shown.
Binary file modified libplayerone/armv7/libPlayerOneCamera.bin
Binary file not shown.
Binary file modified libplayerone/armv8/libPlayerOneCamera.bin
100644 → 100755
Binary file not shown.
2 changes: 2 additions & 0 deletions libplayerone/libplayerone.spec
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ make DESTDIR=%{buildroot} install
%license libplayerone/license.txt

%changelog
* Wed May 8 2024 Hiroshi Saito <[email protected]>
- update PlayerOneCamera SDK to v3.6.2
* Thu Jan 4 2024 Hiroshi Saito <[email protected]>
- update PlayerOneCamera SDK to v3.6.1
* Wed Sep 20 2023 Hiroshi Saito <[email protected]>
Expand Down
Binary file modified libplayerone/mac/libPlayerOneCamera.bin
100644 → 100755
Binary file not shown.
Binary file modified libplayerone/x64/libPlayerOneCamera.bin
100644 → 100755
Binary file not shown.
Loading