-
Notifications
You must be signed in to change notification settings - Fork 65
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
Feature/filter #165
Feature/filter #165
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see TravisCI:
Errors << cob_frame_tracker:make /root/catkin_ws/logs/cob_frame_tracker/build.make.000.log
/root/catkin_ws/src/cob_control/cob_frame_tracker/src/cob_frame_tracker.cpp: In member function ‘void CobFrameTracker::publishTwist(ros::Duration, bool)’:
/root/catkin_ws/src/cob_control/cob_frame_tracker/src/cob_frame_tracker.cpp:281:13: error: ‘his’ was not declared in this scope
his->publishHoldTwist(period);
^
make[2]: *** [CMakeFiles/cob_frame_tracker.dir/src/cob_frame_tracker.cpp.o] Error 1
make[1]: *** [CMakeFiles/cob_frame_tracker.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once my two comments are considered, this PR will just fix the checkCartDistanceViolation-criteria...
@@ -141,7 +141,7 @@ bool CobFrameTracker::initialize() | |||
lookat_focus_frame_ = "lookat_focus_frame"; | |||
|
|||
// ABORTION CRITERIA: | |||
enable_abortion_checking_ = true; | |||
enable_abortion_checking_ = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leave the default value to true
...as it safer...
this parameter is configurable via parameter yaml and dynamic_reconfigure anyway
if ((fabs(error_msg.twist.linear.x) <= 0.005) && (fabs(error_msg.twist.linear.y) <= 0.005) && (fabs(error_msg.twist.linear.z) <= 0.005)) | ||
{ | ||
this->publishHoldTwist(period); | ||
ROS_INFO_STREAM("PUBLISHING ZERO SPEED..."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undo these changes....
there is a better way to do this, i.e. use checkCartDistanceViolation()
with according parameter
Maybe this criteria is not correctly implemented yet as documented in https://github.com/ipa320/cob_control/issues/75. Thus we should investigate and fix it there in the function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not merge
this PRs will be superseded
6bdf8cb
to
de4f2fc
Compare
Added a filter for minimal task space velocity of the excavator