ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

pr2_computer_monitor with lm_sensors

asked 2011-02-15 10:36:40 -0500

mjcarroll gravatar image

I would like to create a similar node as the pr2_computer_monitor, but I do not have access to a computer with IMPI (as I would assume most people don't have). I was wondering if anyone has written a similar monitoring node with lm_sensors, which is something that just about every computer is capable of running.

I am mainly interested in temperatures, voltages, and fan speeds, as my robot runs in a high-temperature, battery operated environment (Alabama in the summer).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-02-15 14:43:28 -0500

evanmj gravatar image

I have not yet tried it, but I believe you use the pr2_computer_monitor as an example to build a package that will pull information from stdout and stderr of a given command. If you look in the bottom of nvidia_smi_util.py, you can see how to execute a commmand and pull its output. It launches: sudo nvidia-smi -a, so you could change that to an lm_sensors command that that outputs your desired temperature reading.

Also, there is a package called nvidia_gpu_monitor, but I have not tried it.

edit flag offensive delete link more

Comments

Perhaps I'll branch off of the pr2_computer_monitor package and make a more generic one for lm_sensors. I figured that it was possible, but I was trying to save a bit of work on something that is far from critical for our project. Thanks for the help.
mjcarroll gravatar image mjcarroll  ( 2011-02-15 14:59:22 -0500 )edit
We would be interested in such a package. Please post an announcement on ros-users if you get something ready to publish (or test).
joq gravatar image joq  ( 2011-02-15 15:06:36 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2011-02-15 10:36:40 -0500

Seen: 369 times

Last updated: Feb 15 '11