diff --git a/UML/full_sequence.puml b/UML/full_sequence.puml new file mode 100644 index 0000000..519b06a --- /dev/null +++ b/UML/full_sequence.puml @@ -0,0 +1,25 @@ +@startuml +'https://plantuml.com/sequence-diagram + +actor User as usr +participant can_message as can +control kartculator as kc +queue XF as xf +entity Drive as drive +entity Steering as steering + +usr -\ xf : set message "move" +xf -> can : new value on joystick + +== If X axis change value == +can -> kc : calculate new position +kc -> can : build message +can -> steering : set new position + +== If Y axis change value == +can -> kc : calculate new torque +kc -> can : build message +can -> xf : set message "torque" +xf -> drive : set new torque + +@enduml \ No newline at end of file diff --git a/UML/pdf-png/full_sequence.png b/UML/pdf-png/full_sequence.png new file mode 100644 index 0000000..3c1dbca Binary files /dev/null and b/UML/pdf-png/full_sequence.png differ