Ugo,
in the DiagnosticStatus message there is a string "message" field. In that
field we state fault modes in which the component is in. Although this
doesn't tell you which fields are out of range, it provides a way to
communicate what's wrong with the component. Our technique is for each
fault to append to the string so that if there are two errors, you will get
"ERROR1: helpful text 1, ERROR2: helpful info 2" as the "message" field for
the status.
Tully
On Fri, Apr 16, 2010 at 9:01 AM, Ugo Cupcic <
ugo@shadowrobot.com> wrote:
> Ok, thanks a lot :) I'm eternally amazed by the ROS capabilities and its
> team availability and support!
>
> Cheers,
>
> Ugo
>
> On 16/04/10 16:47, Blaise Gassend wrote:
> > Ugo,
> >
> > There is currently no way, but that sounds like a pretty useful idea. I
> > have created a ticket to track it.
> >
> > https://code.ros.org/trac/ros-pkg/ticket/3999
> >
> > Blaise
> >
> > On Fri, 2010-04-16 at 16:06 +0100, Ugo Cupcic wrote:
> >
> >> Hi,
> >>
> >> Is there a way of highlighting a keyvalue in robot monitor?
> >>
> >> It would be really nice to be able to highlight were the WARNING / ERROR
> >> is coming from in the list of keyvalues.
> >>
> >> Or maybe I'm not using the diagnostics as they are supposed to be used?
> >> I have one DiagnosticStatus message per motor, containing lots of data
> >> in the keyvalues. When one or more of those values are out of range, I
> >> then set my DiagnosticStatus.level to 1 or 2 accordingly, but I'm not
> >> able to highlight which value is wrong in the list of keyvalues.
> >> The DiagnosticStatus messages for all the motors are then encapsulated
> >> in a DiagnosticArray.
> >>
> >> Cheers,
> >>
> >> Ugo
> >>
> >>
> >
> > _______________________________________________
> > ros-users mailing list
> > ros-users@code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> >
>
> --
> Ugo Cupcic | Shadow Robot Company | ugo@shadowrobot.com
> Software Engineer 251 Liverpool Road
> need a Hand? London N1 1LX | +44 20 7700 2487
> http://www.shadowrobot.com/hand/ @shadowrobot
>
>
> _______________________________________________
> ros-users mailing list
> ros-users@code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
--
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote@willowgarage.com
(650) 475-2827