Commit 4b150ad9 authored by Sigurd M. Albrektsen's avatar Sigurd M. Albrektsen

fixed relative import of stim_parser.py

parent 2523b757
......@@ -6,7 +6,11 @@ Created on Tue Apr 29 2014
@author: sigurdal
"""
import struct
from ..messages import ImuMessage
import sys
import os
dir_path = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(dir_path, '../..'))
from parsers.messages import ImuMessage
class StimPackage(object):
@property
......@@ -206,7 +210,7 @@ class StimParser(object):
if __name__ == '__main__':
parser = StimParser()
from syncboard_reader import SyncboardReader
from parsers.syncboard_reader import SyncboardReader
import sys
PATH = '/dev/ttySyncboard02'
PATH = 'COM8'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment