I have an application that requires the robot to toggle a digital output on for 0.75sec and then toggle it off. This needs to happen while the robot is moving to it's next waypoint. Using a thread to toggle the output and a boolean variable in the main program works but I'd like to know if there is a better way of going about this.
I have an application that requires the robot to toggle a digital output on for 0.75sec and then toggle it off. This needs to happen while the robot is moving to it's next waypoint. Using a thread to toggle the output and a boolean variable in the main program works but I'd like to know if there is a better way of going about this.