ros-visualization / rqt_bag

http://wiki.ros.org/rqt_bag
29 stars 53 forks source link

Fix tuples for bisect calls (#67) #76

Closed mjeronimo closed 3 years ago

mjeronimo commented 3 years ago

Python3 doesn't allow comparisons between 'NoneType' and other types like float, generating the following error:

TypeError: '<' not supported between instances of 'float' and 'NoneType'

This error was encountered when creating tuples for calls to bisect, where a tuple was created using 'None'. Instead, a single element tuples are created, which result in the correct comparison behavior.

Signed-off-by: Michael Jeronimo michael.jeronimo@openrobotics.org