bossgivol:
Jpearman, we really liked using ur SmartMotorLib in our code this year, however, we only needed one function out of it, the Motor Current Function, which we only used for one motor. Could you help me extract just this one function out of the lib because it seems to be messing with our drive motors for some reason in auton.
The smart motor library needs a refresh, it didn’t play well with PID and slaveMotor which were introduced after it was written. Perhaps I will create another simplified current measurement only library, I tend to also just use the current measurement code.
Can you post/send me the source code that you posted as a pdf file above so I can add it to the repo I’m creating. Just zip the C file and attach to a post.
1 Like
jpearman:
The smart motor library needs a refresh, it didn’t play well with PID and slaveMotor which were introduced after it was written. Perhaps I will create another simplified current measurement only library, I tend to also just use the current measurement code.
Can you post/send me the source code that you posted as a pdf file above so I can add it to the repo I’m creating. Just zip the C file and attach to a post.
Like the code?
I already submitted it in this I thought, but I’m just using ur led oib and smart motor lib
Wow, there is some awesome examples of code above.
I would post some code but most of it is either on my Github, has been posted here or is scattered around some crazy hard drive somewhere.
You attached what looks like a printed version as a PDF. Can you send me the original .c file (you name need to compress it to attach to a post).
If there is a final version, post the link to the git repo and I will fork it.
1 Like
The chit-chat is not adding anything to this thread, if you don’t have code to contribute that’s fine but lets keep the thread on topic.
1 Like
Here’s a link to most of the code in this thread (all except team 8926 I think) collected into a single location.
1 Like
Seriously ! Guess no driver control or autonomous then.
1 Like