]> rtime.felk.cvut.cz Git - eurobot/public.git/commit
cand: Fix bug with power alert handling.
authorMichal Vokac <vokac.m@gmail.com>
Fri, 14 Oct 2011 09:24:54 +0000 (10:24 +0100)
committerMichal Vokac <vokac.m@gmail.com>
Fri, 14 Oct 2011 11:18:18 +0000 (13:18 +0200)
commit906c678ef6ec665291c76c8f6944a65306ec9e3a
treeaafade960cf4fc7035880c6a87d66bd2ade6e27a
parentdf1580b03f5e6e07481fe4db81b7b509eab430e4
cand: Fix bug with power alert handling.

I think the previous version is wrong - PWR board sends CAN msgs when voltages are out of limits.
But CAN daemon do not receive and parse msgs with this alert ID.
Instead can daemon received alert msgs from ORTE and forwarded them to CAN.

Now I fixed this and alert msgs from PWR board are parsed and forwarded to ORTE.
src/cand/cand.cc