Importing and exporting pathsThe path import/export functionality operates on CSV-files (Comma Separated Values) than can be created or read with a simple text-editor, but also easily imported/exported into applications like Microsoft Excel. Importing pathsV-REP's import functionality ( [Menu bar --> File --> Import path from CSV...] ) reads line-by-line values, where each line corresponds to a control point. Each line should be formatted in following way: x,y,z,alpha,beta,gamma,relativeVelocity,BezierPointCount,interpolationFactor1,interpolationFactor2 Where: Except for the first 3 values (control point position coordinates), all other values can be omitted, in which case default values are applied. Exporting pathsA path's control points can be exported by selecting the path, then clicking [Menu bar --> File --> Export selected path as CSV...]. The export format in this case is identical to the previously described path import format. A path's Bezier points can also be exported by selecting the path, then clicking [Menu bar --> File --> Export selected path's bezier curve as CSV...]. In this case, each line in the created file (exported file) corresponds to a Bezier point and contains following values: x,y,z,alpha,beta,gamma,relativeVelocity Recommended topics |