-
Notifications
You must be signed in to change notification settings - Fork 0
2023 Notes
Labcegor is the base repository for the Lab. Please create a new branch for each year of the Lab session eg. for 2023 it is Labcegor_2023WS.
Similarly, each student working on that year's Labcegor branch should create individual work branches using their initials from that branch eg. adas/labcegor.
EXAMPLE:
I want to create a "feature branch" from the Labcegor_2023WS branch.
Currently on the branch Labcegor_2023WS, I do:
git checkout -b adas/myfeature Labcegor_2023WS
... (some work)
git commit -am "Domain: my first feature"
git push origin adas/myfeature
Please use meaningful comments for each commit
Please use the reviewer system for every pull request that is made.
change the branch in the ros2-clips-executive to tviehmann/lookup-executor-by-node-id
update the labcegor branch to the latest changes
build both projects again
open the clips_executive.yaml file in the labcegor package (params directory) and search for the value of clips-dir. It contains a path that you need to adjust to your setup.
For Protobuf communication, the code that interfaces between clips and protobuf is here:
https://github.com/fawkesrobotics/clips-protobuf/tree/dswoboda/ros2-cx-adaptions/src
The old agent is a good starting point to check out how to interact with the refbox, in refbox-worldmodel.clp we have the receiver side, which takes information from the refbox:
In refbox-actions.clp we have code that sends messages to the refbox:
If you want to receive protobuf messages, you will need to launch the refbox:
One terminal needs to run the refbox:
cd ~/rcll-refbox/bin
./llsf-refbox --cfg-mps mps/mockup_mps.yaml
And another terminal is for the frontend:
cd ~/rcll-refbox-frontend/
npm run serve
Once these are running, go to the frontend website, set a team, go to the setup phase, and then switch to production phase.
change the branch in the ros2-clips-executive to tviehmann/dummy_skiller
update the labcegor branch to the latest changes
build both projects again
There is an updated wiki page in the ros2-clips-executive repository, it might be useful: https://github.com/fawkesrobotics/ros2-clips-executive/wiki/Setting-up-a-new-Agent
The list of clips files to load from are located here: https://github.com/fawkesrobotics/ros2-clips-executive/tree/master/cx_clips_executive/clips/core
Please check out the branch tviehmann/mongodb-storage-cleanup
in the refbox and then build it again (make -j
in main directory).
Also, make sure your refbox-frontend
is on the dev branch and the latest changes are pulled. To build the frontend, run npm run build
or yarn run build
, depending on which bundler you use.