utils
get_relative_pose(reference_pose, *, front_offset, side_offset=0.0, angular_offset=0.0)
#
Get a new pose relative to the reference pose with the specified linear and angular offsets.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
reference_pose |
Pose
|
The reference pose. |
required |
front_offset |
float
|
The offset in the direction of the reference's front. |
required |
side_offset |
float
|
The offset in the direction of the reference's side. Positive is to the left. |
0.0
|
angular_offset |
float
|
The angular offset in degrees. |
0.0
|
Source code in cogip/tools/planner/actions/utils.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|