YouBotBaseTestWithoutThread.hpp
Go to the documentation of this file.
1 #ifndef YouBotBaseTestWithoutThread_HPP
2 #define YouBotBaseTestWithoutThread_HPP
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 YouBotBaseTestWithoutThread : public CppUnit::TestFixture {
20  CPPUNIT_TEST_SUITE(YouBotBaseTestWithoutThread);
21  CPPUNIT_TEST(YouBotBaseTestWithoutThread_PositionMode);
22  CPPUNIT_TEST(YouBotBaseTestWithoutThread_VelocityMode);
23  CPPUNIT_TEST(YouBotBaseTestWithoutThread_CurrentMode);
24  CPPUNIT_TEST_SUITE_END();
25 
26 public:
28  virtual ~YouBotBaseTestWithoutThread();
29 
30  void setUp();
31  void tearDown();
32 
33 
34  void YouBotBaseTestWithoutThread_PositionMode();
35  void YouBotBaseTestWithoutThread_VelocityMode();
36  void YouBotBaseTestWithoutThread_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;
49 
50 };
51 
52 #endif //YouBotBaseTestWithoutThread_HPP
EthercatMasterInterface * ethercatMaster
Set-point velocity of the joint.
Definition: JointData.hpp:182
The Ethercat Master interface.
A unit test for one youbot joint communicating without a thread.
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