<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    i've started porting our supervision from AVALON to the new bundle
    structure without using any dependencies to the bundles rock and
    rock.dfki.<br>
    <br>
    I'm currently orientating on the help of the following resources:<br>
    -
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-15">
    <a href="http://rock.opendfki.de/wiki/WikiStart/Standards/RG7">http://rock.opendfki.de/wiki/WikiStart/Standards/RG7</a><br>
    - imoby/bundles on spacegit (dfki)<br>
    -
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-15">
    <a
href="http://rock-robotics.org/documentation/system_management_tutorials/100_moving_to_bundles.html">http://rock-robotics.org/documentation/system_management_tutorials/100_moving_to_bundles.html</a><br>
    <br>
    I've copied all files to the new locations provided by the bundle
    standard and <br>
    $rock-roby instanciate -r simulation simulation &lt;def&gt;<br>
    $rock-roby instanciate -r avalon avalon &lt;def&gt;<br>
    outputs correct component networks i desire for AVALON.<br>
    <br>
    But running a specific system (e.g. simulation) via<br>
    $rock-roby run simulation <br>
    <br>
    results in some errors i would like to forward to this mailing list
    i currently observed:<br>
    (avalon bundle is selected)<br>
    <br>
    1) config/deployment/main.rb:<br>
    <br>
    wall_device = device('sonar').use_conf('default',
    'wall_servoing')                                                                                                                                                                        
    <br>
    define('wall',
    Cmp::VisualServoing.use(Cmp::WallDetector.use(wall_device)))               
    <br>
    <br>
    = sonar does not refer to a known task or device (known tasks: ;
    known devices: ) (Orocos::RobyPlugin::SpecError)<br>
    = Backtrace<br>
    |
    /home/chris/repos/avalon_next/tools/orocos.rb/lib/orocos/roby/engine.rb:375:in
    `resolve_name',<br>
    |  
    /home/chris/repos/avalon_next/tools/orocos.rb/lib/orocos/roby/engine.rb:375:in
    `resolve_name',<br>
    |  
    /home/chris/repos/avalon_next/tools/orocos.rb/lib/orocos/roby/engine.rb:375:in
    `resolve_name',<br>
    |  
    /home/chris/repos/avalon_next/tools/orocos.rb/lib/orocos/roby/engine.rb:448:in
    `device',<br>
    |  
    /home/chris/repos/avalon_next/tools/orocos.rb/lib/orocos/roby/engine.rb:2104:in
    `send',<br>
    |  
    /home/chris/repos/avalon_next/tools/orocos.rb/lib/orocos/roby/engine.rb:2104:in
    `method_missing',<br>
    |   main.rb:26,<br>
    |   simulation.rb:1,<br>
    |   /home/chris/repos/avalon_next/tools/orocos.rb/bin/rock-roby:9<br>
    <br>
    its seems the file config/simulation.rb is not loaded with the
    definition:<br>
    Robot.devices do<br>
       device(Dev::MarsSonar, :as =&gt; 'sonar', :using =&gt;
    AvalonSimulation::SonarTop).period(0.1)       <br>
    end<br>
    <br>
    2) Another problem occurs if i temporarely remove the device
    reconfiguration for the sonar:<br>
    <br>
    = uninitialized constant Orocos::RobyPlugin::AvalonSimulation
    (NameError)<br>
    = Backtrace<br>
    | simulation.rb:11,<br>
    |   simulation.rb:11,<br>
    |   /home/chris/repos/avalon_next/tools/orocos.rb/bin/rock-roby:9<br>
    = <br>
    <br>
    with<br>
    <br>
    use Srv::Orientation =&gt; AvalonSimulation::StateEstimator    <br>
    <br>
    It seems Constants for the Tasks are not available in the file
    config/deployment/simulation.rb<br>
    <br>
    <br>
    Did i forget an important argument for rock-roby or a special
    configuration flag in the bundle structure?<br>
    <br>
    For more details, you can look to the complete bundle here:<br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-15">
    <a href="http://spacegit.dfki.uni-bremen.de/avalon/bundle">http://spacegit.dfki.uni-bremen.de/avalon/bundle</a><br>
    <br>
    <br>
    Chris<br>
    <br>
  </body>
</html>