RTT 2.x

Measure a time in a component

Hi all!

I've finished my project in University, and now I want to do some tests.

For example, in each iteration of the component, I want to know what the running time exactly (the period is 0.01 seconds, but the running time should be less).

Is there any function within the Orocos library to measure that time? Can I use clock() function in c++, or is there another more accurate?

Thank you very much.

Jose

PS: Soon I will upload a video of my parallel robot 3DOF PRS with all the control implemented by Orocos (with Xenomai).

Strange behaviour Reporter

Hey,

I am seeing strange behaviour of the Reporter component. Click below to read the rest of this post.

Using complex data types with Corba

Hi all,

I'm trying to using complex data types with Corba but till now it doesn't work.

I tried to use typegen. It seams work and it generates a typekit folder with some cpp files, the corba IDL, and so on. Click below to read the rest of this post.

Orocos Toolchain ROS v0.4.0.2 Released !

Based on the Orocos Toolchain v2.4.0, this release fixes the 'type mismatch' issue for Ubuntu Lucid users. Also other small fixes for the Orocos-ROS integration have been applied, such as a cmake problem when generating typekits and generating a correct header file name in the typekit/ subdirectory. This project is available on http://www.ros.org/wiki/orocos_toolchain_ros

Building Soem drivers fails

Hi,

I just wanted to compile my own soem drivers but I get an error when compiling. The drivers worked before and I did not change anything to the drivers. Click below to read the rest of this post.

Problem with reporting

Hey,

I have two (related) problems, two things that used to work fine: When I start the Reporter to report a specific port that contains an existing ros-msg, I get the following error continuously:

15.569 [ ERROR  ][Master] Failed to build 'Property</geometry_msgs/Vector3> Theta' from given DataSourceBase. Returning default.
15.569 [ ERROR  ][Master] Failed to build 'Property<float64> x' from given DataSourceBase. Returning default.
15.569 [ ERROR  ][Master] Failed to build 'Property<float64> y' from given DataSourceBase. Click below to read the rest of this post.

Segmentation fault when typing "ls" in the deployer

Hello!

I am having a problem with my deployer. Every time I start it (even without loading any component) and I type ls, the deployer crashes with a segmentation fault.

Here is the output of the terminal when I start the deployer:

ferraraf@ferraraf-desktop:/home$ deployer-gnulinux -linfo
0.000 [ Info   ][Logger] Real-time memory: 14096 bytes free of 20480 allocated.
0.000 [ Info   ][Logger] Setting OCL factory for real-time logging
0.000 [ Info   ][Logger] No RTT_COMPONENT_PATH set. Click below to read the rest of this post.

invalidated during write()

Hey,

I am having trouble when streaming an OrocosPort to ROS. Very often I get the following message:

Deployer [S]> 7.884 [ ERROR ][Master] A channel of port Joint_pos_port has been invalidated during write(), it will be removed

After this, the associated rostopic is still there but rostopic echo or rxplot doesn't do anything anymore. Click below to read the rest of this post.

Service and ServiceRequester implementation

Hi all,

I'm working with the exercise 5 and I'm trying to define the provided and required services in two classes which implement the interfaces Service and ServiceRequester.

I also defined two components that implement the my own classes.

Now the problem is that when I launch the application I can not see the services in the task browser. Both, the hello and the world components have no services. Click below to read the rest of this post.

libopencv_core.so.2.3: cannot open shared object file

since I updated to the latest orocos-toolchain I can no more load components which are linked against opencv. Do you know what this issue may cause?

[ ERROR ][DeploymentComponent::import] libopencv_core.so.2.3: cannot open shared object file: No such file or directory

dani