Search found 7 matches
- Thu Feb 14, 2019 11:48 am
- Forum: General Discussion
- Topic: Controlling roboclaws from a C++ Application
- Replies: 2
- Views: 2749
Re: Controlling roboclaws from a C++ Application
Wow, thank you for your reply! I never thought about trying to work with the arduino library and just replace the serial communication methods with options that are windows/osx compatible. I will definitely let you know my progress and if I have any questions!
Thanks!
Thanks!
- Thu Feb 14, 2019 7:21 am
- Forum: General Discussion
- Topic: Controlling roboclaws from a C++ Application
- Replies: 2
- Views: 2749
Controlling roboclaws from a C++ Application
Hello, I am trying to control two 2x60A roboclaws in packet serial (direct USB connection to PC) through a C++ application (specifically, a Qt C++ application). The libraries provided for roboclaw are in C# and Python. I have spent some time reading up how to use a C# .dll in C++ (COM interop) but i...
- Thu Dec 06, 2018 7:35 am
- Forum: General Discussion
- Topic: RoboClaw 2x60A Current Scaling
- Replies: 3
- Views: 3923
Re: RoboClaw 2x60A Current Scaling
Thank you for your reply. I am currently using the motor controllers to send current through solenoids made of insulated copper wire to induce magnetic fields. The solenoids are connected to the roboclaws via banana plugs (positive and negative female connectors soldered to solenoid ends, roboclaw h...
- Tue Dec 04, 2018 10:13 am
- Forum: General Discussion
- Topic: RoboClaw 2x60A Current Scaling
- Replies: 3
- Views: 3923
RoboClaw 2x60A Current Scaling
Hello, I am currently trying to control two RoboClaw 2x60A (one v6 and another v5) configured in packet serial mode. In the RoboClaw.h library, I am using these functions to control each roboclaw using an arduino: ForwardM1, BackwardM1. Both functions take in an address and speed. Questions: 1. Is t...
- Tue Nov 27, 2018 3:00 pm
- Forum: General Discussion
- Topic: Roboclaw (2x60) always has an extra command execution
- Replies: 4
- Views: 4162
Re: Roboclaw (2x60) always has an extra command execution
Thank you for your help! There was a logic error. The while() loop should've just been a for loop. Somehow, a pointer found its way into the array that pointed to two values.
Thanks!
Thanks!
- Tue Nov 27, 2018 2:34 pm
- Forum: General Discussion
- Topic: Roboclaw (2x60) always has an extra command execution
- Replies: 4
- Views: 4162
Re: Roboclaw (2x60) always has an extra command execution
1. Yes, each roboclaw has a unique address. Thank you for the suggestion.
2. Ahh, that makes sense.
3. Thank you. I will look into this.
I appreciate the help!
2. Ahh, that makes sense.
3. Thank you. I will look into this.
I appreciate the help!
- Tue Nov 27, 2018 7:30 am
- Forum: General Discussion
- Topic: Roboclaw (2x60) always has an extra command execution
- Replies: 4
- Views: 4162
Roboclaw (2x60) always has an extra command execution
Setup: I am using an arduino to talk to two roboclaws (2x60) via packet serial. The arduino has two serial TX ports being connected to each roboclaw (i.e. Serial1 -> RoboClaw1 and Serial2 -> RoboClaw2). The 5V and GND pins from RoboClaw1 is used to power the arduino. A single voltage supply is conne...