diff --git a/examples/CCpp/src/DoorLock/DoorLock.lf b/examples/CCpp/DoorLock/src/DoorLock.lf similarity index 100% rename from examples/CCpp/src/DoorLock/DoorLock.lf rename to examples/CCpp/DoorLock/src/DoorLock.lf diff --git a/examples/CCpp/src/DoorLock/include/types.h b/examples/CCpp/DoorLock/src/include/types.h similarity index 100% rename from examples/CCpp/src/DoorLock/include/types.h rename to examples/CCpp/DoorLock/src/include/types.h diff --git a/examples/CCpp/src/DoorLock/lib/AuthSim.lf b/examples/CCpp/DoorLock/src/lib/AuthSim.lf similarity index 100% rename from examples/CCpp/src/DoorLock/lib/AuthSim.lf rename to examples/CCpp/DoorLock/src/lib/AuthSim.lf diff --git a/examples/CCpp/src/DoorLock/lib/PropagationDelaySim.lf b/examples/CCpp/DoorLock/src/lib/PropagationDelaySim.lf similarity index 100% rename from examples/CCpp/src/DoorLock/lib/PropagationDelaySim.lf rename to examples/CCpp/DoorLock/src/lib/PropagationDelaySim.lf diff --git a/examples/CCpp/src/DoorLock/lib/UserInteraction.lf b/examples/CCpp/DoorLock/src/lib/UserInteraction.lf similarity index 100% rename from examples/CCpp/src/DoorLock/lib/UserInteraction.lf rename to examples/CCpp/DoorLock/src/lib/UserInteraction.lf diff --git a/examples/CCpp/src/README.md b/examples/CCpp/README.md similarity index 100% rename from examples/CCpp/src/README.md rename to examples/CCpp/README.md diff --git a/examples/CCpp/src/ROS/README.md b/examples/CCpp/ROS/README.md similarity index 67% rename from examples/CCpp/src/ROS/README.md rename to examples/CCpp/ROS/README.md index f0cba637..b8e5c7f3 100644 --- a/examples/CCpp/src/ROS/README.md +++ b/examples/CCpp/ROS/README.md @@ -7,9 +7,9 @@ The examples have been tested on Foxy on Ubuntu 20.04 LTS, Humble on Ubuntu 22.0 To see instructions on how to set up each example, refer to the files themselves. Here is an overview of the current examples: -- ROSBuiltInSerialization: A two reactor sender-receiver example that demonstrates the built-in capability to serialize +- `src/ROSBuiltInSerialization.lf`: A two reactor sender-receiver example that demonstrates the built-in capability to serialize and deserialize ROS 2 messages in federated programs using the CCpp target. -- ROSSerialization: Similar to ROSBuiltInSerialization but the inner-workings of serialization and deserialization are +- `src/ROSSerialization.lf`: Similar to ROSBuiltInSerialization but the inner-workings of serialization and deserialization are exposed in reaction bodies. diff --git a/examples/CCpp/src/ROS/ROSBuiltInSerialization.lf b/examples/CCpp/ROS/src/ROSBuiltInSerialization.lf similarity index 100% rename from examples/CCpp/src/ROS/ROSBuiltInSerialization.lf rename to examples/CCpp/ROS/src/ROSBuiltInSerialization.lf diff --git a/examples/CCpp/src/ROS/ROSSerialization.lf b/examples/CCpp/ROS/src/ROSSerialization.lf similarity index 100% rename from examples/CCpp/src/ROS/ROSSerialization.lf rename to examples/CCpp/ROS/src/ROSSerialization.lf diff --git a/examples/CCpp/src/ROS/include/CMakeListsExtension.txt b/examples/CCpp/ROS/src/include/CMakeListsExtension.txt similarity index 100% rename from examples/CCpp/src/ROS/include/CMakeListsExtension.txt rename to examples/CCpp/ROS/src/include/CMakeListsExtension.txt