Giter Club home page Giter Club logo

alpacapi's Issues

RoR Control Emercy stop

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

Compile error

./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....

Readoutmode & Sensortype

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);
}

Get_Imagearray_Binary issue.

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.

cameradriver.zip

Alpaca management parameters

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

opencv not compatible

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.