<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Several things could happen:<br>
<br>
The logger consumes too much time to get out the images, caused by
a slow hdd.<br>
Try to increase the priority level of the pioneer task within your
deployment to make this more urgent from the point of scheduling.<br>
<br>
Matthias<br>
<br>
P.S. i assume you task is periodic<br>
<br>
On 16.12.2013 16:17, Christian Rauch wrote:<br>
</div>
<blockquote cite="mid:52AF1998.7060105@dfki.de" type="cite">Hi,
<br>
<br>
I am using the aria task within syskit as a device which is
supposed to
<br>
be called every 100ms. The aria task uses an additional thread
provided by the aria driver to communicate with the robot.
<br>
<br>
If I run that task from the syskit shell without additional
sensors the
<br>
updateHook gets called as expected. If I add one or more cameras
<br>
(camera_ids) with loggers it happens that the updateHook gets
stuck for some time:
<br>
<br>
{{{
<br>
[DEBUG] - aria::updateHook at: 1386784751.580.629
<br>
[DEBUG] - aria::updateHook at: 1386784751.680.668
<br>
[DEBUG] - aria::updateHook at: 1386784751.780.542
<br>
ArRobotPacketReceiver::receivePacket: bad packet, bad checksum
<br>
Warning: Task 'Packet Handler' took 1213 ms to run (longer than
the 250
<br>
warning time)
<br>
Warning: ArRobot sync tasks too long at 1213 ms, (100 ms normal
250 ms
<br>
warning)
<br>
[DEBUG] - aria::updateHook at: 1386784753.673.374
<br>
[DEBUG] - aria::updateHook at: 1386784753.677.372
<br>
[DEBUG] - aria::updateHook at: 1386784753.681.379
<br>
[DEBUG] - aria::updateHook at: 1386784753.685.211
<br>
[DEBUG] - aria::updateHook at: 1386784753.689.226
<br>
[DEBUG] - aria::updateHook at: 1386784753.697.023
<br>
[DEBUG] - aria::updateHook at: 1386784753.701.405
<br>
[DEBUG] - aria::updateHook at: 1386784753.705.386
<br>
[DEBUG] - aria::updateHook at: 1386784753.709.383
<br>
[DEBUG] - aria::updateHook at: 1386784753.713.216
<br>
[DEBUG] - aria::updateHook at: 1386784753.717.292
<br>
[DEBUG] - aria::updateHook at: 1386784753.721.253
<br>
[DEBUG] - aria::updateHook at: 1386784753.725.392
<br>
[DEBUG] - aria::updateHook at: 1386784753.729.400
<br>
[DEBUG] - aria::updateHook at: 1386784753.733.392
<br>
ArRobotPacketReceiver::receivePacket: bad packet, bad checksum
<br>
[DEBUG] - aria::updateHook at: 1386784753.737.227
<br>
[DEBUG] - aria::updateHook at: 1386784753.741.226
<br>
[DEBUG] - aria::updateHook at: 1386784753.745.274
<br>
[DEBUG] - aria::updateHook at: 1386784753.749.305
<br>
[DEBUG] - aria::updateHook at: 1386784753.781.249
<br>
[DEBUG] - aria::updateHook at: 1386784753.881.453
<br>
[DEBUG] - aria::updateHook at: 1386784753.981.492
<br>
[DEBUG] - aria::updateHook at: 1386784754.081.523
<br>
[DEBUG] - aria::updateHook at: 1386784754.181.392
<br>
[DEBUG] - aria::updateHook at: 1386784754.281.428
<br>
[DEBUG] - aria::updateHook at: 1386784754.381.462
<br>
}}}
<br>
<br>
<br>
For some reason this problem does no longer occur as soon as the
camera
<br>
loggers are stopped. It also does not occur when the aria Task is
<br>
started outside of syskit by using the default deployment and the
<br>
TaskInspector or the orocos.rb API.
<br>
<br>
It looks like the whole task is blocked somehow (the updateHook is
not
<br>
really taking that much processing time).
<br>
Any ideas where this might come from and why this only occurs when
running both tasks with loggers in syskit?
<br>
<br>
Regards,
<br>
Christian
<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rock-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rock-dev@dfki.de">Rock-dev@dfki.de</a>
<a class="moz-txt-link-freetext" href="http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev">http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dipl.-Inf. Matthias Goldhoorn
Space and Underwater Robotic
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 1
28359 Bremen, Germany
Zentrale: +49 421 178 45-6611
Besuchsadresse der Nebengeschäftstelle:
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: +49 421 178 45-4193
Empfang: +49 421 178 45-6600
Fax: +49 421 178 45-4150
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:matthias.goldhoorn@informatik.uni-bremen.de">matthias.goldhoorn@informatik.uni-bremen.de</a>
Weitere Informationen: <a class="moz-txt-link-freetext" href="http://www.informatik.uni-bremen.de/robotik">http://www.informatik.uni-bremen.de/robotik</a></pre>
</body>
</html>