Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stm32_libraries
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
humanoides
tools
stm32_libraries
Commits
bc418697
Commit
bc418697
authored
5 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Added a function to get the internal slave device memory module.
parent
746f8eef
No related branches found
No related tags found
1 merge request
!7
Multi slave
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dynamixel_base/include/dynamixel_slave_device.h
+5
-1
5 additions, 1 deletion
dynamixel_base/include/dynamixel_slave_device.h
dynamixel_base/src/dynamixel_slave_device.c
+5
-0
5 additions, 0 deletions
dynamixel_base/src/dynamixel_slave_device.c
with
10 additions
and
1 deletion
dynamixel_base/include/dynamixel_slave_device.h
+
5
−
1
View file @
bc418697
...
@@ -154,6 +154,10 @@ unsigned char dyn_v1_slave_loop(TDynamixelSlaveDevice *device,unsigned char *rx_
...
@@ -154,6 +154,10 @@ unsigned char dyn_v1_slave_loop(TDynamixelSlaveDevice *device,unsigned char *rx_
*
*
*/
*/
unsigned
char
dyn_v2_slave_loop
(
TDynamixelSlaveDevice
*
device
,
unsigned
char
*
rx_buffer
,
unsigned
char
*
error
,
unsigned
short
int
*
length
,
unsigned
char
*
data
);
unsigned
char
dyn_v2_slave_loop
(
TDynamixelSlaveDevice
*
device
,
unsigned
char
*
rx_buffer
,
unsigned
char
*
error
,
unsigned
short
int
*
length
,
unsigned
char
*
data
);
/**
* \brief
*
*/
inline
TMemory
*
dyn_slave_device_get_memory
(
TDynamixelSlaveDevice
*
device
);
#endif
#endif
This diff is collapsed.
Click to expand it.
dynamixel_base/src/dynamixel_slave_device.c
+
5
−
0
View file @
bc418697
...
@@ -448,3 +448,8 @@ return_level_t dyn_slave_device_get_return_level(TDynamixelSlaveDevice *device)
...
@@ -448,3 +448,8 @@ return_level_t dyn_slave_device_get_return_level(TDynamixelSlaveDevice *device)
else
else
return
return_all
;
return
return_all
;
}
}
TMemory
*
dyn_slave_device_get_memory
(
TDynamixelSlaveDevice
*
device
)
{
return
&
device
->
memory
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment