Classes | Macros | 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
 

Macros

#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@s.nosp@m.hado.nosp@m.wrobo.nosp@m.t.co.nosp@m.m, conta.nosp@m.ct@s.nosp@m.hadow.nosp@m.robo.nosp@m.t.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 version 2 of the License.

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.

Macro Definition Documentation

#define COMMAND_TYPE   ETHERCAT_DATA_STRUCTURE_0230_PALM_EDC_COMMAND

Definition at line 31 of file motor_updater_test.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 166 of file motor_updater_test.cpp.

TEST ( Utils  ,
motor_updater_freq_low_tolerancy   
)

Definition at line 132 of file motor_updater_test.cpp.

TEST ( Utils  ,
motor_updater_freq_medium_tolerancy   
)

Definition at line 143 of file motor_updater_test.cpp.

TEST ( Utils  ,
motor_updater_freq_high_tolerancy   
)

Definition at line 154 of file motor_updater_test.cpp.



sr_robot_lib
Author(s): Ugo Cupcic, Toni Oliver
autogenerated on Tue Oct 13 2020 04:01:58