R/processing_movement_functions.R
translate_movement_to_ref.RdThis is a convenience function to make escape responses comparable between scenarios with different orientation (e.g. different fruit picking place). It does not (yet) allow reorienting the rotations. (NOTE: if required, such rotation re-orientation would require a function to convert a rotation matrix to Euler angles)
translate_movement_to_ref(df, ref_pos = list(pos_x = 0, pos_y = 0, pos_z = 0))A translated movement data frame with the same column names