Testing done on Baxter. We're good to merge.
Removed some unnecessary comments from baxter_controller.py and added goals to the README.
Implemented heartbeat call back. Need to do heartbeat timer.
Modification to .gitignore
Test heartbeat stuff on robot. Need to pull all of the packages from Adam's repo and will have to merge those with the main baxter packages. Eventually heartbeat stuff will probably have to move to a new node to handle shutting down and starting the node. For now just test to make sure that it calculates the frequency and everything.
Merged on baxter dev machine
Tested on robot machine with kinect. It works. May want to put in a delay before we start calculating frequency as it seems it takes some time to get going at a good framerate. Then maybe check to see if it has a few bad ones in a row, maybe like a full minute of freqs below 25Hz or something before shutting down.
Made everything executable and also put tracker heartbeat in its own node. Need to add that to launch file.
Added to startup.launch. Go test on robot\!
Commented out heartbeats in baxter_controller.py
Deleted some commented code to make it more readable.
I think it should now shutdown the skeletontracker. Will have to test this tomorrow.
Fixed some bugs during testing, needed to fix checkoutput to check_output, use signal.SIGKILL, and cast the pid to an int. Also made a test.launch file that doesn't launch any baxter stuff
I think this should shut both down... let's find out.
Added test.launch
Tested, ended up using Jarivs and Jon method of spawning processes and then killing all of them. Not sure if we need to kill all child processes but I think we do. Need to do USB restart and whatnot.
Updated readme
Updated tracker_heartbeat.py to start the scripts back up and restart the usb stuff. Maybe need sudo udev reload stuff.
Started testing on the usb reset stuff. Need to do some more, work to be done in README
Modified README to indicate jobs for Adam and Jon.