using grove i2c motor drivers #46
Replies: 1 comment 2 replies
-
Hi @davidf-2013 sorry for the confusion here. You can find this package still here https://github.com/ros-mobile-robots/grove_motor_driver An alternative would be to use https://github.com/Seeed-Studio/Grove_I2C_Motor_Driver_v1_3 as basis and add a new ros wrapper package around it. But take care which PID controller you are going to use. In case you want to use the grove_motor_driver package you need to go with the high-level PID controller (running in the hardware_interface). This will publish two motor velocities, see the following diffbot/diffbot_base/src/diffbot_hw_interface.cpp Lines 58 to 60 in 327f395 and diffbot/diffbot_base/src/diffbot_hw_interface.cpp Lines 188 to 227 in 327f395 The recommended way would be to implement the grove motor drive in the low level firmware running on the microcontroller (e.g. Teensy board), This way you would use the PID controllers running on the Teensy firmware. Let me know if you need help with that or more guidance on how to use the grove_motor_driver package together with the high level PID controllers. |
Beta Was this translation helpful? Give feedback.
-
Hi! First off, thanks for putting this stuff out there, its great. Here is my issue: it seems that things have migrated to the adafruit motor driver, but I am using the grove i2c motor driver..
from diffbot_bringup/launch/minimal.launch:
Deprecated: Use when having a grove_motor_driver together with the grove_motor_driver ROS package
<!--node name="motor_driver" pkg="grove_motor_driver" type="motor_driver.py" respawn="false" output="screen" ns="diffbot"/-->
I can't seem to find the sources for this motor_driver.py or the grove_motor_driver ROS package.. any hints?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions