Announcement

Collapse
1 of 2 < >

FINAL DOCUMENTS

FINAL Rules, Tasks and Scoring posted NOW!
2 of 2 < >

Welcome to the RoboNation Forum!

Welcome to the home for the RoboNation Community! This is where you'll see exciting announcements and features all for the community. Join the conversations below!
See more
See less

TD Network / Communications Protocol test script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • TD Network / Communications Protocol test script

    Sorry for my tardiness, but here is a python script to test your hearbeat code against to validate structure and data. Run it on any machine with python installed and watch the terminal window for feedback.

    The script can be found on github here:

    https://github.com/madsci1016/RobotXToolkit


  • #2
    Thanks for the test script Bill. Do you plan to add checks for the entrance/exit gate, identify symbols an dock, and detect and deliver messages?

    Comment


    • #3
      Thanks for the script, but the message structure isn't entirely clear. Can you post a couple of test messages to show how they are intended to look like?

      Edit: I found the sequence:
      $RX<3-char message ID>,<comma delimited tesk data>*<1-byte XOR checksum in hex>\r\n

      But there is a bug in the test script. The calcchecksum() is calculated on the raw nmea_str instead of the match.group('nmea_str') which makes calculating a checksum in the first place impossible. Using the match.group('nmea_str') makes the message parsing fine and as expected.

      Are there going to be more details on what each field represents? i.e. the Heartbeat section saying "Vehicle at: " with 4 fields available and not named.

      Thanks
      Last edited by Marco_M6; 12-06-2018, 10:45 PM.

      Comment

      Working...
      X