add full sequence

This commit is contained in:
Rémi Heredero 2023-09-13 13:01:21 +02:00
parent 3777d8bd12
commit df63ece978
2 changed files with 25 additions and 0 deletions

25
UML/full_sequence.puml Normal file
View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB