|
From: <wa...@us...> - 2009-08-07 02:04:06
|
Revision: 20990
http://personalrobots.svn.sourceforge.net/personalrobots/?rev=20990&view=rev
Author: wattsk
Date: 2009-08-07 02:03:52 +0000 (Fri, 07 Aug 2009)
Log Message:
-----------
Docs to control_toolbox/dither and fix to runtime monitor
Modified Paths:
--------------
pkg/trunk/controllers/control_toolbox/include/control_toolbox/dither.h
pkg/trunk/stacks/hardware_test/runtime_monitor/src/runtime_monitor/monitor_panel.py
Modified: pkg/trunk/controllers/control_toolbox/include/control_toolbox/dither.h
===================================================================
--- pkg/trunk/controllers/control_toolbox/include/control_toolbox/dither.h 2009-08-07 02:02:34 UTC (rev 20989)
+++ pkg/trunk/controllers/control_toolbox/include/control_toolbox/dither.h 2009-08-07 02:03:52 UTC (rev 20990)
@@ -42,7 +42,10 @@
/***************************************************/
/*! \class Dither
+ \brief Gives white noise at specified amplitude.
+ This class gives white noise at the given amplitude when
+ update() is called. Gets parameter "~amplitude".
*/
/***************************************************/
@@ -68,8 +71,7 @@
/*!
* \brief Intializes everything and calculates the constants for the sweep.
- *
- * \param amplitude The amplitude of the dither, \f$A\f$.
+ * \param n NodeHandle to look for parameters with
*/
bool init(const ros::NodeHandle &n);
@@ -79,6 +81,9 @@
double x_;
long idum; // Random seed
+ /*
+ *\brief Returns uniform deviate between 0.0 and 1.0.
+ */
double uni();
};
}
Modified: pkg/trunk/stacks/hardware_test/runtime_monitor/src/runtime_monitor/monitor_panel.py
===================================================================
--- pkg/trunk/stacks/hardware_test/runtime_monitor/src/runtime_monitor/monitor_panel.py 2009-08-07 02:02:34 UTC (rev 20989)
+++ pkg/trunk/stacks/hardware_test/runtime_monitor/src/runtime_monitor/monitor_panel.py 2009-08-07 02:03:52 UTC (rev 20990)
@@ -101,7 +101,6 @@
self._used_items = 0
def __del__(self):
- print 'Unregistering from /diagnostics'
self._subscriber.unregister()
def change_diagnostic_topic(self, topic):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|