CMU-Robotics-Club / RoboBuggy

99 problems, but a driver ain't one. (Push code, not buggies)
25 stars 5 forks source link

Fixed GPS initialization failure mode #506

Closed VivaanBahl closed 5 years ago

VivaanBahl commented 5 years ago

Currently, if the initial setup for the GPS fails, we only print out the error message and don't crash the node (therefore powering the system down). This fix makes the return values and behaviors consistent with what is supposed to happen should we fail to initially connect with the GPS