Skip to content

Add execution.mode#128

Open
fred-labs wants to merge 31 commits into
mainfrom
ros2-sim
Open

Add execution.mode#128
fred-labs wants to merge 31 commits into
mainfrom
ros2-sim

Conversation

@fred-labs

Copy link
Copy Markdown
Contributor

Adds an execution.mode field (auto | ros2, default auto) to the .vast schema. ros2 forces the scenario_execution_ros runner regardless of PATH detection, threaded to the container entrypoint as SCENARIO_MODE (local compose and Kubernetes backends). This is needed when a SimulationInterface must run alongside ROS behaviours, so the ROS runner (which provides rclpy) is used and ticks the SimulationInterface.

Adds an `execution.mode` field (`auto` | `ros2`, default `auto`) to the .vast
schema. `ros2` forces the scenario_execution_ros runner regardless of PATH
detection, threaded to the container entrypoint as SCENARIO_MODE (local compose
and Kubernetes backends). This is needed when a SimulationInterface must run
alongside ROS behaviours, so the ROS runner (which provides rclpy) is used and
ticks the SimulationInterface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant