YouBotBaseTest.hpp
Go to the documentation of this file.
1 #ifndef YOU_BOT_BASE_TEST_H
2 #define YOU_BOT_BASE_TEST_H
3 
4 #include <cppunit/TestCase.h>
5 #include <cppunit/extensions/HelperMacros.h>
6 
7 #include <iostream>
8 #include <vector>
9 #include <signal.h>
13 
14 using namespace youbot;
15 
19 class YouBotBaseTest : public CppUnit::TestFixture {
20  CPPUNIT_TEST_SUITE(YouBotBaseTest);
21  CPPUNIT_TEST(youBotBaseTest_PositionMode);
22  CPPUNIT_TEST(youBotBaseTest_VelocityMode);
23  CPPUNIT_TEST(youBotBaseTest_CurrentMode);
24  CPPUNIT_TEST_SUITE_END();
25 
26 public:
28  virtual ~YouBotBaseTest();
29 
30  void setUp();
31  void tearDown();
32 
33 
34  void youBotBaseTest_PositionMode();
35  void youBotBaseTest_VelocityMode();
36  void youBotBaseTest_CurrentMode();
37 
38 private:
39  unsigned int jointNO;
40  unsigned int stepStartTime;
41  unsigned int durationNull;
42  unsigned int overallTime;
43  unsigned int startTime;
44  unsigned int updateCycle;
48 
49 };
50 
51 #endif //YOU_BOT_BASE_TEST_H
unsigned int jointNO
JointCurrentSetpoint currentSetpoint
Set-point velocity of the joint.
Definition: JointData.hpp:182
A unit test for the youBot base.
JointAngleSetpoint setAngle
unsigned int updateCycle
unsigned int overallTime
unsigned int durationNull
unsigned int stepStartTime
JointVelocitySetpoint setVel
unsigned int startTime
Set-point current of the joint.
Definition: JointData.hpp:206
Set-point angle / position of the joint.
Definition: JointData.hpp:170


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Jun 10 2019 15:46:25