pyrobosim.navigation.types.PathExecutor.execute
- PathExecutor.execute(path: Path, realtime_factor: float = 1.0, battery_usage: float = 0.0) → ExecutionResult
Generates and executes a trajectory on the robot.
- Parameters:
path – Path to execute on the robot.
realtime_factor – A multiplier on the execution time relative to real time. Defaults to 1.0. If negative, runs as quickly as possible.
battery_usage – Robot battery usage per unit distance.
- Returns:
An object describing the execution result.