![]() |
CloudTwin
ROS2 Humble
Digital twin for path and trajectory optimisation
|
Public Member Functions | |
| def | __init__ (self, name, point_a, point_b, duration=10.0) |
| def | get_position (self, t) |
| def | get_yaw (self, t) |
Public Attributes | |
| duration | |
| name | |
| point_a | |
| point_b | |
A person moving smoothly between two points using sinusoidal interpolation.
| def obstacle_spawner.WalkingPerson.__init__ | ( | self, | |
| name, | |||
| point_a, | |||
| point_b, | |||
duration = 10.0 |
|||
| ) |
| def obstacle_spawner.WalkingPerson.get_position | ( | self, | |
| t | |||
| ) |
Sinusoidal interpolation between point_a and point_b.
| def obstacle_spawner.WalkingPerson.get_yaw | ( | self, | |
| t | |||
| ) |
Calculate facing direction based on movement.
| obstacle_spawner.WalkingPerson.duration |
| obstacle_spawner.WalkingPerson.name |
| obstacle_spawner.WalkingPerson.point_a |
| obstacle_spawner.WalkingPerson.point_b |