msproul / alpacapi Goto Github PK
View Code? Open in Web Editor NEWAstronomy control software using Alpaca protocol on the Raspberry Pi
Astronomy control software using Alpaca protocol on the Raspberry Pi
Hoi paul how are you
I like to request an extra function for the RoR alpaca part which you created.
I need an extra API which is an Emercy stop of the roof movement.
if you have some time it would be handy to have that.
Also, i like to inform you that the software runs very stable for a long time.
Possible also handy is that you can display on the web pages set up the compiled versions, which are running but that is a nice to have
Thanks in advance
Chris
./src/domedriver_ror_rpi.cpp:345:31: error: ‘kRelay_FlatScren’ was not declared in this scope
345 | relayOK = RpiRelay_SetRelay(kRelay_FlatScren, onOffFlag);
| ^~~~~~~~~~~~~~~~
./src/domedriver_ror_rpi.cpp: In member function ‘virtual TYPE_ASCOM_STATUS DomeDriverROR::GetAuxiliary(bool*)’:
./src/domedriver_ror_rpi.cpp:358:33: error: ‘kRelay_FlatScren’ was not declared in this scope
358 | *onOffFlag = RpiRelay_GetRelay(kRelay_FlatScren);
| ^~~~~~~~~~~~~~~~
make: *** [Makefile:4459: Objectfiles/domedriver_ror_rpi.o] Error 1
make: *** Waiting for unfinished jobs....
I'm not an expert about a raw image and also not sure if this is issue. But other than kImageType_RGB24, SensorType switched to kSensorType_Monochrome. Is kImageType_RAW16 & kSensorType_RGGB not possible for a color camera?
if (newImageType == kImageType_RGB24)
{
// CONSOLE_DEBUG("Setting sensorType to kSensorType_Color");
cCameraProp.SensorType = kSensorType_Color;
printf("set SensorType =%d\n", cCameraProp.SensorType);
}
else
{
// CONSOLE_DEBUG("Setting sensorType to kSensorType_Monochrome");
cCameraProp.SensorType = kSensorType_Monochrome;
printf("set SensorType =%d\n", cCameraProp.SensorType);
}
I tested Get_Imagearray_Binary and modified it. I think you can try this code. I still don't know how to deal with kImageType_RGB24. I tested this code with both color (RGGB with RAW8, RAW16, Y8) and mono (RAW8 and Raw16) ASI cameras. NINA can read the captured images.
I remark the management API do not support the parameters ClientID and ClientTransactionID.
The following URL:
http://127.0.0.1:6800/management/v1/description?ClientID=1&ClientTransactionID=2
return this error:
{
"Device":"ManagementDriver",
"Command":"description?ClientID=1&ClientTransactionID=2",
"ClientTransactionID":2,
"ServerTransactionID":2086,
"ErrorNumber":1035,
"ErrorMessage":"AlpacaPi:Unrecognized command:description?ClientID=1&ClientTransactionID=2: ProcessCommand_Common: 708"
}
Without the parameters it work fine.
This two parameters are defined in the Management API:
https://ascom-standards.org/api/?urls.primaryName=ASCOM%20Alpaca%20Management%20API
Thanks for making this program available.
I am trying to run AlpacaPi on an unstable version of Debian. It seems like my version of opencv is too new and provides opencv4/opencv2/highgui.hpp whereas you require opencv/highgui.h.
Is there a mention of the supported versions of external libraries anywhere ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.