Branch Functions

We are messing with the branch functions available in RoboPro softwhare, in order to learn and apply them.
Branches allow logic to be done. Without branches the program will work with gates, that is once it gets somewher it will wait untill something occurs. With branches, it can go along a different path depending on a variable or the return of a function.

A normally open switch could be used on a segway to only allow power to the drive train when there is someone on the segway.

A normally clossed switch could be used onthe robot as a limit switch. When pressed (By, say and arm reaching its upwardmost point), it could put power to the motors.

No comments:

Post a Comment

Spammers will be hunted down and killed for fun.