[Rock-dev] AVALON: asv.rb

Malte Römmermann malte.roemmermann at dfki.de
Tue Jul 10 16:42:39 CEST 2012


Hey,

we removed the field actual_pos and actual_rot from the nodeStruct in the master branch of the simulation. Thats the reason why the avalon_plugin is not compiling. You can remove the use of actual_pos/rot or replace it by pos/rot.

I am sorry for the problem!
Who else is responsible for the avalon_simulation and can do the fix?

Best,
  Malte


Am 10.07.2012 um 09:50 schrieb Alexander Duda:

> On 07/09/2012 07:17 PM, Satia Herfert wrote:
>> Hey,
>> 
>> ich habe beim autoproj build (nach vorherigem autoproj update) die folgenden Fehler gehabt:
>> 
>> Build failed
>> 5 errors occured
>> (0) avalon/orogen/avalonBack: failed in orogen phase
>>     'ruby1.8 /home/satia/AVALON/tools/orogen/bin/orogen --corba --extended-states --parallel-build=2 --transports=corba,mqueue,typelib --type-export-policy=used avalonBack.orogen' returned status 1
>>     see /home/satia/AVALON/install/log/avalon/orogen/avalonBack-orogen.log for details
>>     last 10 lines are:
>> 
>>       'XDG_CURRENT_DESKTOP'='Unity'
>>       'XDG_DATA_DIRS'='/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/'
>>       'XDG_SEAT_PATH'='/org/freedesktop/DisplayManager/Seat0'
>>       'XDG_SESSION_COOKIE'='093f85a996d92fffb801ef780000000e-1341829976.419664-1468512888'
>>       'XDG_SESSION_PATH'='/org/freedesktop/DisplayManager/Session0'
>>       '_'='/home/satia/AVALON/.gems/bin/autoproj'
>>     
>>     Mon Jul 09 18:55:39 +0200 2012: running
>>         ruby1.8 /home/satia/AVALON/tools/orogen/bin/orogen --corba --extended-states --parallel-build=2 --transports=corba,mqueue,typelib --type-export-policy=used avalonBack.orogen
>>     avalonBack.orogen:22: no task library named 'modem_can' is available
>> 
>> (1) avalon/orogen/modemCanReader: failed in build phase
>>     'make -j2' returned status 2
>>     see /home/satia/AVALON/install/log/avalon/orogen/modemCanReader-build.log for details
>>     last 10 lines are:
>> 
>>     [ 28%] Built target modem_can-transport-typelib-gnulinux
>>     [ 64%] Built target modem_can-transport-corba-gnulinux
>>     [ 71%] Building CXX object tasks/CMakeFiles/modem_can-tasks-gnulinux.dir/Task.cpp.o
>>     [ 78%] Built target modem_can-transport-mqueue-gnulinux
>>     /home/satia/AVALON/avalon/orogen/modemCanReader/tasks/Task.cpp: In Elementfunktion »virtual void modem_can::Task::updateHook()«:
>>     /home/satia/AVALON/avalon/orogen/modemCanReader/tasks/Task.cpp:78:129: Fehler: Umwandlung von »canbus::Message« in nicht-skalaren Typen »std::vector<canbus::Message>« angefordert
>>     /home/satia/AVALON/avalon/orogen/modemCanReader/tasks/Task.cpp:79:33: Warnung: Vergleich zwischen vorzeichenbehafteten und vorzeichenlosen Ganzzahlausdrücken [-Wsign-compare]
>>     make[2]: *** [tasks/CMakeFiles/modem_can-tasks-gnulinux.dir/Task.cpp.o] Fehler 1
>>     make[1]: *** [tasks/CMakeFiles/modem_can-tasks-gnulinux.dir/all] Fehler 2
>>     make: *** [all] Fehler 2
>> 
>> (2) simulation/orogen/avalon_simulation: failed in build phase
>>     'make -j2' returned status 2
>>     see /home/satia/AVALON/install/log/simulation/orogen/avalon_simulation-build.log for details
>>     last 10 lines are:
>> 
>>     [ 70%] Building CXX object tasks/CMakeFiles/avalon_simulation-tasks-gnulinux.dir/WhiteLight.cpp.o
>>     [ 72%] Building CXX object tasks/CMakeFiles/avalon_simulation-tasks-gnulinux.dir/Simulation.cpp.o
>>     /home/satia/AVALON/simulation/orogen/avalon_simulation/tasks/WhiteLight.cpp: In Elementfunktion »virtual void avalon_simulation::WhiteLight::switchLight()«:
>>     /home/satia/AVALON/simulation/orogen/avalon_simulation/tasks/WhiteLight.cpp:25:36: Fehler: »class AvalonPlugin« hat kein Element namens »switchWhiteLight«
>>     /home/satia/AVALON/simulation/orogen/avalon_simulation/tasks/WhiteLight.cpp: In Elementfunktion »virtual void avalon_simulation::WhiteLight::updateHook()«:
>>     /home/satia/AVALON/simulation/orogen/avalon_simulation/tasks/WhiteLight.cpp:63:42: Fehler: »class AvalonPlugin« hat kein Element namens »switchWhiteLight«
>>     /home/satia/AVALON/simulation/orogen/avalon_simulation/tasks/WhiteLight.cpp:70:42: Fehler: »class AvalonPlugin« hat kein Element namens »switchWhiteLight«
>>     make[2]: *** [tasks/CMakeFiles/avalon_simulation-tasks-gnulinux.dir/WhiteLight.cpp.o] Fehler 1
>>     make[1]: *** [tasks/CMakeFiles/avalon_simulation-tasks-gnulinux.dir/all] Fehler 2
>>     make: *** [all] Fehler 2
>> 
>> (3) simulation/mars-plugins/avalon-plugin: failed in build phase
>>     'make -j2' returned status 2
>>     see /home/satia/AVALON/install/log/simulation/mars-plugins/avalon-plugin-build.log for details
>>     last 10 lines are:
>> 
>>     [ 83%] Building CXX object CMakeFiles/avalon-plugin.dir/AvalonWidget.cpp.o
>>     /home/satia/AVALON/simulation/mars-plugins/avalon-plugin/AvalonPlugin.cpp: In Elementfunktion »virtual void AvalonPlugin::init()«:
>>     /home/satia/AVALON/simulation/mars-plugins/avalon-plugin/AvalonPlugin.cpp:139:59: Warnung: »virtual int SimulatorInterface::loadScene(const string&, bool, int, const string&)« ist veraltet (deklariert bei /home/satia/AVALON/install/include/mars_sim/SimulatorInterface.h:70) [-Wdeprecated-declarations]
>>     /home/satia/AVALON/simulation/mars-plugins/avalon-plugin/AvalonPlugin.cpp:153:37: Warnung: Format »%i« erwartet Argumenttyp »int«, aber Argument 2 hat Typ »long unsigned int« [-Wformat]
>>     /home/satia/AVALON/simulation/mars-plugins/avalon-plugin/AvalonPlugin.cpp: In Elementfunktion »virtual void AvalonPlugin::reset()«:
>>     /home/satia/AVALON/simulation/mars-plugins/avalon-plugin/AvalonPlugin.cpp:404:16: Fehler: »struct nodeStruct« hat kein Element namens »actual_pos«
>>     /home/satia/AVALON/simulation/mars-plugins/avalon-plugin/AvalonPlugin.cpp:405:16: Fehler: »struct nodeStruct« hat kein Element namens »actual_rot«
>>     make[2]: *** [CMakeFiles/avalon-plugin.dir/AvalonPlugin.cpp.o] Fehler 1
>>     make[1]: *** [CMakeFiles/avalon-plugin.dir/all] Fehler 2
>>     make: *** [all] Fehler 2
>> 
>> (4) avalon/communication: failed in build phase
>>     'make -j2' returned status 2
>>     see /home/satia/AVALON/install/log/avalon/communication-build.log for details
>>     last 10 lines are:
>> 
>>     CMakeFiles/Communication_app.dir/Main.cpp.o:/home/satia/AVALON/avalon/communication/src/Main.cpp:110: more undefined references to `printw' follow
>>     CMakeFiles/Communication_app.dir/Main.cpp.o: In function `main':
>>     /home/satia/AVALON/avalon/communication/src/Main.cpp:113: undefined reference to `refresh'
>>     /home/satia/AVALON/avalon/communication/src/Main.cpp:117: undefined reference to `endwin'
>>     collect2: ld gab 1 als Ende-Status zurück
>>     make[2]: *** [src/Communication_app] Fehler 1
>>     make[1]: *** [src/CMakeFiles/Communication_app.dir/all] Fehler 2
>>     make[1]: *** Warte auf noch nicht beendete Prozesse...
>>     [100%] Built target Communication_app_Test
>>     make: *** [all] Fehler 2
>> 
>> Beim Ausführen von asv.rb kommt folgende Meldung:
>> 
>> Orocos[WARN]: killing running task contexts and deployments because of unhandled exception
>> Orocos[WARN]:   (eval):7:in `do_configure': communication failed with #<TaskContext: Orocos::TaskContext/avalon_simulation>
>> Orocos[WARN]:     (eval):7:in `configure'
>> Orocos[WARN]:     /home/satia/AVALON/tools/orocos.rb/lib/orocos/corba.rb:130:in `refine_exceptions'
>> Orocos[WARN]:     (eval):5:in `configure'
>> Orocos[WARN]:     asv.rb:15
>> Orocos[WARN]:     /home/satia/AVALON/tools/orocos.rb/lib/orocos/process.rb:386:in `run'
>> Orocos[WARN]:     /home/satia/AVALON/tools/orocos.rb/lib/orocos/process.rb:819:in `guard'
>> Orocos[WARN]:     /home/satia/AVALON/tools/orocos.rb/lib/orocos/process.rb:385:in `run'
>> Orocos[WARN]:     /home/satia/AVALON/tools/orocos.rb/lib/orocos/process.rb:74:in `run'
>> Orocos[WARN]:     asv.rb:8
>> Orocos[WARN]: clean shutdown of process AvalonSimulation failed
>> Orocos[WARN]: sending 2 to AvalonSimulation
>> (eval):7:in `do_configure': communication failed with #<TaskContext: Orocos::TaskContext/avalon_simulation> (Orocos::CORBA::ComError)
>>     from (eval):7:in `configure'
>>     from /home/satia/AVALON/tools/orocos.rb/lib/orocos/corba.rb:130:in `refine_exceptions'
>>     from (eval):5:in `configure'
>>     from asv.rb:15
>>     from /home/satia/AVALON/tools/orocos.rb/lib/orocos/process.rb:386:in `run'
>>     from /home/satia/AVALON/tools/orocos.rb/lib/orocos/process.rb:819:in `guard'
>>     from /home/satia/AVALON/tools/orocos.rb/lib/orocos/process.rb:385:in `run'
>>     from /home/satia/AVALON/tools/orocos.rb/lib/orocos/process.rb:74:in `run'
>>     from asv.rb:8
>> 
>> Was muss ich tun?
>> 
>> Satia
> 
> Hi Satia,
> 
> most of the people reading this email list only understand English therefore please write your questions in English.
> All the errors shown in the first log are inside packages from the avalon student project. There is nothing you can do about this 
> beside looking into the code and trying to fix it. 
> 
> The error during start up is due to a missing package those compiling failed earlier. 
> 
> I hope this helps
> Alex
> -- 
> Dipl.-Ing. Alexander Duda
> Unterwasserrobotik
> 
> DFKI Bremen
> Robotics Innovation Center
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
> 
> Phone: +49 (0)421 178-456620
> Fax:   +49 (0)421 178-454150
> E-Mail: alexander.duda at dfki.de
> 
> Weitere Informationen: http://www.dfki.de/robotik
> -----------------------------------------------------------------------
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
> (Vorsitzender) Dr. Walter Olthoff
> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
> Amtsgericht Kaiserslautern, HRB 2313
> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
> USt-Id.Nr.:    DE 148646973
> Steuernummer:  19/673/0060/3 
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev

-- 
Malte Römmermann
Simulation

DFKI Bremen
Robotics Innovation Center
Mary-Somerville-Straße 9
28359 Bremen, Germany

Phone: +49 (0)421 178 45-4126
Fax:   +49 (0)421 218-64150
E-Mail: malte.roemmermann at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20120710/c168c0fd/attachment.htm 


More information about the Rock-dev mailing list