From 8cda4a2c1c6d37fc83268c6f2107ff2f842144f3 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Fri, 21 Jul 2023 15:57:14 -0700 Subject: [PATCH] Fix #43 --- examples/CCpp/{src/DoorLock => DoorLock/src}/DoorLock.lf | 0 examples/CCpp/{src/DoorLock => DoorLock/src}/include/types.h | 0 examples/CCpp/{src/DoorLock => DoorLock/src}/lib/AuthSim.lf | 0 .../{src/DoorLock => DoorLock/src}/lib/PropagationDelaySim.lf | 0 .../{src/DoorLock => DoorLock/src}/lib/UserInteraction.lf | 0 examples/CCpp/{src => }/README.md | 0 examples/CCpp/{src => }/ROS/README.md | 4 ++-- examples/CCpp/{src/ROS => ROS/src}/ROSBuiltInSerialization.lf | 0 examples/CCpp/{src/ROS => ROS/src}/ROSSerialization.lf | 0 .../CCpp/{src/ROS => ROS/src}/include/CMakeListsExtension.txt | 0 10 files changed, 2 insertions(+), 2 deletions(-) rename examples/CCpp/{src/DoorLock => DoorLock/src}/DoorLock.lf (100%) rename examples/CCpp/{src/DoorLock => DoorLock/src}/include/types.h (100%) rename examples/CCpp/{src/DoorLock => DoorLock/src}/lib/AuthSim.lf (100%) rename examples/CCpp/{src/DoorLock => DoorLock/src}/lib/PropagationDelaySim.lf (100%) rename examples/CCpp/{src/DoorLock => DoorLock/src}/lib/UserInteraction.lf (100%) rename examples/CCpp/{src => }/README.md (100%) rename examples/CCpp/{src => }/ROS/README.md (67%) rename examples/CCpp/{src/ROS => ROS/src}/ROSBuiltInSerialization.lf (100%) rename examples/CCpp/{src/ROS => ROS/src}/ROSSerialization.lf (100%) rename examples/CCpp/{src/ROS => ROS/src}/include/CMakeListsExtension.txt (100%) 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