You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the creation of template.yaml is complete, please also terminate the target ROS 2 application.
195
204
205
+
The `template.yaml` file includes captured hardware information from the system (CPU details retrieved via `lscpu`). This information will be used for validation when loading the configuration file to ensure compatibility with the target system.
206
+
196
207
### Step4: Edit yaml file for scheduler configuration
197
208
Change the file name and edit to configure each callback group.
198
209
```bash
@@ -218,12 +229,21 @@ Note that if the target ROS 2 application is operating with a specific ROS_DOMAI
Immediately after launching the configurator node, it will print the settings and then wait for the target ROS 2 application to start running as follows.
232
+
Immediately after launching the configurator node, it will validate the hardware configuration. The configurator compares the hardware information stored in the configuration file against the current system's hardware details. If there are any mismatches (such as different CPU family or model), the configurator will report an error like:
233
+
```
234
+
[ERROR] Hardware validation failed with the following mismatches:
235
+
- CPU family: expected '5', got '6'
236
+
```
237
+
This validation ensures that the scheduler configuration is applied only on compatible hardware to prevent potential performance or stability issues.
238
+
239
+
After successful validation, the configurator will print the settings and then wait for the target ROS 2 application to start running as follows.
In this state, when you launch the target ROS 2 application, the configurator node's window will display the message `Apply sched deadline?` and wait as below.
226
-
The entries above the waiting message each show the callback group ID and OS thread ID information received from the ROS 2 application.
243
+
In this state, when you launch the target ROS 2 application, the configurator node will receive callback group information from the application.
244
+
The entries in the configurator window show the callback group ID and OS thread ID information received from the ROS 2 application.
245
+
246
+
If your configuration file contains callback groups with the `SCHED_DEADLINE` policy, the configurator node's window will display the message `Apply sched deadline?` and wait as shown below. If no `SCHED_DEADLINE` configurations are present, this prompt will be skipped automatically.
0 commit comments