Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spinal][Dynamixel] create a interface to control dynamixel with Spinal #594

Closed
wants to merge 32 commits into from

Conversation

sugihara-16
Copy link
Contributor

What is this

Workaround to support direct Dynamixel control from Spinal.

Details

The followings are supported:

  • Sending and receiving commands via rostopic (e.g. send goal position 2700 to ID 1 servo)
    $ rostopic pub -1 /servo/target_states spinal/ServoControlCmd "index : [1] angles: [2700]"
  • Setting servo configuration via rosservice (e.g. set gains p = 2500, d = 500, i = 10000 to ID 1 servo)
    $ rosserive call /direct_servo_config spinal/SetDirectServoConfig “command: 2 data: [1, 2500, 500, 10000]”

TODO

  • make a common servo interface that works in both Spinal and Neuron
  • implimente gui configurator for direct control servos
  • separate the current servo interface into TX/RX-related part and the other

sugihara-16 and others added 30 commits March 1, 2024 18:03
…rameter can be set to only during torqe off state.
[Spinal][Servo] debug around reading servo from rqt
…xel. The current freq. for servo is 100hz, and the current freq. for dshot is 125hz. Tested on real machine.
@sugihara-16
Copy link
Contributor Author

This PR itself cannot be compatible with the current master system, so it is integrated into #630 .

@sugihara-16 sugihara-16 closed this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants