How to Set-Up Motion Player
less than a minute
With the motion player the user can define custom motion profiles defined in a .csv
file. These files can be loaded to Motorcortex Generic App by storing the .csv
file in a predefined default path as specified in the config.json
: "MotionPlayer": "/etc/motorcortex/config/motionfiles/"
. You can change the motion file path in the config.json
to you own liking.
The motion file
format should meet the following criteria in order for the motion player
to read it. A example file is stored in /etc/motorcortex/config/motionfiles/00_ExampleFile.csv
.
Motion file criteria:
- The motion file name should have the following format
xx_yyyy.csv
.xx
represents the motion file index number in the range of 00..99 as theyyyy
value can be changed to every name you like. - The first row of the .csv format should have the value
loop = z
.z
represents the repeat function of the motion player, for no repeats replacez
with0
. For the Motion Player to repeat automatically the motion file replacez
with1
. - The second row of the .csv file contains column information
# Time Axis1 Axis2 Axis3 Axis4 Axis5 Axis6
. - The data in each row is
separated
with aspacer
to indicate the columns. Note: all other spacing signs will result in motion player failure.
