# NOT RUN {
# Use first 10 second sample data for testing
df = sample_raw_accel_data
df = clip_data(df, start_time = df[1,1], stop_time = df[1, 1] + 600)
# compute orientation angles in degrees
compute_orientation(df)
# compute orientation angles in radian angles
compute_orientation(df, unit='rad')
# }
Run the code above in your browser using DataLab