Skip to content

Add Alpaca protocol drivers for telescope, focuser, and filter wheel#2338

Open
gordtulloch wants to merge 3 commits intoindilib:masterfrom
gordtulloch:alpaca-drivers
Open

Add Alpaca protocol drivers for telescope, focuser, and filter wheel#2338
gordtulloch wants to merge 3 commits intoindilib:masterfrom
gordtulloch:alpaca-drivers

Conversation

@gordtulloch
Copy link

  • Add indi_alpaca_telescope driver with full mount control (goto, sync, park, tracking)
  • Add indi_alpaca_focuser driver with absolute positioning and temperature monitoring
  • Add indi_alpaca_filterwheel driver with focus offset support
  • Update drivers.xml to register new Alpaca devices
  • All drivers implement ASCOM Alpaca REST API specification
  • Supports network-based device discovery and control

- Add indi_alpaca_telescope driver with full mount control (goto, sync, park, tracking)
- Add indi_alpaca_focuser driver with absolute positioning and temperature monitoring
- Add indi_alpaca_filterwheel driver with focus offset support
- Update drivers.xml to register new Alpaca devices
- All drivers implement ASCOM Alpaca REST API specification
- Supports network-based device discovery and control
Comment on lines +58 to +67
ITextVectorProperty ServerAddressTP;
IText ServerAddressT[2] {};

// Device info properties
ITextVectorProperty DeviceInfoTP;
IText DeviceInfoT[4] {};

// Filter properties
INumberVectorProperty FocusOffsetsNP;
INumber FocusOffsetsN[3] {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please only use modern INDI properties. i.e. INDI::PropertyText, INDI::PropertyNumber

Comment on lines +61 to +66
ITextVectorProperty DeviceInfoTP;
IText DeviceInfoT[4] {};

// Temperature property
INumberVectorProperty TemperatureNP;
INumber TemperatureN[1] {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use only INDI modern property. e.g. INDI::PropertyText, INDI::PropertyNumber

Comment on lines -10 to -12
<device label="Shelyak Usis" manufacturer="Shelyak">
<driver name="Shelyak Usis">shelyak_usis</driver>
<version>1.2</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this entry removed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was an error, looked like a duplicate

@knro
Copy link
Contributor

knro commented Feb 23, 2026

@gordtulloch Any update on the requested changes?

@gordtulloch
Copy link
Author

Back from holidays will work on it this week

Comment on lines +49 to +51
// Load saved configuration
defineProperty(ServerAddressTP);
loadConfig(true, "SERVER_ADDRESS");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for this. Simple add this after ServerAddressTP.fill(....)

ServerAddressTP.load();

Comment on lines +56 to +54
if (!ServerAddressTP["HOST"].text.empty())
if (ServerAddressTP[HOST_INDEX].text != nullptr && strlen(ServerAddressTP[HOST_INDEX].text) > 0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, the empty check was indeed correct, why was it changed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants