Sibling Duo Share How Participating in Student Competitions Drives Interest in STEM Careers
Why did you choose to get involved in the competition?
Did your brother inspire you to participate in BEST?
What was your role on the team?
How did you use MATLAB/ Simulink in the competition?
During my second year, I expanded on my previous work by translating it into Stateflow code, which makes use of states and transitions to accomplish different tasks. This allowed the code to be streamlined and gave the drivers more flexibility for the movement as there were no longer software restrictions to where they could move the robot in competition. The simulation feature once again helped several times during the competition to identify the ideal function of the code and determine the flaws in our robot. This helped to further optimize the robot for future competitions. This Stateflow code is what helped the team win the Simulink Design award for the first time.
During my second year, I used MATLAB and Simulink to code our main robot and the autonomous game. Many of the functions were coded using the Stateflow and Simulink blocks. The code made with Simulink blocks was for our light barrel, arm movement, and robot arcade control movement. Addition blocks and gain blocks helped to add multiple inputs before directing them into the driving motors. Stateflow is used in the rack and pinion portion of our arm, autonomous, and precision control. These could have been coded with Simulink blocks, but Stateflow made it easier to visualize the functioning of our code. I added the precision control as it helped the team with driving. The idea behind the precision control was to slow down the robot during the competition so it could do the tasks with accuracy. This entire code led the team to win the Simulink Design Award for the second time.
Comments
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.