Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
darwin_stm32_fw
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
darwin
darwin_stm32_fw
Merge requests
!5
Dynamixel manager
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Dynamixel manager
dynamixel_manager
into
master
Overview
0
Commits
36
Pipelines
0
Changes
6
Merged
Sergi Hernandez
requested to merge
dynamixel_manager
into
master
5 years ago
Overview
0
Commits
36
Pipelines
0
Changes
6
Expand
0
0
Merge request reports
Viewing commit
4128130b
Prev
Next
Show latest version
6 files
+
71
−
86
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
4128130b
Changes to use the new implementation of the dynamixel slave interface.
· 4128130b
Sergi Hernandez
authored
5 years ago
include/darwin_conf.h
+
6
−
5
Options
#ifndef _DARWIN_CONF_H
#ifndef _DARWIN_CONF_H
#define _DARWIN_CONF_H
#define _DARWIN_CONF_H
#define RAM_SIZE 1024
#define RAM_SIZE
1024
#define EEPROM_SIZE 256
#define EEPROM_SIZE
256
/* Dynamixel slave configuration */
/* Dynamixel slave configuration */
#define EEPROM_DYN_SLAVE_BASE_ADDRESS1 ((unsigned short int)0x0000)
#define EEPROM_DYN_SLAVE_BASE_ADDRESS1 ((unsigned short int)0x0000)
#define EEPROM_DYN_SLAVE_BASE_ADDRESS2 ((unsigned short int)0x0010)
#define EEPROM_DYN_SLAVE_BASE_ADDRESS2 ((unsigned short int)0x0010)
#define DEFAULT_DEVICE_MODEL 0x
73
00
#define DEFAULT_DEVICE_MODEL 0x00
1D
#define DEFAULT_FIRMWARE_VERSION 0x0001
#define DEFAULT_FIRMWARE_VERSION 0x0001
#define DEFAULT_DEVICE_ID 0x000
1
#define DEFAULT_DEVICE_ID 0x000
3
#define DEFAULT_BAUDRATE 0x00
10
#define DEFAULT_BAUDRATE 0x00
22
#define DEFAULT_RETURN_DELAY 0x0000
#define DEFAULT_RETURN_DELAY 0x0000
#define DEFAULT_RETURN_LEVEL 0x0002
#define DEFAULT_RETURN_LEVEL 0x0002
#define MAX_DYN_SLAVE_TX_BUFFER_LEN 1024
#define MAX_DYN_SLAVE_TX_BUFFER_LEN 1024
#define MAX_DYN_SLAVE_RX_BUFFER_LEN 1024
#define MAX_DYN_SLAVE_RX_BUFFER_LEN 1024
#define MAX_DYN_SLAVE_REG_BUFFER_LEN 1024
#define MAX_DYN_SLAVE_REG_BUFFER_LEN 1024
#define MAX_NUM_SLAVE_DEVICES 4
/* GPIO configuration */
/* GPIO configuration */
#define RAM_GPIO_BASE_ADDRESS ((unsigned short int)0x0100)
#define RAM_GPIO_BASE_ADDRESS ((unsigned short int)0x0100)
Loading