(position: List, orientation: List)
| 16 | |
| 17 | |
| 18 | def get_pose_msg(position: List, orientation: List) -> Pose: |
| 19 | pose_msg = Pose() |
| 20 | pose_msg.position.x = position[0] |
| 21 | pose_msg.position.y = position[1] |
| 22 | pose_msg.position.z = position[2] |
| 23 | pose_msg.orientation.x = orientation[0] |
| 24 | pose_msg.orientation.y = orientation[1] |
| 25 | pose_msg.orientation.z = orientation[2] |
| 26 | pose_msg.orientation.w = orientation[3] |
| 27 | return pose_msg |
| 28 | |
| 29 | |
| 30 | def get_stamped_pose( |
no outgoing calls
no test coverage detected