<div dir="ltr"><div style>Hi guys,</div><div style><br></div><div style>maybe already discussed, but I have not found anything until now.</div><div style><br></div><div style>1. How can I use default deployments within syskit?</div>
<div style>Is there another way than doing this:</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style>Syskit.conf.use_deployment 'orogen_default_trajectory_follower__Task' </div></blockquote>
<div style><br></div><div style>2. How can I use the dynamic ports of the MarsActuators module?</div><div style>I have to export the dynamic ports which are created by the MarsActuators dispatch function.</div><div style>
The dispatch function has to be called before the configureHook, so I do this within</div><div style>the models/orogen/simulation.rb using 'sbot_actuators' for actuator_set_name:</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div style><div style>class Simulation::MarsActuator</div></div><div style><div style> argument :actuator_set_name</div></div><div style><div style> argument :indices</div></div><div style><div style> </div></div>
<div style><div style> def configure</div></div><div style><div style> if not orocos_task.dispatch(self.actuator_set_name, self.indices)</div></div><div style><div style> puts "Could not dispatch the actuator set #{self.actuator_set_name}"</div>
</div><div style><div style> end</div></div><div style><div style> super</div></div><div style><div style> end</div></div><div style><div style>end</div></div></blockquote><div style><br></div><div style>
Nevertheless, the export </div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style>export sbot_actuator_child.cmd_sbot_actuators_port</div></blockquote>fails with<div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
= port cmd_sbot_actuators of child sbot_actuator of Simulation::Spacebot does not exist<br>| Available ports are:<br>| Simulation::MarsActuator<br>| <br>| (out)state[/int32_t]<br>= Backtrace<br>| ./models/blueprints/spacebot_simulation.rb:31:in `<class:Spacebot>',<br>
| ./models/blueprints/spacebot_simulation.rb:9:in `<module:Simulation>',<br>| ./models/blueprints/spacebot_simulation.rb:7:in `<top (required)>',<br>| /opt/software_spacebot/tools/syskit/bin/syskit:16:in `<main>'<br>
= </blockquote><div><br></div>Best regards,</div><div>Stefan<br clear="all"><div style><br></div>-- <br> Dipl.-Inf. Stefan Haase<br> Space Robotics and Animation<br> <br>Standort Bremen:<br> DFKI GmbH<br> Robotics Innovation Center<br>
Robert-Hooke-Straße 5<br> 28359 Bremen, Germany<br> <br> Phone: +49 (0)421 178 45-4108<br> Fax: +49 (0)421 178 45-4150<br> E-Mail: <a href="mailto:Stefan.Haase@dfki.de" target="_blank">Stefan.Haase@dfki.de</a><br> <br>
Weitere Informationen: <a href="http://www.dfki.de/robotik" target="_blank">http://www.dfki.de/robotik</a><br> -----------------------------------------------------------------------<br> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH<br>
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern<br> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster <br> (Vorsitzender) Dr. Walter Olthoff<br> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes<br>
Amtsgericht Kaiserslautern, HRB 2313<br> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)<br> USt-Id.Nr.: DE 148646973<br> Steuernummer: 19/673/0060/3<br> -----------------------------------------------------------------------
</div></div>