During my diploma-thesis I used Gazebo with the Fawkes Robot Software Framework and encountered the problem that the message headers were parsed incorrectly and thus no connection could be established.
I fixed this problem for my work by adjusting the ParseHeader function of the Connection class so that the header get limited to the defined HEADER_LENGTH by changing the argument of the istringstream to a limited substring.
Original report (archived issue) by Bastian Klingen (Bitbucket: bklingen).
During my diploma-thesis I used Gazebo with the Fawkes Robot Software Framework and encountered the problem that the message headers were parsed incorrectly and thus no connection could be established.
I fixed this problem for my work by adjusting the ParseHeader function of the Connection class so that the header get limited to the defined HEADER_LENGTH by changing the argument of the istringstream to a limited substring.
Old:
New:
I had no problems using Gazebo otherwise, the error only occured when using it with Fawkes.