You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing the autopilot functionality I realized that my NMEA frames were not interpreted. While debugging, I noticed that there was a problem with the buffer size and only my first 8 characters were taken into account.
Autopilot was limited to a buffer size of 8 because of the next line:
While testing the autopilot functionality I realized that my NMEA frames were not interpreted. While debugging, I noticed that there was a problem with the buffer size and only my first 8 characters were taken into account.
Autopilot was limited to a buffer size of 8 because of the next line:
ssize_t nread = ::read(rcvSocket.native_handle(), buf, sizeof(buf));
sizeof(buf) = 8 because it returns the size of type char * which is a pointer and not a tab size of 128 that was expected.
I push a commit and a pull request.
The text was updated successfully, but these errors were encountered: