Is it possible to simulate a position using boolean IO? For example, if you have a single acting hydraulic cylinder that is either in the on or off position can that be controlled by a boolean output from a controller?
I've found how to map boolean IO between resources but the only way I've found to act upon it is to have a parallel task that is waiting for a change in IO state and then have that task choose a position with if statements. Doing this causes the waiting task to just always wait even after the task that includes the output calls finishes and has resulted in frequently crashing 3DX.
I've also found I can map analog double commands and send the retract or approach joint value directly to the cylinder devices joint instead of a boolean. This works for simulation but isn't using the same logic I'm trying for.
Robot controller sends output of true. Hydraulic controller receives input of true and activates resulting in cylinder moving to extended position.
Robot controller later sends output of false. Hydraulic controller receives input of false and deactivates resulting in cylinder returning to retracted position.
