geom_navr_path_rotation.Rd
Adds rotational information to the path data
geom_navr_path_rotation(obj, axis = "x", downsample = 10, length = 1, ...)
obj | navr object |
---|---|
axis | character designating which rotation axis to plot. Needs to follow the navr specifications. e.g. if "z", the obj needs to have "rotation_z" column |
downsample | For very frequent data, this function would return several thousands geoms. Therefore it is recommended to only sample each nth observation. |
length | arrow length |
... |
plots arrows pointint in ditational direction. Uses geom_navr_direction
function to plot each rotation