[Bug 693] New: Allow the root name to be set to something other than "root"

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=693

Summary: Allow the root name to be set to something other than
"root"
Product: KDL
Version: kdl-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: Kinematic chains
AssignedTo: orocos-dev [..] ...
ReportedBy: meeussen [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Created an attachment (id=486)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=486)
Allow the root name to be set to something other than "root"

This patch allows you to give the root segment of a tree a different name than
"root". If you don't specify anything, the name still defaults to "root", so
this patch is bc. The trees we use have different roots, such as "torso" for
the arms, "world" for the base, etc, so it's important not to loose this
information by calling all roots "root".

Ruben Smits's picture

[Bug 693] Allow the root name to be set to something other than

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=693

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |ruben [dot] smits [..] ...en.b
| |e
Resolution| |FIXED
Status|NEW |RESOLVED

--- Comment #1 from Ruben Smits <ruben [dot] smits [..] ...> 2010-08-05 10:55:04 ---
Apparently the patch is already applied a long time ago:

r30429 | rsmits | 2009-08-14 09:54:19 +0200 (Fri, 14 Aug 2009) | 1 line

Fixed bug 693: Allow the root name to be set to something other than root,
applied patch 486

kdl building error

I had already build kdl 1.0.1 on my system. I did a make uninstall and
tried to build again but unfortunately and error was reported:

Scanning dependencies of target orocos-kdltk-corba-gnulinux
[ 78%] Building CXX object
src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/corbatoolkit.o
/usr/local/orocos/orocos-rtt-1.8.4/include/rtt/corba/../ConnectionC.hpp:
In member function ‘RTT::ConnectionC& RTT::ConnectionC::callback(Type,
Function)’:
/usr/local/orocos/orocos-rtt-1.8.4/include/rtt/corba/../ConnectionC.hpp:115:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: ***
[src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/corbatoolkit.o]
Error 1
make[1]: ***
[src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/all]
Error 2
make: *** [all] Error 2

Does anybodoy know what it means?

Any help!!!

Thanks,

Breno

kdl building error

On Aug 8, 2009, at 10:04 , Breno wrote:

> I had already build kdl 1.0.1 on my system. I did a make uninstall and
> tried to build again but unfortunately and error was reported:
>
> Scanning dependencies of target orocos-kdltk-corba-gnulinux
> [ 78%] Building CXX object
> src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/
> corbatoolkit.o
> /usr/local/orocos/orocos-rtt-1.8.4/include/rtt/corba/../
> ConnectionC.hpp:
> In member function ‘RTT::ConnectionC& RTT::ConnectionC::callback(Type,
> Function)’:
> /usr/local/orocos/orocos-rtt-1.8.4/include/rtt/corba/../
> ConnectionC.hpp:115:
> internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> make[2]: ***
> [src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/
> corbatoolkit.o]
> Error 1
> make[1]: ***
> [src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/
> all]
> Error 2
> make: *** [all] Error 2
>
>
> Does anybodoy know what it means?
>
> Any help!!!
>
> Thanks,
>
> Breno

Breno

You need to supply more information if you want help. What O/S? What
version of gcc? What version of CMake? etc The more information we
have, the easier it is to help.

Stephen

kdl building error

S Roderick wrote:
> On Aug 8, 2009, at 10:04 , Breno wrote:
>
>> I had already build kdl 1.0.1 on my system. I did a make uninstall and
>> tried to build again but unfortunately and error was reported:
>>
>> Scanning dependencies of target orocos-kdltk-corba-gnulinux
>> [ 78%] Building CXX object
>> src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/corbatoolkit.o
>>
>> /usr/local/orocos/orocos-rtt-1.8.4/include/rtt/corba/../ConnectionC.hpp:
>> In member function ‘RTT::ConnectionC& RTT::ConnectionC::callback(Type,
>> Function)’:
>> /usr/local/orocos/orocos-rtt-1.8.4/include/rtt/corba/../ConnectionC.hpp:115:
>>
>> internal compiler error: Segmentation fault
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>> make[2]: ***
>> [src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/corbatoolkit.o]
>>
>> Error 1
>> make[1]: ***
>> [src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>>
>> Does anybodoy know what it means?
>>
>> Any help!!!
>>
>> Thanks,
>>
>> Breno
>
> Breno
>
> You need to supply more information if you want help. What O/S? What
> version of gcc? What version of CMake? etc The more information we
> have, the easier it is to help.
>
> Stephen
Hi Thanks for your support! My gcc is 4.0.1 and I have Ubuntu 8.04.3. My
cmake is 2.4-patch 7. Is there any information else that you need?
Thanks again,

Breno

kdl building error

On Aug 8, 2009, at 14:26 , Breno wrote:

> S Roderick wrote:
>> On Aug 8, 2009, at 10:04 , Breno wrote:
>>
>>> I had already build kdl 1.0.1 on my system. I did a make uninstall
>>> and
>>> tried to build again but unfortunately and error was reported:
>>>
>>> Scanning dependencies of target orocos-kdltk-corba-gnulinux
>>> [ 78%] Building CXX object
>>> src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/
>>> corbatoolkit.o
>>> /usr/local/orocos/orocos-rtt-1.8.4/include/rtt/corba/../
>>> ConnectionC.hpp:
>>> In member function ‘RTT::ConnectionC&
>>> RTT::ConnectionC::callback(Type,
>>> Function)’:
>>> /usr/local/orocos/orocos-rtt-1.8.4/include/rtt/corba/../
>>> ConnectionC.hpp:115:
>>> internal compiler error: Segmentation fault
>>> Please submit a full bug report,
>>> with preprocessed source if appropriate.
>>> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>>> make[2]: ***
>>> [src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/
>>> corbatoolkit.o]
>>> Error 1
>>> make[1]: ***
>>> [src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-gnulinux.dir/
>>> all]
>>> Error 2
>>> make: *** [all] Error 2
>>>
>>>
>>> Does anybodoy know what it means?
>>>
>>> Any help!!!
>>>
>>> Thanks,
>>>
>>> Breno
>>
>> Breno
>>
>> You need to supply more information if you want help. What O/S?
>> What version of gcc? What version of CMake? etc The more
>> information we have, the easier it is to help.
>>
>> Stephen
> Hi Thanks for your support! My gcc is 4.0.1 and I have Ubuntu
> 8.04.3. My cmake is 2.4-patch 7. Is there any information else that
> you need?
> Thanks again,

I've gcc 4.2.4 under Ubuntu 8.04.2 and CMake 2.6-patch 2. No problems
here ... admittedly this is slightly older Ubuntu and is *not* Orocos
trunk.

But I also have Orocos trunk under Ubuntu 9.10, gcc 4.3.3, and CMake
2.6-patch 2. This compiled trunk just fine a few days ago.

Maybe it's worth installing a newer gcc version? It is an internal
compiler error after all ...
S