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

Add cpu temperature alarm #1217

Closed
wants to merge 6 commits into from
Closed

Conversation

useyourshadow
Copy link

For issue- cpu temperature alarm

Description

I created a script for issue of cpu temp alarm

Screenshot or Video

Related Issues

- Closes #1207

Testing

To test it, they can create a catkin make of the files, run roscore, then do rosrun "name_of_file" . They can test it by having the code check what their temperature is, print the output, then change the variable to be above 90 and see if it sets off an alarm. Below is a cmake.txt they can use for the catkin make

CMakeLists.txt

About This PR

  • I have updated documentation related to this change so that future members are aware of the changes I've made.

For issue- cpu temperature alarm
@cbrxyz cbrxyz changed the title Add files via upload Add cpu temperature alarm Jul 17, 2024
Copy link
Member

@cbrxyz cbrxyz left a comment

Choose a reason for hiding this comment

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

Great first attempt! The method of getting the actual CPU temperatures is correct, but it may need a little more work to integrate it into ros_alarms. Please try adding an alarm handler if possible.

@cbrxyz cbrxyz mentioned this pull request Jul 28, 2024
1 task
@useyourshadow useyourshadow self-assigned this Jul 28, 2024
@cbrxyz cbrxyz self-requested a review July 29, 2024 20:28
@uf-mil-bot
Copy link
Collaborator

Hello, it's your friendly InvestiGator bot here!

The docs preview for this PR is available at https://mil.ufl.edu/pr-docs/1217.

Last updated at:
► 91ead7e929b34c85d0a9565a4a8355a371c83e6b
► 2024-07-31 18:19 EDT

Have a great day! Go gators! 🐊

@cbrxyz
Copy link
Member

cbrxyz commented Aug 8, 2024

Sorry, I forgot that you had done the same feature and I implemented a solution in #1233... apologies!

@cbrxyz cbrxyz closed this Aug 8, 2024
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.

Add ROS alarm for high CPU temperature
3 participants