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

Feature/filter #165

Closed
wants to merge 3 commits into from
Closed

Conversation

ipa-aep
Copy link

@ipa-aep ipa-aep commented Sep 6, 2017

Added a filter for minimal task space velocity of the excavator

Copy link
Contributor

@fmessmer fmessmer left a 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

Copy link
Contributor

@fmessmer fmessmer left a 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;
Copy link
Contributor

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...");
Copy link
Contributor

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

Copy link
Contributor

@fmessmer fmessmer left a 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

@ipa-aep ipa-aep closed this Sep 13, 2017
@ipa-aep ipa-aep deleted the feature/filter branch September 13, 2017 13:06
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