func ClearCommandQueue
crossing ActionClearCommandQueue clears all pending commands (emergency stop).
ClearCommandQueue clears all pending commands (emergency stop).
GetNextCommand returns and removes the next command from the queue. Called by the telescope controller.
GrantAccess allows the owner to grant access to another user. durationDays: 0 = never expires
1func RecordCapture(cur realm, imageURL string, targetRA, targetDec float64, exposure int, capturedBy string)RecordCapture records a capture result locally and submits it to the NightSky network feed.
RevokeAccess allows the owner to revoke access from a user.
SubmitCommand allows authorized users to submit telescope commands. commandType: "capture" or "stop" targetRA: Right Ascension in hours (0-24), leave empty for stop targetDec: Declination in degrees (-90 to 90), leave empty for stop exposure: Exposure time in seconds (1-300), leave empty for stop
UpdateStatus updates the telescope status locally and in the NightSky registry. Valid values: "online", "offline", "busy", "error"