Classes | Defines | Functions
motor_updater_test.cpp File Reference

This is a set of unit tests for the ethercat drivers. More...

#include "sr_robot_lib/motor_updater.hpp"
#include <gtest/gtest.h>
#include <vector>
Include dependency graph for motor_updater_test.cpp:

Go to the source code of this file.

Classes

class  MotorUpdaterTest
struct  UpdaterResult

Defines

#define COMMAND_TYPE   ETHERCAT_DATA_STRUCTURE_0230_PALM_EDC_COMMAND

Functions

int main (int argc, char **argv)
 TEST (Utils, motor_updater_freq_low_tolerancy)
 TEST (Utils, motor_updater_freq_medium_tolerancy)
 TEST (Utils, motor_updater_freq_high_tolerancy)

Detailed Description

This is a set of unit tests for the ethercat drivers.

Author:
Ugo Cupcic <ugo@shadowrobot.com>, <contact@shadowrobot.com>
Date:
Tue Jun 7 09:15:21 2011

Copyright 2011 Shadow Robot Company Ltd.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Definition in file motor_updater_test.cpp.


Define Documentation

#define COMMAND_TYPE   ETHERCAT_DATA_STRUCTURE_0230_PALM_EDC_COMMAND

Definition at line 32 of file motor_updater_test.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 167 of file motor_updater_test.cpp.

TEST ( Utils  ,
motor_updater_freq_low_tolerancy   
)

Definition at line 133 of file motor_updater_test.cpp.

TEST ( Utils  ,
motor_updater_freq_medium_tolerancy   
)

Definition at line 144 of file motor_updater_test.cpp.

TEST ( Utils  ,
motor_updater_freq_high_tolerancy   
)

Definition at line 155 of file motor_updater_test.cpp.



sr_robot_lib
Author(s): Ugo Cupcic, Toni Oliver
autogenerated on Mon Jul 1 2019 20:06:26