andyvan-trabus

Results 16 issues of andyvan-trabus

I see the following code in ais_py.cpp: > case AIS8_1_26_SENSOR_CURR_2D: > { > Ais8_1_26_Curr2D *rpt = > reinterpret_cast(msg.reports[rpt_num]); > DictSafeSetItem(rpt_dict, "type", rpt->type); > DictSafeSetItem(rpt_dict, "spare", rpt->spare); > > PyObject *curr_list...

The current libais tries to be helpful and convert values. However, I think that's a bad idea: - Units are sometimes changed, with no way for the user to know...

I was running the tag_block code on a file of AIS messages, and I got an exception: File "/home/avanpelt/git/libais/ais/tag_block.py", line 135, in put decoded = nmea_messages.DecodeLine(match['payload']) File "/home/avanpelt/git/libais/ais/nmea_messages.py", line 470,...

TagQueue.put(self, line, line_num=None) has a problem if the line fails to parse, and line_num has the default value of None: File "/home/avanpelt/git/libais/ais/tag_block.py", line 139, in put logger.info('No NMEA match for...

I noticed while added processing for 367_33 that the following lines call ais8_367_22_append_pydict but don't set status to AIS_OK, which means that the message processing will appear to fail: case...

I noticed while implementing parsing for ais8_367_33, which is remarkably similar, that the switch statement in ais8_1_26_append_pydict only calls ais8_1_26_append_pydict_sensor_hdr for a couple of the cases (SENSOR_LOCATION, SENSOR_STATION), but not...