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

F adding component to watchdog #69

Merged
merged 34 commits into from Jul 8, 2019

Conversation

mikramarc
Copy link
Contributor

Proposed changes

Updating watchdog to handle components and multiple classes

Types of changes

What types of changes does your code introduce?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. This is a reminder of what we should look for before merging this code. I have:

  • Read and follow the contributing guidelines.
  • Checked that all tests pass with my changes
  • Added tests (automatic or manual) that prove the fix is effective or that the feature works
  • Added necessary documentation (if appropriate)
  • Added the corresponding license to each file and add the current year of any one that you modified.
  • Tested on real hardware (if appropriate)

new_log.type = log[1]
system_status.logs.append(new_log)

if 10 < len(self.watchdog_logs):
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it is better to not have this magic constant number as the 10. Better to have a parameter to define it and be able to change it if we want to

<description>The sr_watchdog package</description>
<author email="michal@shadowrobot.com">Michal Kramarczyk</author>
<maintainer email="software@shadowrobot.com">Shadow Robot Software Team</maintainer>
<license>GPL</license>
Copy link
Contributor

Choose a reason for hiding this comment

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

GPL v2

@@ -0,0 +1,86 @@
#!/usr/bin/env python
#
# Copyright (C) 2017, 2018 Shadow Robot Company Ltd - All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

wrong license? should be public?

@beatrizleon beatrizleon merged commit 8f2e533 into kinetic-devel Jul 8, 2019
@beatrizleon beatrizleon deleted the F_adding_component_to_watchdog branch July 8, 2019 12:31
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

2 participants