add dumpswing, fix bug with uint32 instead of int32

This commit is contained in:
2025-02-19 23:07:26 +03:00
parent 1195393fa8
commit 357a0d7e19
10 changed files with 207 additions and 23 deletions

View File

@@ -23,10 +23,10 @@
// traectory
typedef int (*traectory_fn)(coords_t *, double);
int init_traectory(traectory_fn *f, coords_t *XY0);
traectory_fn *traectory_by_name(const char *name);
int init_traectory(traectory_fn f, coords_t *XY0);
traectory_fn traectory_by_name(const char *name);
void print_tr_names();
int traectory_point(coords_t *nextpt, double t);
int telpos(coords_t *curpos);
int Linear(coords_t *nextpt, double t);
int SinCos(coords_t *nextpt);
int SinCos(coords_t *nextpt, double t);