Awesome. By the way, do you know any good sources for joystick programming? possibly c language?
AikidoSoul 1 year ago
Very cool! So, can you assign a motion to a button? For example: could you assign the trigger to a walk cycle?
AlphA202303 4 years ago
Sure.
If you have an URBI function making your robot move one step (let say a loop setting motor values according to a previously recorded move), triggering this function with the joystick will be:
at (joystick.button0) robot.mymove ();
miniTed 4 years ago
lulz at the end
migle235 4 years ago
Awesome. By the way, do you know any good sources for joystick programming? possibly c language?
AikidoSoul 1 year ago
Very cool! So, can you assign a motion to a button? For example: could you assign the trigger to a walk cycle?
AlphA202303 4 years ago
Sure.
If you have an URBI function making your robot move one step (let say a loop setting motor values according to a previously recorded move), triggering this function with the joystick will be:
at (joystick.button0) robot.mymove ();
miniTed 4 years ago
lulz at the end
migle235 4 years ago