Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dynamixel_motor_cont
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
drivers
dynamixel_motor_cont
Merge requests
!3
Add support xm 540
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add support xm 540
add_support_xm_540
into
master
Overview
0
Commits
2
Pipelines
0
Changes
4
Merged
Sergi Hernandez
requested to merge
add_support_xm_540
into
master
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
4
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
6f1777a8
2 commits,
2 years ago
4 files
+
122
−
23
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
include/dynamixel_motor.h
+
19
−
19
Options
@@ -126,51 +126,51 @@ class CDynamixelMotor
bool
enabled
;
protected:
/**
* \brief
* \brief
*
*/
unsigned
int
from_angles
(
double
angle
);
void
reset_motor
(
void
);
/**
* \brief
* \brief
*
*/
unsigned
int
from_speeds
(
double
spee
d
);
void
get_model
(
voi
d
);
/**
* \brief
* \brief
*
*/
double
to_angles
(
unsigned
int
counts
);
void
read_register
(
TDynReg
reg
,
unsigned
int
&
value
);
/**
* \brief
* \brief
*
*/
double
to_speeds
(
unsigned
int
counts
);
void
write_register
(
TDynReg
reg
,
unsigned
int
value
);
public:
/**
* \brief
*
*/
void
re
set_
motor
(
void
);
void
set_
control_mode
(
control_mode
mode
);
/**
* \brief
* \brief
*
*/
void
get_model
(
void
);
double
to_angles
(
unsigned
int
counts
);
/**
* \brief
* \brief
*
*/
void
set_control_mode
(
control_mode
mode
);
double
to_speeds
(
signed
int
counts
);
/**
* \brief
* \brief
*
*/
void
read_register
(
TDynReg
reg
,
unsigned
int
&
valu
e
);
unsigned
int
from_angles
(
double
angl
e
);
/**
* \brief
* \brief
*
*/
void
write_register
(
TDynReg
reg
,
unsigned
int
value
);
public:
signed
int
from_speeds
(
double
speed
);
/**
* \brief
*
@@ -181,7 +181,7 @@ class CDynamixelMotor
*
*/
void
get_servo_info
(
TDynamixel_info
&
info
);
/* configuration functions */
/* configuration functions */
/**
* \brief
*
Loading