4 Commits

Author SHA1 Message Date
7fbfe1c5f7
rotctl: do range validation
This is at the interface layer though it should arguably be done at the
controller layer. Oh well.
2024-07-06 12:59:48 -07:00
bd465af30d
rotctl: hook up remaining interface
This is missing a little bit of input validation, e.g. we don't
currently check that set_position azimuth and elevation are actually
in the range that the controller can possibly move.

The geodetic north offset configuration value is applied in when
computing the current position, but I think there are still some
slightly fiddly edge cases around it and I haven't actually figured
out which direction I want the sign to be.

The various pieces appear to be functional, so next up will be figuring
out what all the problems are with some hardware in the loop.
2024-07-05 00:32:42 -07:00
dbbb5c1748
rotctl: hook up P interface
This appears to work. Now all that remains is doing the rest of the
work.
2024-07-03 17:44:26 -07:00
c8bec6a7c5
start writing control and config functionality
In theory, this will poll the feedback lines, but in practice, it
probably crashes or catches on fire or something.
2024-07-03 16:06:49 -07:00