I am seeing strange behaviour of the Reporter component. I have all components running at 5khz and I set the Reporter to run at 100 Hz: loadComponent("Reporter","OCL::FileReporting") setActivity("Reporter",0.01,LowestPriority,ORO_SCHED_RT)
When I do reportData("component_name","data_name") and then start and stop the Reporter, everything goes fine: I get data_name sampled at 100 Hz in the reports.dat file. However, when I do reportPort("component_name","port_name") I can start the Reporter but I cannot stop it: it returns 'false' and keeps adding data to the reports.dat file. Moreover, the data is not sampled at 100Hz but at +- 3500Hz??
Deployer [S]> Reporter.stop = false Deployer [S]> Reporter.stop 166.835 [ ERROR ][DeploymentComponent::connectPorts] Failed to stop thread Activity: step() function did not return after Failed to stop thread Activity: step() function did not return after 0.05 seconds. = false
I am using the orocos-ros-toolchain and did an upgrade today.