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/51 publish heartbeat #55

Merged
merged 18 commits into from Nov 3, 2018
Merged

Conversation

LoyVanBeek
Copy link
Member

@LoyVanBeek LoyVanBeek commented Feb 3, 2018

This depends on using our fork of ROS diagnostics

Fixes #51

Copy link
Contributor

@reinzor reinzor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please call the force update methods if you are timing it yourself

updater = diagnostic_updater.Updater()
updater.setHardwareID("none")
updater.add(diagnostic_updater.Heartbeat())
rospy.Timer(rospy.Duration(1), lambda event: updater.update())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the force_update method, the update method is already throttled on 1hz


ros::Timer t = nh.createTimer(ros::Duration(1.0),
(const ros::TimerCallback &) [](const ros::TimerEvent& te)->void {
g_diagnostic_updater->update();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please call forece update

skybiometry_ros/scripts/face_properties_node Outdated Show resolved Hide resolved
tensorflow_ros/scripts/object_recognition_node Outdated Show resolved Hide resolved
reinzor
reinzor previously approved these changes Apr 11, 2018
Copy link
Contributor

@reinzor reinzor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add diagnostics to all running nodes

@reinzor
Copy link
Contributor

reinzor commented Jul 3, 2018

Also the Jenkins build is using indigo on trusty, I think this causes problems with the C++11 syntax

@reinzor
Copy link
Contributor

reinzor commented Jul 7, 2018 via email

@reinzor
Copy link
Contributor

reinzor commented Jul 8, 2018

Nice work, I think we should address the other nodes as well in this PR. Then we can merge next Tuesday :)

@reinzor
Copy link
Contributor

reinzor commented Sep 13, 2018

@LoyVanBeek, are you planning to add these in the near future?

@LoyVanBeek
Copy link
Member Author

Would be nice, but my time the coming weeks is severely limited and then I'm off on vacation for a couple of weeks, so fist time I can get around to it will be end of October.

@reinzor
Copy link
Contributor

reinzor commented Nov 3, 2018

Tested

reinzor
reinzor previously approved these changes Nov 3, 2018
@reinzor reinzor merged commit 31d39fb into master Nov 3, 2018
@Rayman Rayman removed the Test label Nov 3, 2018
@LoyVanBeek LoyVanBeek deleted the feature/51_publish_heartbeat branch November 3, 2018 14:23
ar13pit pushed a commit that referenced this pull request May 13, 2019
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.

None yet

3 participants