Re: proposed patch for orogen/typegen
Peter Soetens <[email protected]>
| Newsgroups | gmane.science.robotics.orocos.devel |
|---|---|
| Message-ID | <CAMYDobW0d=XWrvZUPVUfQBKAi2UoRjKVcAckm+37Lq6xoUpygg@mail.gmail.com> |
On Fri, Feb 1, 2013 at 2:05 PM, Sylvain Joyeux <[email protected]> wrote: > On 01/31/2013 05:44 PM, Peter Soetens wrote: >> >> Also, I had a question regarding typegen -i pkgname, where 'pkgname' >> is also typegen generated: >> It seems that it picks up the .tlb files, but still the code for the >> transport of these earlier defined types is generated. Can typegen be >> changed such that for these -i specified packages, no code is >> generated anymore ? > > It is a typegen-specific issue, orogen does show the "right" behaviour. > > I'm having a look and I am puzzled. Could you send the .pc file for the > imported typekit ? It seems the culprit is in typegen itself, the check: pkg.typelist && !pkg.typelist.empty? is always false. Indeed, there is no typelist entry: $ cat build/typekit/mockup-typekit-gnulinux.pc # Generated from orogen/lib/orogen/templates/typekit/typekit.pc prefix=/usr/local exec_prefix=${prefix} libdir=${prefix}/lib/orocos/gnulinux/mockup/types includedir=${prefix}/include/orocos project_name=mockup type_registry=${prefix}/share/orogen/mockup.tlb Name: mockupTypekit Version: Requires: orocos-kdl Description: mockup types support for the Orocos type system Libs: -L${libdir} -lmockup-typekit-gnulinux Cflags: -I${includedir} -I${includedir}/mockup/types "-DOROCOS_TARGET=gnulinux" "-I/home/kaltan/src/git/euron/electric/orocos_toolchain/rtt/../install/include" "-I/opt/ros/fuerte/stacks/orocos_kinematics_dynamics/orocos_kdl/install_dir/include" "-I/usr/include/eigen3" Peter -- Orocos-Dev mailing list [email protected] http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev