List of all members.
Public Member Functions
|void ||attach (boost::shared_ptr< MotorHeatingModel > model)|
| ||Append model to list of models that need to have temperature data saved. |
|bool ||initialize ()|
| ||MotorHeatingModelCommon (ros::NodeHandle nh)|
| ||Constructor will read motor heating mode settings from node handle namespace. |
| ||MotorHeatingModelCommon ()|
| ||Constructor will use default settings for all parameters. |
| ||Disables halting caused by a motor being overtemperature. |
| ||If true, enables motor heating model. If false, motor heating model is run for any devices. |
| ||If true, then class instances will attempt to load data from a saved temperature file. |
| ||If true, each motor heating model with publish state information every 1 second. |
| ||Directory where temperature save files should be put. |
Protected Member Functions
|bool ||createSaveDirectory ()|
| ||Creates directory for saved motor heating information. |
|void ||saveThreadFunc ()|
| ||Continuously saves motor heating model state. |
< MotorHeatingModel > >
| ||List of MotorHeatingModels that need to have file data saved. |
| ||Lock around models list. |
| ||thread that will periodically save temperature data |
Definition at line 105 of file motor_heating_model.h.
Constructor & Destructor Documentation
Constructor will read motor heating mode settings from node handle namespace.
Definition at line 76 of file motor_heating_model.cpp.
Member Function Documentation
Append model to list of models that need to have temperature data saved.
Definition at line 131 of file motor_heating_model.cpp.
Continuously saves motor heating model state.
Continuously saved motor state information so state of all registered motor heating model objects. This function is run in its own thread so the saveTemperatureState() funcion of each MotorHeatingModel object should perform appropriate locking.
Definition at line 158 of file motor_heating_model.cpp.
Member Data Documentation
If true, enables motor heating model. If false, motor heating model is run for any devices.
Definition at line 133 of file motor_heating_model.h.
If true, then class instances will attempt to load data from a saved temperature file.
Definition at line 129 of file motor_heating_model.h.
If true, each motor heating model with publish state information every 1 second.
Definition at line 135 of file motor_heating_model.h.
Directory where motor model haeting data will be saved. Defaults to /var/lib/motor_heating_model If true, then temeperature data to will be periodically saved to file
Definition at line 125 of file motor_heating_model.h.
The documentation for this class was generated from the following files: