Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hrsi_representation] Adding correct smoothing and unittest #131

Merged
merged 2 commits into from
Jun 18, 2015

Conversation

cdondrup
Copy link
Member

As the title says, this adds a unittest and improvements to everything that proved to be faulty running the unittest.

Smoothing: Has been done via a simple sleep, now handled correctly by creating the mean over the poses received during the smoothing interval

Decay: Now uses the message times instead of time.now which allows to use this on bags and the live system. Since the ppl tracker publishes continuously, this shouldn't present a problem. Decay is not a vital function in the first place anyway.

General processing: The qsr_lib qtc request is too slow to work in real-time let alone with sped up bag replay. Therefore, the processing has been moved to a separate thread which runs at 30Hz by default (60Hz for the sped up test)

@cdondrup
Copy link
Member Author

The test passed but maybe @marc-hanheide can have a look if it is in the right location or if my test are flawed in general.

@marc-hanheide
Copy link
Member

nope... I think I found the culprit: ros/catkin#728 ... they have destroyed our setup by changing catkin and rostest
see also ros/ros_comm#611

@cdondrup
Copy link
Member Author

Again a patch that breaks our system... But at least it's not my fault 😁

@cdondrup
Copy link
Member Author

Is this OK to merge then? No one uses this so far and the test passes.

marc-hanheide added a commit that referenced this pull request Jun 18, 2015
[hrsi_representation] Adding correct smoothing and unittest
@marc-hanheide marc-hanheide merged commit df3a257 into strands-project:hydro-devel Jun 18, 2015
@cdondrup cdondrup deleted the smoothing_test branch June 18, 2015 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants