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

Does this package support non-pololu drivers? #30

Open
kishorekumar29 opened this issue Sep 3, 2016 · 4 comments
Open

Does this package support non-pololu drivers? #30

kishorekumar29 opened this issue Sep 3, 2016 · 4 comments

Comments

@kishorekumar29
Copy link

I am using my own motor driver instead of pololu drivers.
Do this package support the drivers other than which it is developed for., in that case what are all the changes need to be done?

@robotcdf
Copy link

robotcdf commented Sep 4, 2016

I'm sorry, but I am not the original author of this project. I'm also doing
this direction, using DFrobot drive, also has the same problem, which is in
testing now.

2016-09-03 21:12 GMT+08:00 kishorekumar29 [email protected]:

I am using my own motor driver instead of pololu drivers.
Do this package support the drivers other than which it is developed for.,
in that case what are all the changes need to be done?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#30, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ALTdgGi4g8fPWx9BmMfSI9OJeuzd7fdLks5qmXImgaJpZM4J0TPM
.

@pirobot
Copy link
Member

pirobot commented Sep 5, 2016

@kishorekumar29 - Yes, you can certainly add support for other motor drivers if you know something about Arduino programming. Most motor drivers come with an Arduino library so first you need to install that. Then take a look at the motor_driver.ino and motor_driver.h files under ros_arduino_firmware/src/libraries/ROSArduinoBridge and you can see how the current drivers are supported. Once you add your support in those two files, you'll need to add a corresponding #define in the main file ros_arduino_firmware/src/libraries/ROSArduinoBridge/ROSArduinoBridge.ino.

@robotcdf
Copy link

robotcdf commented Sep 5, 2016

thanks

2016-09-05 8:57 GMT+08:00 pirobot [email protected]:

@kishorekumar29 https://github.com/kishorekumar29 - Yes, you can
certainly add support for other motor drivers if you know something about
Arduino programming. Most motor drivers come with an Arduino library so
first you need to install that. Then take a look at the motor_driver.ino
and motor_driver.h files under ros_arduino_firmware/src/libraries/ROSArduinoBridge
and you can see how the current drivers are supported. Once you add your
support in those two files, you'll need to add a corresponding #define in
the main file ros_arduino_firmware/src/libraries/ROSArduinoBridge/
ROSArduinoBridge.ino.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#30 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALTdgET0kpBFEgTQP7d3s77QWpA1DoNiks5qm2j1gaJpZM4J0TPM
.

@patrickpoirier51
Copy link

Just finished building a diff-drive using cheap dual L298N.
I simply remapped the pins of the
DualVNH5019MotorShield::DualVNH5019MotorShield()
{
//Pin map
_INA1 = 2;
_INB1 = 3;
_INA2 = 7;
_INB2 = 8;
}

and changed timer ICR1 register value from 400 to 300

Works OK, but obviously there is no current feedback

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

No branches or pull requests

4 participants