adjust_by_user function

Adjust by user height

Adjust by user height

adjust_by_user adjusts data based on the user height to acccount for the laser's distance from the ground.

adjust_by_user(df, user_height)

Arguments

  • df: the data frame of raw pcl data
  • user_height: the height of the laser off the ground as mounted on the user in meters

Returns

a data frame adjusted by height

Details

The function adjust_by_user simply adds the height of the user to the return distances in the data frame to estimate true height.

Examples

# Adust raw data to account for user height as PCL is user-mounted and correction # gives actual distance from ground. pcl_adjusted <- adjust_by_user(pcl_coded, user_height = 1.05)