simulate_data_from_gcode: Simulate position,velocity and other data from G-code

Description Usage Arguments Examples

View source: R/simulate_gcode.R

Description

Reads parsed gcode and returns simulated data

Usage

1
2
simulate_data_from_gcode(gcode_parsed, start_time = 0, data_res = 0.2,
  data_type = "ISO")

Arguments

gcode_parsed

Parsed gcode

start_time

Starting time (default 0)

data_res

Resolution for occurrence of a new data point. (seconds)

data_type

Data type

Examples

1
2
3
data("example_gcode_parsed")
simulated_data_from_gcode <- simulate_data_from_gcode(example_gcode_parsed,start_time = 0, 
data_res = 0.2, data_type = "HH")

mtconnectR documentation built on May 30, 2017, 4:15 a.m.

Search within the mtconnectR package
Search all R packages, documentation and source code