Learn R Programming

mtconnectR (version 1.0.0)

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

Description

Reads parsed gcode and returns simulated data

Usage

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

Run this code
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")

Run the code above in your browser using DataLab