small fix on can sequence

This commit is contained in:
Rémi Heredero 2023-09-04 21:37:02 +02:00
parent 38b5f2d4e1
commit 6edca8bb82

View File

@ -4,8 +4,8 @@ actor CAN_BUS as bus
participant interrupt as ISR
queue XF as xf
participant ecan as ecan
participant can_interface as can
control can_message as msg
participant canInterface as can
control canMessageController as msg
bus -\\ ISR ++ : can message
@ -14,14 +14,14 @@ can -> ecan : read
ecan --> can : message
can -> xf : POST XF
destroy ISR
group clock xf [every 10ms]
xf o-> can : receiveCan
can -> msg : processIncome
group TICK XF
xf o-> can : receiveCan()
can -> msg : processIncoming()
msg -> can : create message
can -> xf : POST XF
end
group clock xf [every 10ms]
xf o-> can : sendCan
group TICK XF
xf o-> can : sendCan()
can -> ecan : write
ecan -\\ bus : can message
end