Skip to content

Pull Request AHRS IO proc into dev #15

Closed
wants to merge 14 commits into from
Closed

Pull Request AHRS IO proc into dev #15

wants to merge 14 commits into from

Commits on Oct 19, 2019

  1. Copy the full SHA
    041d9d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2019

  1. Copy the full SHA
    2bf62d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Add basic Serial Port Communication

    This is the preliminary communication code for the Xsens MTi. Right now
    it can connect to and read a single message from the motion tracker.
    It then does its best to the print out the message in hex. It still needs
    some massageing to make it easier to read and usable with all messages.
    
    Also, I want to eventually send messages also. I am currently
    investigaiting different formats the tracker can output/understand.
    
    Also also, I added a basic checksum calculator called checksum.cpp.
    It seems to currently work correctly and I plan on using it to calculate
    the checksum values for the message I send.
    mfs16101 committed Mar 4, 2020
    Copy the full SHA
    d74d937 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. Add Possible Fix for Hex/Char formatting

    The fix is in checksum.cpp, it has to do with HexCharStruct. Using this
    seemed to fix my issues with converting from char to hex (int but not
    really). Next I should try and use this struct in serial.cpp and see if
    it fixes the issue. I also worked on structuring a message, should it be
    in a vector? Should it just be a char buffer with spaces in between?
    Should I instead look into String format instead of binary format on the
    MT's side? Not really sure...
    mfs16101 committed Mar 5, 2020
    Copy the full SHA
    eb72ddf View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2020

  1. Merge branch 'xsensCom' of https://github.uconn.edu/grf14003/bfs into…

    … xsensCom
    
    Hopefully I did this merge correctly...
    Matt Scalzo committed Mar 10, 2020
    Copy the full SHA
    9c10356 View commit details
    Browse the repository at this point in the history
  2. Add calChecksum() function

    Added a function that takes in an abritrarily long vector of chars and
    calculates the checksum for that message. This hopefully allows for the
    autimatic calculation of checksum and message construction in order to
    send messages to the MT.
    mfs16101 committed Mar 10, 2020
    Copy the full SHA
    56606fd View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2020

  1. Add correct hex formmating to serial.cpp

    Using the struct in checksum.cpp serial.cpp is now able to print out the
    chars correctly for humans (except for leading 0s). The next step is to
    send a message to the MT and also generalize reading output, right now
    it requires "knowing" the number of bytes it will be reading, I guess
    this should be already know because of how you program it.
    The messages I will be constructing will be GoToConfig,
    SetOutputConfiguration, and GoToMeasurement.
    I also would like to investigate the String output mode on the device
    because it seems like it might make the whole char converting uneeded. I
    also need to work on a translator that can translate the hex code into
    the actual values we want to read...
    mfs16101 committed Mar 11, 2020
    Copy the full SHA
    ce5067f View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2020

  1. Remove debug couts

    mfs16101 committed Apr 1, 2020
    Copy the full SHA
    d742a0e View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2020

  1. Add double conversion test

    I believe I have gotten the conversion working. I am able to translate
    the Euler Angles. What I need to do now is develop a better way of
    captureing full messages from the MT. I have a plan for that, I'm going
    to capute a large amount of bytes, look for where a message starts, and
    then go to the correct index to get the data we want. Yeah...
    mfs16101 committed Apr 13, 2020
    Copy the full SHA
    078ad70 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2020

  1. Updated Comments

    mfs16101 committed Apr 22, 2020
    Copy the full SHA
    1769611 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2020

  1. Edit to serial.cpp

    mfs16101 committed May 8, 2020
    Copy the full SHA
    db6d035 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ae2a8a5 View commit details
    Browse the repository at this point in the history
  3. Complete Actual Thing

    mfs16101 committed May 8, 2020
    Copy the full SHA
    dc725ab View commit details
    Browse the repository at this point in the history
  4. Create IO_Proc Files

    I think I did this correctly... we will see...
    mfs16101 committed May 8, 2020
    Copy the full SHA
    d709efa View commit details
    Browse the repository at this point in the history