shortcmd checked

This commit is contained in:
2025-02-16 21:59:08 +03:00
parent 53b18299dc
commit 5250aa185d
13 changed files with 281 additions and 94 deletions

View File

@@ -74,24 +74,24 @@ typedef struct{
} mountdata_t;
typedef struct{
int32_t Xmot; // 0 X motor position (rad)
int32_t Xspeed; // 4 X speed (rad/s)
int32_t Ymot; // 8
int32_t Yspeed; // 12
double Xmot; // 0 X motor position (rad)
double Xspeed; // 4 X speed (rad/s)
double Ymot; // 8
double Yspeed; // 12
uint8_t xychange; // 16 change Xbits/Ybits value
uint8_t XBits; // 17
uint8_t YBits; // 18
} short_command_t; // short command
typedef struct{
int32_t Xmot; // 0 X motor position (rad)
int32_t Xspeed; // 4 X speed (rad/s)
int32_t Ymot; // 8
int32_t Yspeed; // 12
int32_t Xadder; // 16 - X adder (rad/s)
int32_t Yadder; // 20
int32_t Xatime; // 24 X adder time, sec
int32_t Yatime; // 28
double Xmot; // 0 X motor position (rad)
double Xspeed; // 4 X speed (rad/s)
double Ymot; // 8
double Yspeed; // 12
double Xadder; // 16 - X adder (rad/s)
double Yadder; // 20
double Xatime; // 24 X adder time, sec
double Yatime; // 28
} long_command_t; // long command
// mount class