nexstar 0.0.1
nexstar: ^0.0.1 copied to clipboard
Nexstar astronomy protocol command factory and parser.
Features #
Creating commands to send to the telescope and parsing the responses (WIP).
Getting started #
install by adding the package to your pubspec.yaml file or by command
pub add nexstar
Usage #
Most commands are implemented in the NexstarCommandFactory class. Use it to build the command you want to send to the telescope.
This example shows how to send a command to the telescope to move to a specific RA/DEC position.
import 'package:nexstar/nexstar.dart';
void main() {
NexstarCommand cmd=NexstarCommandFactory.buildGotoRaDecCommand(10, 88, false);
print("Send to telescope: {$cmd.commandData}");
}
Additional information #
As this package is a work in progress, the command set is not complete. Please refer to the NexStar Communication Protocol commands list for more information. Any questions can be asked by email: spin7ion@gmail.com or by opening an issue on the GitHub repository.