My bad, I needed to add the checkTest() function to tell self_test it's ok to run the test now. <br><br><div class="gmail_quote">On Thu, May 12, 2011 at 4:37 PM, Ugo Cupcic <span dir="ltr"><<a href="mailto:ugo@shadowrobot.com">ugo@shadowrobot.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div><br></div><div>I'm trying to add some self_test to my code but I'm having an issue: when I try to call the self_test service, it just hangs. </div>
<div><br></div><div>I tried this on the selftest_example in the self_test node: </div>
<div>  > rosrun self_test run_selftest /my_node/self_test</div><div><br><div>Failed to call service.</div><div><br></div><div>The /my_node/self_test is there though: </div><div><div> > rosservice info /my_node/self_test</div>

<div>Node: /my_node</div><div>URI: rosrpc://<a href="http://10.1.1.234:33971" target="_blank">10.1.1.234:33971</a></div><div>Type: diagnostic_msgs/SelfTest</div><div>Args: </div></div><div><br></div><div>Any ideas?</div>
<div><br></div><div>
Cheers,</div><div><br></div><div>Ugo</div><div><br></div>-- <br>Ugo Cupcic | Shadow Robot Company | <a href="mailto:ugo@shadowrobot.com" target="_blank">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>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Ugo Cupcic | Shadow Robot Company | <a href="mailto:ugo@shadowrobot.com" target="_blank">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>