CORC Project
CANOpen Robot Controller Software Documentation
CopleyDrive.h
Go to the documentation of this file.
1 
15 #ifndef COPLEYDRIVE_H_INCLUDED
16 #define COPLEYDRIVE_H_INCLUDED
17 #include "Drive.h"
18 
23 class CopleyDrive : public Drive {
24  public:
30  CopleyDrive(int NodeID);
31 
36  ~CopleyDrive();
42  bool Init();
43 
52  bool initPosControl(motorProfile posControlMotorProfile);
53 
62  bool initVelControl(motorProfile velControlMotorProfile);
63 
72  bool initTorqControl();
93  std::vector<std::string> generatePosControlConfigSDO(motorProfile positionProfile);
110  std::vector<std::string> generateVelControlConfigSDO(motorProfile velocityProfile);
111 };
112 
113 #endif
~CopleyDrive()
Destroy the Copley Drive object.
Definition: CopleyDrive.cpp:14
CopleyDrive(int NodeID)
Construct a new Copley Drive object.
Definition: CopleyDrive.cpp:11
Abstract class describing a Drive used to communicate with a CANbus device. Note that many functions ...
Definition: Drive.h:105
bool initVelControl(motorProfile velControlMotorProfile)
Definition: CopleyDrive.cpp:31
std::vector< std::string > generatePosControlConfigSDO(motorProfile positionProfile)
Overloaded method from Drive, specifically for Copley Drive implementation. Generates the list of com...
Definition: CopleyDrive.cpp:42
int NodeID
The CAN Node ID used to address this particular drive on the CAN bus.
Definition: Drive.h:111
std::vector< std::string > generateVelControlConfigSDO(motorProfile velocityProfile)
Overloaded method from Drive, specifically for Copley Drive implementation. Generates the list of com...
Definition: CopleyDrive.cpp:46
bool initTorqControl()
Definition: CopleyDrive.cpp:39
An implementation of the Drive Object, specifically for Copley-branded devices (currently used on the...
Definition: CopleyDrive.h:23
struct to hold desired velocity, acceleration and deceleration values for a drives motor controller p...
Definition: Drive.h:94
The Drive class is used to interface with a CANOpen motor drive. According to the CiA402 standard...
bool initPosControl(motorProfile posControlMotorProfile)
Definition: CopleyDrive.cpp:22