Description Usage Arguments Examples
Creates a timestamp based mapping to map every simulated timestamp to an actual timestamp based on real data
1 | map_gcode_mtc(mtc_device_sim, mtc_device, elasticity = 2)
|
mtc_device_sim |
is the simlated version |
mtc_device |
is the actual log data |
elasticity |
is the maximum consecutive reference elements skippable (passed to dtw::mvmStepPattern()) |
1 2 3 4 5 6 | data("example_gcode_parsed") # Parsed gcode
data("example_mtc_device_3") # MTCDevice object of actual log data
simulated_gcode_data = na.omit(simulate_data_from_gcode(example_gcode_parsed,
start_time = 0, data_res = 0.1, data_type = "HH"))
mtc_device_sim = create_mtc_device_from_ts(simulated_gcode_data)
mtc_sim_mapped = map_gcode_mtc(mtc_device_sim, example_mtc_device_3, elasticity = 200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.