Ugo, <br>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.  <br>

<br>Tully<br><br><div class="gmail_quote">On Fri, Apr 16, 2010 at 9:01 AM, Ugo Cupcic <span dir="ltr"><<a href="mailto:ugo@shadowrobot.com">ugo@shadowrobot.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Ok, thanks a lot :) I'm eternally amazed by the ROS capabilities and its<br>
team availability and support!<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Ugo<br>
</font><div><div></div><div class="h5"><br>
On 16/04/10 16:47, Blaise Gassend wrote:<br>
> Ugo,<br>
><br>
> There is currently no way, but that sounds like a pretty useful idea. I<br>
> have created a ticket to track it.<br>
><br>
> <a href="https://code.ros.org/trac/ros-pkg/ticket/3999" target="_blank">https://code.ros.org/trac/ros-pkg/ticket/3999</a><br>
><br>
> Blaise<br>
><br>
> On Fri, 2010-04-16 at 16:06 +0100, Ugo Cupcic wrote:<br>
><br>
>> Hi,<br>
>><br>
>> Is there a way of highlighting a keyvalue in robot monitor?<br>
>><br>
>> It would be really nice to be able to highlight were the WARNING / ERROR<br>
>> is coming from in the list of keyvalues.<br>
>><br>
>> Or maybe I'm not using the diagnostics as they are supposed to be used?<br>
>> I have one DiagnosticStatus message per motor, containing lots of data<br>
>> in the keyvalues. When one or more of those values are out of range, I<br>
>> then set my DiagnosticStatus.level to 1 or 2 accordingly, but I'm not<br>
>> able to highlight which value is wrong in the list of keyvalues.<br>
>> The DiagnosticStatus messages for all the motors are then encapsulated<br>
>> in a DiagnosticArray.<br>
>><br>
>> Cheers,<br>
>><br>
>> Ugo<br>
>><br>
>><br>
><br>
> _______________________________________________<br>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
><br>
<br>
</div></div><div class="im">--<br>
Ugo Cupcic         |  Shadow Robot Company | <a href="mailto:ugo@shadowrobot.com">ugo@shadowrobot.com</a><br>
Software Engineer      251 Liverpool Road<br>
need a Hand?           London  N1 1LX       | +44 20 7700 2487<br>
<a href="http://www.shadowrobot.com/hand/" target="_blank">http://www.shadowrobot.com/hand/</a>              @shadowrobot<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>