Problem in compiling a code after RTT 2.2 upgrade with XENOMAI.

Hello again guys!

Well, I finished my code for my undergraduate final project at my university.

I'm using Orocos to create a real time interface for data acquisition.

When I use a smpling rate of 1 kHz, the real time specialty is working ok. However, when I use a sampling rate of 80 kHz (minimum for my project), the real time specialty is not respected. I could get samples at 10 kHz frequency maximum. My DAQ Board can work with 330 kHz sampling rate.

So, I decided to compile the code using the Xenomai. So, I rebuild my kernel, I installed XENOMAI and rebuild the packages of RTT and OCL with the option "target= xenomai". Everything Ok.

The problem is: when I execute 'make', it look tile the libraries aren't included/linked and I really couldn't resolve the problem. This same make was working fine before. Now, all my Orocos variables like: Command, Method, Attribute are not working.

I added: -I/usr/xenomai/include

And for Linking: -L/usr/xenomai/lib -lnative

The other options are from Qt library.

For installing RTT and OCL, I used:

cmake . -DOROCOS_TARGET=xenomai -DCMAKE_PREFIX_PATH=/usr/xenomai -DCMAKE_INSTALL_PREFIX=/usr/local -DLINUX_SOURCE_DIR=/usr/src/linux make make install

And it worked... : Anyone could help? I did not changed any directory of installation.

$ make g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/include -DOROCOS_TARGET=xenomai -Wall -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I/usr/xenomai/include -o Analisador.o Analisador.cpp In file included from Sensor.h:13,

                 from Analisador.h:11,
                 from Analisador.cpp:8:
/usr/local/include/rtt/Method.hpp:72: error: expected template-name before ‘<’ token /usr/local/include/rtt/Method.hpp:72: error: expected ‘{’ before ‘<’ token /usr/local/include/rtt/Method.hpp:72: error: expected unqualified-id before ‘<’ token In file included from Analisador.h:11,
                 from Analisador.cpp:8:
Sensor.h:28: error: field ‘alteraTensaoRTT’ has incomplete type Sensor.h:31: error: field ‘alteraCorrenteRTT’ has incomplete type Sensor.h:35: error: field ‘lerCorrenteRTT’ has incomplete type Sensor.h:38: error: field ‘lerTensaoRTT’ has incomplete type Sensor.h:43: error: field ‘lerTensaoPlaca’ has incomplete type Sensor.h:44: error: field ‘enviarTensaoPlaca0’ has incomplete type Sensor.h:45: error: field ‘enviarTensaoPlaca1’ has incomplete type In file included from /usr/local/include/rtt/DispatchInterface.hpp:42,
                 from /usr/local/include/rtt/CommandBase.hpp:43,
                 from /usr/local/include/rtt/Command.hpp:45,
                 from Analisador.h:12,
                 from Analisador.cpp:8:
/usr/local/include/rtt/CommandInterface.hpp:57: error: ‘ActionInterface’ does not name a type In file included from /usr/local/include/rtt/CommandBase.hpp:43,
                 from /usr/local/include/rtt/Command.hpp:45,
                 from Analisador.h:12,
                 from Analisador.cpp:8:
/usr/local/include/rtt/DispatchInterface.hpp:53: error: expected class-name before ‘{’ token In file included from /usr/local/include/rtt/CommandProcessor.hpp:45,
                 from /usr/local/include/rtt/LocalCommand.hpp:45,
                 from /usr/local/include/rtt/Command.hpp:46,
                 from Analisador.h:12,
                 from Analisador.cpp:8:
/usr/local/include/rtt/BufferPolicy.hpp:87: error: ‘OS’ has not been declared /usr/local/include/rtt/BufferPolicy.hpp:87: error: expected ‘;’ before ‘count’ /usr/local/include/rtt/BufferPolicy.hpp: In constructor ‘RTT::BlockingPolicy::BlockingPolicy(unsigned int)’: /usr/local/include/rtt/BufferPolicy.hpp:67: error: class ‘RTT::BlockingPolicy’ does not have any field named ‘count’ /usr/local/include/rtt/BufferPolicy.hpp: In member function ‘void RTT::BlockingPolicy::push(int)’: /usr/local/include/rtt/BufferPolicy.hpp:70: error: ‘std::count’ does not have class type /usr/local/include/rtt/BufferPolicy.hpp: In member function ‘void RTT::BlockingPolicy::pop(int)’: /usr/local/include/rtt/BufferPolicy.hpp:75: error: ‘std::count’ does not have class type /usr/local/include/rtt/BufferPolicy.hpp: In member function ‘void RTT::BlockingPolicy::reset(int)’: /usr/local/include/rtt/BufferPolicy.hpp:80: error: ‘std::count’ does not have class type /usr/local/include/rtt/BufferPolicy.hpp:81: error: ‘std::count’ does not have class type /usr/local/include/rtt/BufferPolicy.hpp:82: error: ‘std::count’ does not have class type /usr/local/include/rtt/BufferPolicy.hpp:83: error: ‘std::count’ does not have class type In file included from /usr/local/include/rtt/LocalCommand.hpp:45,
                 from /usr/local/include/rtt/Command.hpp:46,
                 from Analisador.h:12,
                 from Analisador.cpp:8:
/usr/local/include/rtt/CommandProcessor.hpp: At global scope: /usr/local/include/rtt/CommandProcessor.hpp:77: error: expected class-name before ‘{’ token /usr/local/include/rtt/CommandProcessor.hpp:110: error: ‘CommandInterface’ has not been declared /usr/local/include/rtt/CommandProcessor.hpp:125: error: ‘CommandInterface’ was not declared in this scope /usr/local/include/rtt/CommandProcessor.hpp:125: error: template argument 1 is invalid In file included from /usr/local/include/rtt/LocalCommand.hpp:46,
                 from /usr/local/include/rtt/Command.hpp:46,
                 from Analisador.h:12,
                 from Analisador.cpp:8:
/usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:76: error: ‘DataSourceBase’ has not been declared /usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:76: error: ‘DataSourceBase’ has not been declared /usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:76: error: ‘DataSourceBase’ has not been declared /usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:76: error: ‘DataSourceBase’ has not been declared /usr/local/include/rtt/CommandFunctors.hpp:94: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:94: error: wrong number of template arguments (1, should be 4) /usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’ /usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:117: error: ‘DataSourceBase’ has not been declared /usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:117: error: ‘DataSourceBase’ has not been declared /usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:117: error: ‘DataSourceBase’ has not been declared /usr/local/include/rtt/CommandFunctors.hpp:141: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:141: error: wrong number of template arguments (1, should be 4) /usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’ /usr/local/include/rtt/CommandFunctors.hpp:162: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:162: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:162: error: ‘DataSourceBase’ has not been declared /usr/local/include/rtt/CommandFunctors.hpp:162: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:162: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:162: error: ‘DataSourceBase’ has not been declared /usr/local/include/rtt/CommandFunctors.hpp:191: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:191: error: wrong number of template arguments (1, should be 4) /usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’ /usr/local/include/rtt/CommandFunctors.hpp:215: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:215: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:215: error: ‘DataSourceBase’ has not been declared /usr/local/include/rtt/CommandFunctors.hpp:249: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:249: error: wrong number of template arguments (1, should be 4) /usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’ In file included from /usr/local/include/rtt/LocalCommand.hpp:46,
                 from /usr/local/include/rtt/Command.hpp:46,
                 from Analisador.h:12,
                 from Analisador.cpp:8:
/usr/local/include/rtt/CommandFunctors.hpp:314: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:314: error: wrong number of template arguments (1, should be 4) /usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’ /usr/local/include/rtt/CommandFunctors.hpp:354: error: expected class-name before ‘{’ token /usr/local/include/rtt/CommandFunctors.hpp:384: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:384: error: wrong number of template arguments (1, should be 4) /usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’ /usr/local/include/rtt/CommandFunctors.hpp:396: error: expected class-name before ‘{’ token /usr/local/include/rtt/CommandFunctors.hpp:458: error: reference to ‘DataSourceBase’ is ambiguous /usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase /usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase /usr/local/include/rtt/CommandFunctors.hpp:458: error: wrong number of template arguments (1, should be 4) /usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’ In file included from Analisador.h:12,
                 from Analisador.cpp:8:
/usr/local/include/rtt/Command.hpp:94: error: expected template-name before ‘<’ token /usr/local/include/rtt/Command.hpp:94: error: expected ‘{’ before ‘<’ token /usr/local/include/rtt/Command.hpp:94: error: expected unqualified-id before ‘<’ token In file included from Analisador.cpp:8: Analisador.h:28: error: field ‘iniciaDiagnosticoRTT’ has incomplete type Analisador.h:32: error: field ‘rodandoTesteRTT’ has incomplete type Analisador.h:33: error: field ‘incrementaTensaoRTT’ has incomplete type Analisador.h:34: error: field ‘lerTensaoPGRTT’ has incomplete type Analisador.h:35: error: field ‘lerTensaoColetorRTT’ has incomplete type Analisador.h:37: error: field ‘alteraTensaoPGRTT’ has incomplete type Analisador.h:38: error: field ‘alteraTensaoColetorRTT’ has incomplete type Analisador.cpp: In constructor ‘Analisador::Analisador(std::string)’: Analisador.cpp:15: error: class ‘Analisador’ does not have any field named ‘iniciaDiagnosticoRTT’ Analisador.cpp:16: error: class ‘Analisador’ does not have any field named ‘rodandoTesteRTT’ Analisador.cpp:17: error: class ‘Analisador’ does not have any field named ‘incrementaTensaoRTT’ Analisador.cpp:18: error: class ‘Analisador’ does not have any field named ‘lerTensaoPGRTT’ Analisador.cpp:19: error: class ‘Analisador’ does not have any field named ‘lerTensaoColetorRTT’ Analisador.cpp:21: error: class ‘Analisador’ does not have any field named ‘alteraTensaoPGRTT’ Analisador.cpp:22: error: class ‘Analisador’ does not have any field named ‘alteraTensaoColetorRTT’ Analisador.cpp:25: error: no matching function for call to ‘RTT::ConfigurationInterface::addAttribute(RTT::Attribute<double>*)’ /usr/local/include/rtt/ConfigurationInterface.hpp:140: note: candidates are: bool RTT::ConfigurationInterface::addAttribute(RTT::base::AttributeBase&) Analisador.cpp:26: error: no matching function for call to ‘RTT::ConfigurationInterface::addAttribute(RTT::Attribute<int>*)’ /usr/local/include/rtt/ConfigurationInterface.hpp:140: note: candidates are: bool RTT::ConfigurationInterface::addAttribute(RTT::base::AttributeBase&) Analisador.cpp:27: error: no matching function for call to ‘RTT::ConfigurationInterface::addAttribute(RTT::Attribute<double>*)’ /usr/local/include/rtt/ConfigurationInterface.hpp:140: note: candidates are: bool RTT::ConfigurationInterface::addAttribute(RTT::base::AttributeBase&) Analisador.cpp:28: error: no matching function for call to ‘RTT::ConfigurationInterface::addAttribute(RTT::Attribute<double>*)’ /usr/local/include/rtt/ConfigurationInterface.hpp:140: note: candidates are: bool RTT::ConfigurationInterface::addAttribute(RTT::base::AttributeBase&) Analisador.cpp:30: error: ‘class Analisador’ has no member named ‘commands’ Analisador.cpp:30: error: ‘iniciaDiagnosticoRTT’ was not declared in this scope Analisador.cpp:31: error: ‘class Analisador’ has no member named ‘methods’ Analisador.cpp:31: error: ‘rodandoTesteRTT’ was not declared in this scope Analisador.cpp:32: error: ‘class Analisador’ has no member named ‘methods’ Analisador.cpp:32: error: ‘incrementaTensaoRTT’ was not declared in this scope Analisador.cpp:33: error: ‘class Analisador’ has no member named ‘methods’ Analisador.cpp:33: error: ‘lerTensaoPGRTT’ was not declared in this scope Analisador.cpp:34: error: ‘class Analisador’ has no member named ‘methods’ Analisador.cpp:34: error: ‘lerTensaoColetorRTT’ was not declared in this scope Analisador.cpp:36: error: ‘class Analisador’ has no member named ‘methods’ Analisador.cpp:36: error: ‘alteraTensaoPGRTT’ was not declared in this scope Analisador.cpp:37: error: ‘class Analisador’ has no member named ‘methods’ Analisador.cpp:37: error: ‘alteraTensaoColetorRTT’ was not declared in this scope Analisador.cpp: In member function ‘virtual void Analisador::updateHook()’: Analisador.cpp:51: error: ‘rodandoTesteRTT’ was not declared in this scope Analisador.cpp:53: error: ‘incrementaTensaoRTT’ was not declared in this scope Analisador.cpp: In member function ‘bool Analisador::fimDiagnostico()’: Analisador.cpp:69: error: ‘rodandoTesteRTT’ was not declared in this scope Analisador.cpp: In member function ‘void Analisador::incrementaTensao()’: Analisador.cpp:91: error: ‘alteraTensaoRTT’ was not declared in this scope make: ** [Analisador.o] Erro 1

Really Thanks for helping.

Att. Alexandre

Problem in compiling a code after RTT 2.2 upgrade with XENOMAI.

On Tuesday 28 December 2010 18:33:05 Alexandrenagy [..] ... wrote:
> Hello again guys!
>
> Well, I finished my code for my undergraduate final project at my
> university.
>
> I'm using Orocos to create a real time interface for data acquisition.
>
> When I use a smpling rate of 1 kHz, the real time specialty is working ok.
> However, when I use a sampling rate of 80 kHz (minimum for my project), the
> real time specialty is not respected. I could get samples at 10 kHz
> frequency maximum. My DAQ Board can work with 330 kHz sampling rate.

That 330kHz is in hardware. You won't be able to do 330000 calls to your
comedi driver every second. Even with Xenomai, the limit is at about 20kHz, if
you want to do something sensible in the rest of the computer.

So you'd better find out how to sample at 330kHz and read the device driver
only after 100 samples, and then read them at once for example.

>
>
> So, I decided to compile the code using the Xenomai. So, I rebuild my
> kernel, I installed XENOMAI and rebuild the packages of RTT and OCL with
> the option "target= xenomai". Everything Ok.
>
> The problem is: when I execute 'make', it look tile the libraries aren't
> included/linked and I really couldn't resolve the problem. This same make
> was working fine before. Now, all my Orocos variables like: Command,
> Method, Attribute are not working.

Migrating from RTT 1.x to 2.x is not something you'd do overnight. If you have
an existing application, stick to the 1.x releases. The 2.x API is very
different in some places. Take a look here to see what changed between RTT 1.x
and 2.x: http://www.orocos.org/wiki/Upgrading_from_RTT_1.x_to_2.0

Peter

Problem in compiling a code after RTT 2.2 upgrade with XENOMAI.

On Tue, 28 Dec 2010, Alexandrenagy [..] ... wrote:

[...]
> I'm using Orocos to create a real time interface for data acquisition.
>
> When I use a smpling rate of 1 kHz, the real time specialty is working
> ok.
> However, when I use a sampling rate of 80 kHz (minimum for my project),
> the real time specialty is not respected. I could get samples at 10 kHz
> frequency maximum. My DAQ Board can work with 330 kHz sampling rate.

These are _huge_ sample rates for using a component-based framework... Not
something a normal PC architecture would be able to cope with easily. It
might be an option to put such high-frequency parts into "driver code", or
on separate FPGAs or so...

Herman

Problem in compiling a

Thanks Herman, for the confirmation.

I'm using the Comedi library for the communication with the board PCI-DAS1602/12.

I've got a code that works with the File Descriptor of the board.... and I was told that this would work with the maximum sampling rate and I will get all samples using that. The topic is on 'comedi_list' group at google groups. If that work, I will post again here.

:)

And about the compilation, do you have any idea?

It was working fine before the recompilation of RTT and OCL for the Xenomai mode.

Att.
Alexandre.

Problem in compiling a code after RTT 2.2 upgrade with XENOMAI.

Thanks Herman, for the confirmation.

I'm using the Comedi library for the communication with the board PCI-DAS1602/12.

I've got a code that works with the File Descriptor of the board.... and I was told that this would work with the maximum sampling rate and I will get all samples using that. The topic is on 'comedi_list' group at google groups. If that work, I will post again here.

)

And about the compilation, do you have any idea?

It was working fine before the recompilation of RTT and OCL for the Xenomai mode.

Att. Alexandre.

Problem in compiling a

On Wed, 29 Dec 2010, Alexandrenagy [..] ... wrote:

> Thanks Herman, for the confirmation.
>
> I'm using the Comedi library for the communication with the board
> PCI-DAS1602/12.
>
> I've got a code that works with the File Descriptor of the board.... and
> I was told that this would work with the maximum sampling rate and I will
> get all samples using that. The topic is on 'comedi_list' group at google
> groups. If that work, I will post again here.

You will get all samples, sure, but you will most probably not be able to
_ react_ to each of them in real time...
>
> :)
>
> And about the compilation, do you have any idea?
> It was working fine before the recompilation of RTT and OCL for the Xenomai mode.

I have no idea as far as this compilation problem is concerned...

> Att.
> Alexandre.

Herman

Problem in compiling a code after RTT 2.2 upgrade with XENOMAI.

Hello again guys!

Well, I finished my code for my undergraduate final project at my university.

I'm using Orocos to create a real time interface for data acquisition.

When I use a smpling rate of 1 kHz, the real time specialty is working ok.
However, when I use a sampling rate of 80 kHz (minimum for my project), the real time specialty is not respected. I could get samples at 10 kHz frequency maximum. My DAQ Board can work with 330 kHz sampling rate.

So, I decided to compile the code using the Xenomai. So, I rebuild my kernel, I installed XENOMAI and rebuild the packages of RTT and OCL with the option "target= xenomai". Everything Ok.

The problem is: when I execute 'make', it look tile the libraries aren't included/linked and I really couldn't resolve the problem. This same make was working fine before. Now, all my Orocos variables like: Command, Method, Attribute are not working.

I added: -I/usr/xenomai/include

And for Linking: -L/usr/xenomai/lib -lnative

The other options are from Qt library.

For installing RTT and OCL, I used:

cmake . -DOROCOS_TARGET=xenomai -DCMAKE_PREFIX_PATH=/usr/xenomai -DCMAKE_INSTALL_PREFIX=/usr/local -DLINUX_SOURCE_DIR=/usr/src/linux
make
make install

And it worked... :\

Anyone could help? I did not changed any directory of installation.

========

$ make
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/include -DOROCOS_TARGET=xenomai -Wall -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I/usr/xenomai/include -o Analisador.o Analisador.cpp
In file included from Sensor.h:13,
from Analisador.h:11,
from Analisador.cpp:8:
/usr/local/include/rtt/Method.hpp:72: error: expected template-name before ‘<’ token
/usr/local/include/rtt/Method.hpp:72: error: expected ‘{’ before ‘<’ token
/usr/local/include/rtt/Method.hpp:72: error: expected unqualified-id before ‘<’ token
In file included from Analisador.h:11,
from Analisador.cpp:8:
Sensor.h:28: error: field ‘alteraTensaoRTT’ has incomplete type
Sensor.h:31: error: field ‘alteraCorrenteRTT’ has incomplete type
Sensor.h:35: error: field ‘lerCorrenteRTT’ has incomplete type
Sensor.h:38: error: field ‘lerTensaoRTT’ has incomplete type
Sensor.h:43: error: field ‘lerTensaoPlaca’ has incomplete type
Sensor.h:44: error: field ‘enviarTensaoPlaca0’ has incomplete type
Sensor.h:45: error: field ‘enviarTensaoPlaca1’ has incomplete type
In file included from /usr/local/include/rtt/DispatchInterface.hpp:42,
from /usr/local/include/rtt/CommandBase.hpp:43,
from /usr/local/include/rtt/Command.hpp:45,
from Analisador.h:12,
from Analisador.cpp:8:
/usr/local/include/rtt/CommandInterface.hpp:57: error: ‘ActionInterface’ does not name a type
In file included from /usr/local/include/rtt/CommandBase.hpp:43,
from /usr/local/include/rtt/Command.hpp:45,
from Analisador.h:12,
from Analisador.cpp:8:
/usr/local/include/rtt/DispatchInterface.hpp:53: error: expected class-name before ‘{’ token
In file included from /usr/local/include/rtt/CommandProcessor.hpp:45,
from /usr/local/include/rtt/LocalCommand.hpp:45,
from /usr/local/include/rtt/Command.hpp:46,
from Analisador.h:12,
from Analisador.cpp:8:
/usr/local/include/rtt/BufferPolicy.hpp:87: error: ‘OS’ has not been declared
/usr/local/include/rtt/BufferPolicy.hpp:87: error: expected ‘;’ before ‘count’
/usr/local/include/rtt/BufferPolicy.hpp: In constructor ‘RTT::BlockingPolicy::BlockingPolicy(unsigned int)’:
/usr/local/include/rtt/BufferPolicy.hpp:67: error: class ‘RTT::BlockingPolicy’ does not have any field named ‘count’
/usr/local/include/rtt/BufferPolicy.hpp: In member function ‘void RTT::BlockingPolicy::push(int)’:
/usr/local/include/rtt/BufferPolicy.hpp:70: error: ‘std::count’ does not have class type
/usr/local/include/rtt/BufferPolicy.hpp: In member function ‘void RTT::BlockingPolicy::pop(int)’:
/usr/local/include/rtt/BufferPolicy.hpp:75: error: ‘std::count’ does not have class type
/usr/local/include/rtt/BufferPolicy.hpp: In member function ‘void RTT::BlockingPolicy::reset(int)’:
/usr/local/include/rtt/BufferPolicy.hpp:80: error: ‘std::count’ does not have class type
/usr/local/include/rtt/BufferPolicy.hpp:81: error: ‘std::count’ does not have class type
/usr/local/include/rtt/BufferPolicy.hpp:82: error: ‘std::count’ does not have class type
/usr/local/include/rtt/BufferPolicy.hpp:83: error: ‘std::count’ does not have class type
In file included from /usr/local/include/rtt/LocalCommand.hpp:45,
from /usr/local/include/rtt/Command.hpp:46,
from Analisador.h:12,
from Analisador.cpp:8:
/usr/local/include/rtt/CommandProcessor.hpp: At global scope:
/usr/local/include/rtt/CommandProcessor.hpp:77: error: expected class-name before ‘{’ token
/usr/local/include/rtt/CommandProcessor.hpp:110: error: ‘CommandInterface’ has not been declared
/usr/local/include/rtt/CommandProcessor.hpp:125: error: ‘CommandInterface’ was not declared in this scope
/usr/local/include/rtt/CommandProcessor.hpp:125: error: template argument 1 is invalid
In file included from /usr/local/include/rtt/LocalCommand.hpp:46,
from /usr/local/include/rtt/Command.hpp:46,
from Analisador.h:12,
from Analisador.cpp:8:
/usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:76: error: ‘DataSourceBase’ has not been declared
/usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:76: error: ‘DataSourceBase’ has not been declared
/usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:76: error: ‘DataSourceBase’ has not been declared
/usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:76: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:76: error: ‘DataSourceBase’ has not been declared
/usr/local/include/rtt/CommandFunctors.hpp:94: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:94: error: wrong number of template arguments (1, should be 4)
/usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
/usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:117: error: ‘DataSourceBase’ has not been declared
/usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:117: error: ‘DataSourceBase’ has not been declared
/usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:117: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:117: error: ‘DataSourceBase’ has not been declared
/usr/local/include/rtt/CommandFunctors.hpp:141: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:141: error: wrong number of template arguments (1, should be 4)
/usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
/usr/local/include/rtt/CommandFunctors.hpp:162: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:162: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:162: error: ‘DataSourceBase’ has not been declared
/usr/local/include/rtt/CommandFunctors.hpp:162: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:162: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:162: error: ‘DataSourceBase’ has not been declared
/usr/local/include/rtt/CommandFunctors.hpp:191: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:191: error: wrong number of template arguments (1, should be 4)
/usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
/usr/local/include/rtt/CommandFunctors.hpp:215: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:215: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:215: error: ‘DataSourceBase’ has not been declared
/usr/local/include/rtt/CommandFunctors.hpp:249: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:249: error: wrong number of template arguments (1, should be 4)
/usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
In file included from /usr/local/include/rtt/LocalCommand.hpp:46,
from /usr/local/include/rtt/Command.hpp:46,
from Analisador.h:12,
from Analisador.cpp:8:
/usr/local/include/rtt/CommandFunctors.hpp:314: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:314: error: wrong number of template arguments (1, should be 4)
/usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
/usr/local/include/rtt/CommandFunctors.hpp:354: error: expected class-name before ‘{’ token
/usr/local/include/rtt/CommandFunctors.hpp:384: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:384: error: wrong number of template arguments (1, should be 4)
/usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
/usr/local/include/rtt/CommandFunctors.hpp:396: error: expected class-name before ‘{’ token
/usr/local/include/rtt/CommandFunctors.hpp:458: error: reference to ‘DataSourceBase’ is ambiguous
/usr/local/include/rtt/ConditionInterface.hpp:46: error: candidates are: struct RTT::DataSourceBase
/usr/local/include/rtt/base/DataSourceBase.hpp:77: error: class RTT::base::DataSourceBase
/usr/local/include/rtt/CommandFunctors.hpp:458: error: wrong number of template arguments (1, should be 4)
/usr/include/c++/4.4/bits/stl_map.h:86: error: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
In file included from Analisador.h:12,
from Analisador.cpp:8:
/usr/local/include/rtt/Command.hpp:94: error: expected template-name before ‘<’ token
/usr/local/include/rtt/Command.hpp:94: error: expected ‘{’ before ‘<’ token
/usr/local/include/rtt/Command.hpp:94: error: expected unqualified-id before ‘<’ token
In file included from Analisador.cpp:8:
Analisador.h:28: error: field ‘iniciaDiagnosticoRTT’ has incomplete type
Analisador.h:32: error: field ‘rodandoTesteRTT’ has incomplete type
Analisador.h:33: error: field ‘incrementaTensaoRTT’ has incomplete type
Analisador.h:34: error: field ‘lerTensaoPGRTT’ has incomplete type
Analisador.h:35: error: field ‘lerTensaoColetorRTT’ has incomplete type
Analisador.h:37: error: field ‘alteraTensaoPGRTT’ has incomplete type
Analisador.h:38: error: field ‘alteraTensaoColetorRTT’ has incomplete type
Analisador.cpp: In constructor ‘Analisador::Analisador(std::string)’:
Analisador.cpp:15: error: class ‘Analisador’ does not have any field named ‘iniciaDiagnosticoRTT’
Analisador.cpp:16: error: class ‘Analisador’ does not have any field named ‘rodandoTesteRTT’
Analisador.cpp:17: error: class ‘Analisador’ does not have any field named ‘incrementaTensaoRTT’
Analisador.cpp:18: error: class ‘Analisador’ does not have any field named ‘lerTensaoPGRTT’
Analisador.cpp:19: error: class ‘Analisador’ does not have any field named ‘lerTensaoColetorRTT’
Analisador.cpp:21: error: class ‘Analisador’ does not have any field named ‘alteraTensaoPGRTT’
Analisador.cpp:22: error: class ‘Analisador’ does not have any field named ‘alteraTensaoColetorRTT’
Analisador.cpp:25: error: no matching function for call to ‘RTT::ConfigurationInterface::addAttribute(RTT::Attribute<double>*)’
/usr/local/include/rtt/ConfigurationInterface.hpp:140: note: candidates are: bool RTT::ConfigurationInterface::addAttribute(RTT::base::AttributeBase&)
Analisador.cpp:26: error: no matching function for call to ‘RTT::ConfigurationInterface::addAttribute(RTT::Attribute<int>*)’
/usr/local/include/rtt/ConfigurationInterface.hpp:140: note: candidates are: bool RTT::ConfigurationInterface::addAttribute(RTT::base::AttributeBase&)
Analisador.cpp:27: error: no matching function for call to ‘RTT::ConfigurationInterface::addAttribute(RTT::Attribute<double>*)’
/usr/local/include/rtt/ConfigurationInterface.hpp:140: note: candidates are: bool RTT::ConfigurationInterface::addAttribute(RTT::base::AttributeBase&)
Analisador.cpp:28: error: no matching function for call to ‘RTT::ConfigurationInterface::addAttribute(RTT::Attribute<double>*)’
/usr/local/include/rtt/ConfigurationInterface.hpp:140: note: candidates are: bool RTT::ConfigurationInterface::addAttribute(RTT::base::AttributeBase&)
Analisador.cpp:30: error: ‘class Analisador’ has no member named ‘commands’
Analisador.cpp:30: error: ‘iniciaDiagnosticoRTT’ was not declared in this scope
Analisador.cpp:31: error: ‘class Analisador’ has no member named ‘methods’
Analisador.cpp:31: error: ‘rodandoTesteRTT’ was not declared in this scope
Analisador.cpp:32: error: ‘class Analisador’ has no member named ‘methods’
Analisador.cpp:32: error: ‘incrementaTensaoRTT’ was not declared in this scope
Analisador.cpp:33: error: ‘class Analisador’ has no member named ‘methods’
Analisador.cpp:33: error: ‘lerTensaoPGRTT’ was not declared in this scope
Analisador.cpp:34: error: ‘class Analisador’ has no member named ‘methods’
Analisador.cpp:34: error: ‘lerTensaoColetorRTT’ was not declared in this scope
Analisador.cpp:36: error: ‘class Analisador’ has no member named ‘methods’
Analisador.cpp:36: error: ‘alteraTensaoPGRTT’ was not declared in this scope
Analisador.cpp:37: error: ‘class Analisador’ has no member named ‘methods’
Analisador.cpp:37: error: ‘alteraTensaoColetorRTT’ was not declared in this scope
Analisador.cpp: In member function ‘virtual void Analisador::updateHook()’:
Analisador.cpp:51: error: ‘rodandoTesteRTT’ was not declared in this scope
Analisador.cpp:53: error: ‘incrementaTensaoRTT’ was not declared in this scope
Analisador.cpp: In member function ‘bool Analisador::fimDiagnostico()’:
Analisador.cpp:69: error: ‘rodandoTesteRTT’ was not declared in this scope
Analisador.cpp: In member function ‘void Analisador::incrementaTensao()’:
Analisador.cpp:91: error: ‘alteraTensaoRTT’ was not declared in this scope
make: ** [Analisador.o] Erro 1

========

Really Thanks for helping.

Att.
Alexandre
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users