-
Notifications
You must be signed in to change notification settings - Fork 324
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
Port over tests for joint_trajectory_controller from ROS1 #49
Comments
Gonna be updating missing tests here. init_joint_trajectory_test missing tests
hold_trajectory_builder_test missing testsAll tests missing. HoldTrajectoryBuilder not implemented yet. joint_partial_trajectory_controller_test missing tests
joint_trajectory_controller_test missing tests
|
@bmagyar I have a question regarding: https://github.com/ros-controls/ros_controllers/blob/noetic-devel/joint_trajectory_controller/test/joint_partial_trajectory_controller_test.cpp#L542 If I understand correctly that test, it does the following. Given 3 joints. Send trajectory with several points: [(0, 0, 0), (1, 2, 3), (2, 4, 6)] Send a partial trajectory only for the first joint [(-1), (-2)]. Where only the second point is in the future. Expects that when the second trajectory time has passed, the joints are at: (-2, 4, 6). Since the first joint follows the partial trajectory, and the other joints follow the original trajectory. Is this behavior correct? Shouldn't the second trajectory fully stop the execution of the first one, and then move only the partial joints, so the final state is (-2, 2, 3)? I don't think neither of these behaviors are currently implemented, but I'd like to get a better understanding before implementing it. |
Scope is up to you, a 500 line PR is a good chunk to review, feel free to open a better-scope follow-up ticket for what's left
https://github.com/ros-controls/ros_controllers/tree/melodic-devel/joint_trajectory_controller/test
The text was updated successfully, but these errors were encountered: