diff --git a/SerialPort.ini b/SerialPort.ini new file mode 100644 index 0000000..2d98a62 --- /dev/null +++ b/SerialPort.ini @@ -0,0 +1,117 @@ +[MainWindow] +size=@Size(1920 1009) +pos=@Point(-1 -8) +activePanel=Plot +hidePanels=false +maximized=true +state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\0\0\0\a\x80\0\0\x3\xa6\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\f\0t\0\x62\0P\0l\0o\0t\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x1a\0t\0\x62\0P\0o\0r\0t\0\x43\0o\0n\0t\0r\0o\0l\x1\0\0\0i\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x10\0t\0\x62\0R\0\x65\0\x63\0o\0r\0\x64\x1\0\0\x1\x8f\xff\xff\xff\xff\0\0\0\0\0\0\0\0) + +[Port] +selectedPort=COM7 +baudRate=9600 +parity=none +dataBits=8 +stopBits=1 +flowControl=none + +[DataFormat] +format=ascii + +[DataFormat_Binary] +numOfChannels=4 +numberFormat=uint8 +endianness=little + +[DataFormat_ASCII] +numOfChannels=auto +delimiter="," +customDelimiter=| +filterMode=disabled +filterPrefix= + +[DataFormat_CustomFrame] +numOfChannels=1 +numberFormat=uint8 +endianness=little +frameStart=AA BB +fixedSize=false +frameSize=1 +checksum=false +debugMode=false + +[Channels] +channel\1\name=Time +channel\1\color=@Variant(\0\0\0\x43\x1\xff\xffUU\0\0\xff\xff\0\0) +channel\1\visible=true +channel\1\gain=1 +channel\1\gainEnabled=false +channel\1\offset=0 +channel\1\offsetEnabled=false +channel\2\name=Drehung +channel\2\color=@Variant(\0\0\0\x43\x1\xff\xff\0\0\xff\xff\0\0\0\0) +channel\2\visible=true +channel\2\gain=1 +channel\2\gainEnabled=false +channel\2\offset=0 +channel\2\offsetEnabled=false +channel\3\name=Arm +channel\3\color=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\0\0\0\0) +channel\3\visible=true +channel\3\gain=1 +channel\3\gainEnabled=false +channel\3\offset=0 +channel\3\offsetEnabled=false +channel\4\name=Oberarm +channel\4\color=@Variant(\0\0\0\x43\x1\xff\xff\xfe\xfe\x89\x89\0\0\0\0) +channel\4\visible=true +channel\4\gain=1 +channel\4\gainEnabled=false +channel\4\offset=0 +channel\4\offsetEnabled=false +channel\5\name=Hand +channel\5\color=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\0\0\0\0\0\0) +channel\5\visible=true +channel\5\gain=1 +channel\5\gainEnabled=false +channel\5\offset=0 +channel\5\offsetEnabled=false +channel\size=5 + +[Plot] +numOfSamples=1000 +plotWidth=1000 +indexAsX=true +xMax=1000 +xMin=0 +autoScale=true +yMax=1000 +yMin=0 +darkBackground=false +grid=false +minorGrid=false +legend=true +multiPlot=false +symbols=auto +numLines=1000 +decimals=6 + +[Commands] +command\1\name=Command 1 +command\1\type=ascii +command\1\data= +command\size=1 + +[Record] +autoIncrement=true +recordPaused=true +stopOnClose=true +header=true +disableBuffering=false +separator="," +decimals=6 +timestamp=false +timestampFormat=seconds + +[UpdateCheck] +periodicCheck=true +lastCheck=2022-01-07 diff --git a/src/main.cpp b/src/main.cpp index 0281d67..37d1418 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,7 +16,7 @@ #define DrehungMax 180 #define DrehungMin 0 -#define ArmMax 130 +#define ArmMax 180 #define ArmMin 0 #define OberarmMax 180