my aim is to control an old style actuator jack with an arduino and a couple of relays (similar to the setup I used until now with vdr and a parallel port).
As a first step I added a new kind of rotor "linuxdvb_rotor_external" the idea is to spawn an external command which in turn will send the positioning command to the arduino.
However I don't like to just wait for an amount of seconds: I know where the dish is, and I'd much prefer to go on with the tuning once the dish is positioned.
Due to my limited understanding of the code, I couldn't find where in the chain I could insert such a check, i.e., instead of "wait x seconds then tune" (where x is the value returned by linuxdvb_rotor_tune), I'd like to implement this kind of sequence:
* move the dish to position X
* check if position X has been reached
* go on with the tuning once it has been reached or wait until it has
Can you tell me if it's possible to implement something like that?
I suppose it would not be correct to not return from linuxdvb_rotor_tune while the dish is moving, would it?