- Continuation from hands-on exercise
- Based on the work done during lecture on the example
15_pick_and_place.ghxexplore different sequences of place frames - Store all the trajectories (pick+move+place) for at least 8 elements in a JSON file, use
compas.json_dumpto keep data type information
More about serialization: https://compas.dev/compas/latest/tutorial/serialization.html
Use the example file 15_pick_and_place.ghx as starting point.
-
Make sure you have forked this repository already, if not, check assignment submission instructions in lecture 02.
-
Make sure your local clone is up to date on the
mainbranch(compas-fs2021) git checkout main (compas-fs2021) git pull origin -
Use a branch called
assignment-04for this week's assignment(compas-fs2021) git checkout -b assignment-04 (compas-fs2021) git push -u assignments assignment-04 -
Create a folder with your name and last name, eg.
elvis_presley(make sure it is inside the current assignment folder) -
Copy example
15_pick_and_place.ghxand paste it into your folder. -
Solve the coding assignment and commit
(How do I commit?)
Usually, commits are done from a visual client or VS code, but you can also commit your changes from the command line:
(compas-fs2021) git add lecture_05/assignment_04/elvis_presley/\* && git commit -m "hello world" -
Once you're ready to submit, push the changes:
(compas-fs2021) git push assignments -
And create a pull request (What's a pull request?)
- Open your browser and go to your fork
- Create the pull request clicking
Compare & pull requestand follow the instructions

