[Rock-dev] R: Re: Setting up controller using Ruby
gprizzi at tin.it
gprizzi at tin.it
Mon Feb 14 17:31:10 CET 2011
Dear Sir,
I have modified the file myRobot.rb located in /root/rock/robyRosetta/tasks/compositions/
The content of the file is the following:
using_task_library 'rosetta'
composition 'Controller' do
add Rosetta::LabcommToOrocos::Task, :as => 'lc'
add Rosetta::IntentionEstimation::Task, :as => 'est'
autoconnect
end
when I run the command :
/root/rock/robyRosetta/scripts/orocos/system_model -o svg -r myRobot.rb
I get the following error
root at UBU1004:~/rock/robyRosetta# /root/rock/robyRosetta/scripts/orocos/system_model -o svg -r myRobot.rb
= uninitialized constant Orocos::RobyPlugin::Rosetta::LabcommToOrocos::Task (NameError)
= Backtrace
| tasks/compositions/myRobot.rb:3,
| tasks/compositions/myRobot.rb:3,
| tasks/compositions/myRobot.rb:2,
| /root/rock/robyRosetta/scripts/orocos/system_model:3
=
I am missing something!
The documentation about simple composition appears to use a different syntax to describe the composition.
http://www.rock-robotics.org/system/simple_compositions.html
Thank you in advance.
Gianpaolo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/mailman/cgi-bin/private/rock-dev/attachments/20110214/83c7b28a/attachment.htm
More information about the Rock-dev
mailing list