|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Reducing code complexity
One of the problem with our teams code this year was that teleop had a huge amount of if statements for each element of the control system (i.e. if this button is pressed, perform this function). This seems like bad practice and the the code isn't as maintainable as it could be.
Link to the code is here. Have any other teams struggled with this? How have you gotten around it? Thanks, Daniel, Team 1836 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|