lebai-motion-control  3.1.6
lebai motion control C interface
lmc_joint.h
Go to the documentation of this file.
1 
7 #ifndef LMC_JOINT
8 #define LMC_JOINT
9 
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif /* __cplusplus */
15 
21 typedef struct lmc_joint_state {
22  double pos;
23  double vel;
24  double acc;
25  double torque;
26  // double extra; /*!< Extra data */
28 
29 
35 typedef struct lmc_joint_cmd {
36  double pos_cmd;
37  double vel_cmd;
38  double acc_cmd;
39  double torque_cmd;
41 
45 typedef struct lmc_all_joint_poses {
48 
55  size_t sample_size;
58 
59 #ifdef __cplusplus
60 }
61 #endif /* __cplusplus */
62 
63 #endif /* LMC_JOINT */
struct lmc_joint_state lmc_joint_state_t
joint state data
double pos_cmd
Definition: lmc_joint.h:36
struct lmc_joint_cmd lmc_joint_cmd_t
joint command data
joint command data
Definition: lmc_joint.h:35
#define LMC_MAX_SAMPLE_DATA_SIZE
Maximum sample data array size.
Definition: lmc_config.h:48
double torque_cmd
Definition: lmc_joint.h:39
double acc_cmd
Definition: lmc_joint.h:38
#define LMC_MAX_JOINT_NUM
maximum number of joints
Definition: lmc_config.h:24
Global configuration macro.
double torque
Definition: lmc_joint.h:25
#define LMC_MAX_IK_SOLUTIONS
Maximum ik solutions.
Definition: lmc_config.h:44
joint state data
Definition: lmc_joint.h:21
struct lmc_all_sampled_joint_state lmc_all_sampled_joint_state_t
All sample joint state data.
struct lmc_all_joint_poses lmc_all_joint_poses_t
Data structure to store all joint positions.
Data structure to store all joint positions.
Definition: lmc_joint.h:45
All sample joint state data.
Definition: lmc_joint.h:54
double vel_cmd
Definition: lmc_joint.h:37