<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Dear Tully,<br>
<br>
Yes, I used the message field this way, but I thought it would be nice
to have some way of highlighting as it is a lot easier to read (and
quite easy to deploy). <br>
<br>
Cheers,<br>
<br>
Ugo<br>
<br>
On 16/04/10 18:22, Tully Foote wrote:
<blockquote
 cite="mid:z2nabda5fd11004161022v81a2ce7cwebdb4e979db6f94@mail.gmail.com"
 type="cite">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 moz-do-not-send="true"
 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 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 moz-do-not-send="true"
 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 moz-do-not-send="true" href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
> <a moz-do-not-send="true"
 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 moz-do-not-send="true"
 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 moz-do-not-send="true" href="http://www.shadowrobot.com/hand/"
 target="_blank">http://www.shadowrobot.com/hand/</a>            
 @shadowrobot<br>
    <br>
    <br>
_______________________________________________<br>
    </div>
    <div>
    <div class="h5">ros-users mailing list<br>
    <a moz-do-not-send="true" href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
    <a moz-do-not-send="true"
 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 moz-do-not-send="true" href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>
(650) 475-2827<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
ros-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a>
<a class="moz-txt-link-freetext" href="https://code.ros.org/mailman/listinfo/ros-users">https://code.ros.org/mailman/listinfo/ros-users</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Ugo Cupcic         |  Shadow Robot Company | <a class="moz-txt-link-abbreviated" href="mailto:ugo@shadowrobot.com">ugo@shadowrobot.com</a>
Software Engineer      251 Liverpool Road
need a Hand?           London  N1 1LX       | +44 20 7700 2487
<a class="moz-txt-link-freetext" href="http://www.shadowrobot.com/hand/">http://www.shadowrobot.com/hand/</a>              @shadowrobot 

</pre>
</body>
</html>