#include <gtest/gtest.h>
#include <string.h>
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
#include "ethercat_hardware/motor_heating_model.h"
Go to the source code of this file.
Classes | |
class | UpdateFromDowntimeTest |
Functions | |
MotorHeatingModelParameters | casterMotorHeatingModelParams () |
int | main (int argc, char **argv) |
TEST (MotorHeatingModelParametersEepromConfig, SelfConsistantCRC) | |
TEST_F (UpdateFromDowntimeTest, DowntimeUpdate10Seconds) | |
TEST_F (UpdateFromDowntimeTest, DowntimeUpdate100Seconds) | |
TEST_F (UpdateFromDowntimeTest, DowntimeUpdate1000Seconds) | |
TEST_F (UpdateFromDowntimeTest, DowntimeUpdate10000Seconds) |
Helper fucntion, generate motor heating parameters that are similar to caster rotation motor parameters (as defined in actuators.conf)
Definition at line 21 of file motor_heating_model_test.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 146 of file motor_heating_model_test.cpp.
TEST | ( | MotorHeatingModelParametersEepromConfig | , |
SelfConsistantCRC | |||
) |
Definition at line 132 of file motor_heating_model_test.cpp.
TEST_F | ( | UpdateFromDowntimeTest | , |
DowntimeUpdate10Seconds | |||
) |
Definition at line 78 of file motor_heating_model_test.cpp.
TEST_F | ( | UpdateFromDowntimeTest | , |
DowntimeUpdate100Seconds | |||
) |
Definition at line 95 of file motor_heating_model_test.cpp.
TEST_F | ( | UpdateFromDowntimeTest | , |
DowntimeUpdate1000Seconds | |||
) |
Definition at line 107 of file motor_heating_model_test.cpp.
TEST_F | ( | UpdateFromDowntimeTest | , |
DowntimeUpdate10000Seconds | |||
) |
Definition at line 119 of file motor_heating_model_test.cpp.