legacy_parse_IMU_C: Parse all IMU packets in a file

View source: R/RcppExports.R

legacy_parse_IMU_CR Documentation

Parse all IMU packets in a file

Description

Parse all IMU packets in a file

Usage

legacy_parse_IMU_C(imu_records, log, info, id, samp_rate, verbose)

dev_parse_IMU_C(packets, packet_no, zero_packet, id, samp_rate, info)

Arguments

imu_records

DataFrame with information about each packet

log

RawVector containing all payload bytes

info

The sensorColumns information of a SENSOR_SCHEMA object

id

integer. The id information of a SENSOR_SCHEMA object

samp_rate

integer. The IMU sampling rate.

verbose

logical. Print updates to console?

packets

list of packets

packet_no

IntegerVector indicating which index of packets to use for each second of expected output. Values of -1 indicate a latch to the previous index

zero_packet

list containing a properly-formatted packet pre-filled with values of zero (used for USB connection events)


AGread documentation built on Sept. 13, 2022, 5:06 p.m.