Skip to content

Fix instabilities in JTC unittests #457

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

Merged
merged 25 commits into from
Feb 19, 2020
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
155779a
Rename initState() -> waitForInitializedState()
martiniil Feb 10, 2020
c8adddb
Rename waitForState() -> waitForActionGoalState()
martiniil Feb 10, 2020
97b84d3
Increase sleep time in wait-functions
martiniil Feb 10, 2020
6c7ca2f
Introduce (hopefully) better timeouts
martiniil Feb 10, 2020
7e6afdf
Remove guessing of publisher delay
martiniil Feb 10, 2020
d489083
Separate waiting for traj and waiting for goal state
martiniil Feb 10, 2020
78f18d1
Sleep during traj execution
martiniil Feb 10, 2020
41e3cfa
Try to make unittest more stable
martiniil Feb 11, 2020
46c339c
Rename constants
martiniil Feb 12, 2020
be17b15
Notify test about successful parameter update
martiniil Feb 12, 2020
1833d26
Make stopramp tests more stable
martiniil Feb 12, 2020
5b51bbf
Introduce EPS for general double comparison
martiniil Feb 13, 2020
0038594
Fix how we assert that controller is running
martiniil Feb 13, 2020
af9f8fc
Minor fixes
martiniil Feb 13, 2020
a4c6fcd
Add traj execution time to wait-periods
martiniil Feb 13, 2020
894bd53
Add missing EPS to double comparison
martiniil Feb 13, 2020
4a2847a
Repeat stop-check to be sure the values have settled
martiniil Feb 13, 2020
8d3270c
Wait for stop when goal is aborted
martiniil Feb 13, 2020
cfeba3e
Fix return statement
martiniil Feb 13, 2020
519f9b6
Execution does not stop when goal gets aborted
martiniil Feb 13, 2020
466631e
Comment out tolerance check tests until #48 is solved.
martiniil Feb 14, 2020
51f0d4e
Let getState() return by value
martiniil Feb 18, 2020
bb795ce
Make initialization of variables consistent
martiniil Feb 18, 2020
6781ddc
Re-enable tolerance tests
martiniil Feb 19, 2020
5aa19e2
Add test_common.h
martiniil Feb 19, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
pkg="joint_trajectory_controller"
type="joint_trajectory_controller_test"
args='--gtest_filter="$(arg gtest_filter)"'
time-limit="85.0"/>
time-limit="250.0"/>
</launch>
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
pkg="joint_trajectory_controller"
type="joint_trajectory_controller_stopramp_test"
args='--gtest_filter="$(arg gtest_filter)"'
time-limit="85.0"/>
time-limit="250.0"/>
</launch>
Loading