la1k / flyby

A satellite tracking program
GNU General Public License v2.0
39 stars 8 forks source link

Use two sockets for rotctl communication #105

Closed bjorgan closed 2 years ago

bjorgan commented 2 years ago

Currently using the same socket for both set_pos and get_pos operations. It is a bit fragile, complex and easy to get wrong. Should split into two sockets to reduce the complexity, so that get_pos does not need to bootstrap a response for set_pos, and so that we have better control over what responses to expect from each socket.