Dear Sir,
I am trying to generate a simple test using orogen.
Following the examples provided in orocos-toolchain I create the file robot.orogen with the following content:
name "robot"
task_context "hmi" do
output_port "desiredP", "/std/vector<float>"
end
task_context "oneaxisfilter" do
input_port "inDesiredP", "/std/vector<float>"
output_port "outDesiredP", "/std/vector<float>"
end
task_context "robot" do
input_port "inDesiredP", "/std/vector<float>"
property "curPos" , "/std/vector<float>"
end
# Static deployment for testing. The hmi produce a new setpoint
# the filter component filter it and robot move to the desired set points
deployment "testrobot" do
do_not_install
hmi = task("mmi", "hmi").
start
filter = task("filter", "oneaxisfilter").
start
robot = task("myRobot", "robot").
realtime.
periodic(0.1).
start
connect(hmi.desiredP, filter.inDesiredP)
connect(filter.outDesiredP , robot.inDesiredP)
end
Then I executed the command
orogen --target=gnulinux -v robot.orogen
no errors occurred.
After this i executed the following command
mkdir build
cd build
cmake -G "Unix Makefiles" ../
this command fail and the following errors occurred:
root@UBU1004:~/EsempiOrocos/orogenRobot/build# cmake -G "Unix Makefiles" ../
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test ,
-- Performing Test , - Failed
-- Found Doxygen: /usr/bin/doxygen
-- documentation can be built
-- checking for module 'orocos-rtt-gnulinux>=1.99.4'
-- found orocos-rtt-gnulinux, version 2.1.0
CMake Error at .orogen/typekit/CMakeLists.txt:44 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"robot-typekit-gnulinux".
-- checking for module 'typelib'
-- found typelib, version 1.1
CMake Error at .orogen/typekit/transports/typelib/CMakeLists.txt:24 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"robot-transport-typelib-gnulinux".
Orocos-RTT found in /usr/src/orocos-toolchain/install/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries.cmake
-- Found orocos-rtt 2.1.0 for the gnulinux target. Available transports: corba mqueue
-- Orocos reports in /usr/src/orocos-toolchain/install/include/rtt/transports/corba/rtt-corba-config.h to use the OMNIORB
CMake Error at .orogen/typekit/transports/corba/CMakeLists.txt:47 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"robot-transport-corba-gnulinux".
-- checking for module 'orocos-rtt-corba-gnulinux'
-- found orocos-rtt-corba-gnulinux, version 2.1.0
-- Optional library RTT_PLUGIN_rtt-typekit NOT FOUND. If the library is already installed, use the RTT_PLUGIN_rtt-typekit_ROOT_DIR environment variable or ccmake to set the missing variables manually.
-- Optional library RTT_PLUGIN_rtt-transport-corba NOT FOUND. If the library is already installed, use the RTT_PLUGIN_rtt-transport-corba_ROOT_DIR environment variable or ccmake to set the missing variables manually.
-- Configuring incomplete, errors occurred!
What have I missed in robot.orogen or in my configuration?
I have installed orocos-toolchain 2.1.0 using the following commands from /usr directory
mkdir orocos-toolchain
cd orocos-toolchain
wget http://gitorious.com/orocos-toolchain/build/blobs/raw/toolchain-2.1/boot...
sh bootstrap.sh
source env.sh
Thank you for your support.
Gianpaolo Rizzi
orogen errors in makefile generation
On 11/04/2010 08:13 PM, gprizzi [..] ... wrote:
> Dear Sir,
>
> I am trying to generate a simple test using orogen.
> Following the examples provided in orocos-toolchain I create the file
> robot.orogen with the following content:
>
> name "robot"
>
> task_context "hmi" do
> output_port "desiredP", "/std/vector<float>"
> end
>
> task_context "oneaxisfilter" do
> input_port "inDesiredP", "/std/vector<float>"
> output_port "outDesiredP", "/std/vector<float>"
> end
>
> task_context "robot" do
> input_port "inDesiredP", "/std/vector<float>"
> property "curPos" , "/std/vector<float>"
> end
>
> # Static deployment for testing. The hmi produce a new setpoint
> # the filter component filter it and robot move to the desired set points
>
> deployment "testrobot" do
> do_not_install
>
> hmi = task("mmi", "hmi").
> start
>
> filter = task("filter", "oneaxisfilter").
> start
>
> robot = task("myRobot", "robot").
> realtime.
> periodic(0.1).
> start
>
> connect(hmi.desiredP, filter.inDesiredP)
> connect(filter.outDesiredP , robot.inDesiredP)
> end
>
> Then I executed the command
>
> orogen --target=gnulinux -v robot.orogen
>
> no errors occurred.
>
> After this i executed the following command
>
> mkdir build
> cd build
> cmake -G "Unix Makefiles" ../
>
> this command fail and the following errors occurred:
>
> root@UBU1004:~/EsempiOrocos/orogenRobot/build# cmake -G "Unix
> Makefiles" ../
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Performing Test ,
> -- Performing Test , - Failed
> -- Found Doxygen: /usr/bin/doxygen
> -- documentation can be built
> -- checking for module 'orocos-rtt-gnulinux>=1.99.4'
> -- found orocos-rtt-gnulinux, version 2.1.0
> CMake Error at .orogen/typekit/CMakeLists.txt:44 (install):
> install TARGETS given no LIBRARY DESTINATION for shared library target
> "robot-typekit-gnulinux".
>
>
> -- checking for module 'typelib'
> -- found typelib, version 1.1
> CMake Error at .orogen/typekit/transports/typelib/CMakeLists.txt:24
> (install):
> install TARGETS given no LIBRARY DESTINATION for shared library target
> "robot-transport-typelib-gnulinux".
>
>
> Orocos-RTT found in
> /usr/src/orocos-toolchain/install/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries.cmake
> -- Found orocos-rtt 2.1.0 for the gnulinux target. Available
> transports: corba mqueue
> -- Orocos reports in
> /usr/src/orocos-toolchain/install/include/rtt/transports/corba/rtt-corba-config.h
> to use the OMNIORB
> CMake Error at .orogen/typekit/transports/corba/CMakeLists.txt:47
> (install):
> install TARGETS given no LIBRARY DESTINATION for shared library target
> "robot-transport-corba-gnulinux".
>
>
> -- checking for module 'orocos-rtt-corba-gnulinux'
> -- found orocos-rtt-corba-gnulinux, version 2.1.0
> -- Optional library RTT_PLUGIN_rtt-typekit NOT FOUND. If the library
> is already installed, use the RTT_PLUGIN_rtt-typekit_ROOT_DIR
> environment variable or ccmake to set the missing variables manually.
> -- Optional library RTT_PLUGIN_rtt-transport-corba NOT FOUND. If the
> library is already installed, use the
> RTT_PLUGIN_rtt-transport-corba_ROOT_DIR environment variable or ccmake
> to set the missing variables manually.
> -- Configuring incomplete, errors occurred!
>
> What have I missed in robot.orogen or in my configuration?
> I have installed orocos-toolchain 2.1.0 using the following commands
> from /usr directory
> mkdir orocos-toolchain
> cd orocos-toolchain
> wget http://gitorious.com/orocos-toolchain/build/blobs/raw/toolchain-2.1/boot...
> sh bootstrap.sh
> source env.sh
The toolchain's orogen has been badly broken in september, and it has
not yet been fixed by the involved people.
In the meantime, I suggest that you use oroGen from the master branch of
git://gitorious.org/+orocos-dfki-maintainers/dfki-ric-orogen.git
You can pin that branch in autoproj by editing autoproj/overrides.yml
and add the following:
overrides:
- orogen:
url:
git://gitorious.org/+orocos-dfki-maintainers/dfki-ric-orogen.git
branch: master
Sorry for that
--
Sylvain Joyeux
Space& Security Robotics
!!! Achtung, neue Telefonnummer!!!
Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-454136
Fax: +49 (0)421 218-454150
E-Mail: robotik [..] ...
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
-----------------------------------------------------------------------