-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Migration of playground configuration and broken examples fixed #58
Conversation
Co-authored-by: Marten Lohstroh <marten@berkeley.edu>
Would we be able to put together a docker config based on this for standalone desktop use as well? For the EECS149 class in the fall, it would be great to have this. Specifically, there are a bunch of Windows machines in the lab that are expected to run an Ubuntu VM. Maintenance of the VM image we've used has been painful and clunky... |
7902d0f
to
edaeb14
Compare
Looks like we could try using https://github.com/iximiuz/docker-to-linux or https://github.com/linka-cloud/d2vm for VM creation... Docker Desktop is capable of running Docker containers, but AFAIK not with a graphical shell. |
I think maybe running the scripts or simply let people run docker would suffice? I think with our current settings, the docker->vm route will bring us headache...... |
OK, let's forget about the VM for the time being and focus on getting the dependencies installed (see todo's above). |
👍 |
ROS2 took me a while, but then I realised maybe using distribution port (which is typically older) could also work with LF...... They won't be installed in |
324eca4
to
fdb2172
Compare
For I recommend moving this file to experiments, although this sounds a bit like cutting one's head off to cure headache 🤣 |
I think that classifying this as an experiment is accurate. We can always move it back. |
80ee05e
to
5167e0e
Compare
f9823f6
to
5167e0e
Compare
At this time, only one example fails to compile. CI will pass once lf-lang/lingua-franca#1907 has been merged. |
- Install cargo - Setup Crow - A comprehensive ROS2 setup that supports both distro port and official. (I'm unsure if LF will support the distro port) and lets user to choose which one they want - Added ROS2, libwebsockets-dev and mosquitto MQTT - Added switch to enable/disable installiation of ROS2 and network-related dependencies - Install libpaho-mqtt-dev - Setup bashrc so bash consoles can use it - Build libwebsocket from source so CMake does not complain Co-authored-by: Marten Lohstroh <marten@berkeley.edu>
…ables, and run ROS2 setup.
This commit: Moves non-experimental examples into a directory named "examples" Moves experimental examples into "experiments" Move Piano to "experiments" because it requires a lot of random dependencies Move migration guide to `experiments`
Fixed: - Traindoor.lf - MemoryHierachy.lf - Doorlock.lf - ROSSerialization.lf Co-authored-by: Peter Donovan <peterdonovan@berkeley.edu>
d75c87d
to
80316bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @axmmisaka! This looks like a great effort!
Fixes #53.
Things done:
setup-env.bash
setup-env.bash
setup-env.bash
examples
directorylibwebsockets
installation./C/src/browser-ui/WebSocket.lf
./CCpp/src/DoorLock/DoorLock.lf
./C/src/mqtt/*
requireslibpaho-mqtt-dev
./C/src/simulation/MemoryHierarchy.lf
needed to includeplatform.h
./examples/Cpp/ROS2/src/MinimalPublisher.lf
./examples/Cpp/ROS2/src/MinimalSubscriber.lf
./examples/C/src/train-door/TrainDoor.lf
./examples/CCpp/src/ROS/ROSSerialization.lf
./examples/C/src/rhythm/RhythmDistributedNoUI.lf
(If clock sync is on, link math reactor-c#252)Piano
toexperiments
ROS/MigrationGuide
toexperiments