Search found 31 matches

by nickosinski
Wed Oct 19, 2016 11:44 am
Forum: Velocity and Position Control
Topic: Backward / Reverse with SpeedAccelDistanceM1 Function?
Replies: 13
Views: 15419

Re: Backward / Reverse with SpeedAccelDistanceM1 Function?

Thank you for your reply! I've figured out why it's not working, but it poses another question. Here's the command I'm using: roboclaw.SpeedAccelDistanceM1(address,1800,(speed*1.029),distance-2600, 1); roboclaw.SpeedAccelDistanceM2(address,1800,speed,distance-2665, 1); The reason for these adjustmen...
by nickosinski
Wed Oct 19, 2016 3:52 am
Forum: Velocity and Position Control
Topic: Backward / Reverse with SpeedAccelDistanceM1 Function?
Replies: 13
Views: 15419

Backward / Reverse with SpeedAccelDistanceM1 Function?

Hi all,

I'm passing a negative value for speed in the SpeedAccelDistanceM1, but not getting the expected results; clearly this is wrong. Can the SpeedAccelDistanceM1 function be used to go backward? If not, then how should I go about it?

Thank you again!

Nick.
by nickosinski
Wed Oct 19, 2016 3:26 am
Forum: General Discussion
Topic: Distance Values over 32,767 SpeedAccelDistanceM1
Replies: 2
Views: 3840

Re: Distance Values over 32,767 SpeedAccelDistanceM1

Thank you for the reply.

I tried that and it didn't work, but I found the problem. I was passing the value in a variable declared as int rather than uint32_t and when I changed that, it worked :)

Thank you again for your help, as always, you guys are great!

Nick.
by nickosinski
Tue Oct 18, 2016 7:24 am
Forum: General Discussion
Topic: Distance Values over 32,767 SpeedAccelDistanceM1
Replies: 2
Views: 3840

Distance Values over 32,767 SpeedAccelDistanceM1

Hi all,

Would someone explain to my why, if I sent a value for distance in SpeedAccelDistanceM1 of 65000, everything works fine. However, if I use a value of x*1000 and pass a value of 65 for x, the function breaks down. What am I missing?

Thank you as always!

Nick.
by nickosinski
Thu Oct 13, 2016 3:33 am
Forum: General Discussion
Topic: Old RoboClaws... what library should I be using?
Replies: 5
Views: 6407

Re: Old RoboClaws... what library should I be using?

Thanks again for the reply. I'll give it another try.
by nickosinski
Wed Oct 12, 2016 6:26 am
Forum: User Projects
Topic: See the RoboClaw 2X30A wired up to Arduino UNO and 2 Motors
Replies: 2
Views: 18158

Re: See the RoboClaw 2X30A wired up to Arduino UNO and 2 Motors

Hi Marcus, Great project! I'm actually in the midst of my own robot build using the RoboClaws and Arduino boards. I haven't explored RPi yet, but I probably will down the road. For now I'm focusing my attention on integrating an Android tablet as the "brain" of the robot that connects to t...
by nickosinski
Fri Oct 07, 2016 2:00 pm
Forum: General Discussion
Topic: Old RoboClaws... what library should I be using?
Replies: 5
Views: 6407

Re: Old RoboClaws... what library should I be using?

To clarify... I'm trying to use the following function:

RoboClaw::ReadCurrents

...but it doesn't seem to work. Thanks again for your help.
by nickosinski
Fri Oct 07, 2016 1:34 pm
Forum: General Discussion
Topic: Old RoboClaws... what library should I be using?
Replies: 5
Views: 6407

Re: Old RoboClaws... what library should I be using?

Thank you for the reply, but if I don't upgrade then I can't get the current values?

Thanks again!
by nickosinski
Fri Oct 07, 2016 1:30 pm
Forum: General Discussion
Topic: Packet Serial Mode: Multiple Motor Controllers
Replies: 14
Views: 18436

Re: Packet Serial Mode: Multiple Motor Controllers

Hey... you may already have your solution, but I actually struggled with this a bit myself and managed to get the packet serial working on my ROVer. I have a few videos that talk it through if you're still figure it out... you're probably more advanced than me, so maybe skip to the last one if you'r...
by nickosinski
Thu Oct 06, 2016 5:37 am
Forum: User Projects
Topic: ROVer the Robot is coming to life! Thanks RoboClaw!
Replies: 1
Views: 13972

ROVer the Robot is coming to life! Thanks RoboClaw!

Hi all, Just wanted to share my progress on ROVer and finally getting the Packet Serial communication working with 2 RoboClaws and 4 motors working ...and running/turning. Very excited for the next steps. Here's a video: https://www.youtube.com/watch?v=OeWMLh6WS8w&list=PLfMMKaV7mUpzXe2v_atVz2TKW...