Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
NaNs in telemetry graph causes scaling crash #17
I've seen the Telemetry Grapher crash due to a "Comparison of Float with Float failed" error. I think the only way you can get this is if one of the values is a nan. By default the json_drb code allows nans and thus nans can be returned from the server. Somewhere the telemetry grapher needs to handle nans so the scaling code works. I'm not sure if it should replace nans with zero or simply remove them which would result in a blank spot in the graph. The first solution might look like real data might might be confusing. The second solution would result in a hole in the graph that might be confused with a telemetry drop out.