This commit is contained in:
2025-03-02 22:50:18 +03:00
parent dfeca4c923
commit 9519202ce4
4 changed files with 132 additions and 35 deletions

View File

@@ -98,10 +98,6 @@ typedef struct{
uint32_t millis;
double temperature;
double voltage;
int32_t XmotRaw;
int32_t YmotRaw;
int32_t XencRaw;
int32_t YencRaw;
} mountdata_t;
typedef struct{
@@ -166,7 +162,7 @@ typedef struct{
uint32_t baudrate; // Baud Rate (baud)
double locsdeg; // Local Search Degrees (rad)
double locsspeed; // Local Search Speed (rad/s)
double backlspd; // Backlash speed (???)
double backlspd; // Backlash speed (rad/s)
} hardware_configuration_t;
// mount class
@@ -182,6 +178,7 @@ typedef struct{
mcc_errcodes_t (*shortCmd)(short_command_t *cmd); // send/get short command
mcc_errcodes_t (*longCmd)(long_command_t *cmd); // send/get long command
mcc_errcodes_t (*getHWconfig)(hardware_configuration_t *c); // get hardware configuration
mcc_errcodes_t (*saveHWconfig)(hardware_configuration_t *c); // save hardware configuration
} mount_t;
extern mount_t Mount;