ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The error should occur in the case that sentence.find('GGA') > 0
evaluates to False
. Then, although being declared, hora
is not defined, i.e., didn't get assigned any value.