Search found 33 matches

by ecorrales
Thu May 24, 2018 7:02 pm
Forum: General Discussion
Topic: Simple C or C++ example for Raspberry?
Replies: 19
Views: 15075

Re: Simple C or C++ example for Raspberry?

i have had some success with an old tutorial that uses Boost C++ serial on Raspberry.

At least I can read from the Roboclaw. Now the long road to try to come up with CRC and all the commands, etc.. and try to steal what I can from the arduino files. things shouldn't be this hard.
by ecorrales
Thu May 24, 2018 2:36 pm
Forum: General Discussion
Topic: Simple C or C++ example for Raspberry?
Replies: 19
Views: 15075

Re: Simple C or C++ example for Raspberry?

Hi, I took a look at the arduino source you guys have. This disconnect between hardware and software.. geez. Just looking at RoboClaw.h and RoboClaw.cpp.. they seem to reference what I assume to be arduino headers? I thought, ok, I will try to find arduino.h. But no, now there's more. Streams.. and ...
by ecorrales
Thu May 24, 2018 10:51 am
Forum: General Discussion
Topic: No _port. What version pyserial?
Replies: 6
Views: 6178

Re: No _port. What version pyserial?

sure. is the roboclaw_bareminimum.py the same? it doesnt get the return value i dont think but it does do the open(). no errors

Update: i tried another example: roboclaw_readversion.py

same issue.

I may have to give up on doing python..
by ecorrales
Thu May 24, 2018 9:30 am
Forum: General Discussion
Topic: Simple C or C++ example for Raspberry?
Replies: 19
Views: 15075

Simple C or C++ example for Raspberry?

Hi, sorry for having to post this but the search feature rejects some words as too common. I am also heading in the direction of C / C++ to communicate with Roboclaw, after I get the python examples to work (or not). I understand due to bottleneck being elsewhere, that there's no speed advantage ove...
by ecorrales
Thu May 24, 2018 9:08 am
Forum: General Discussion
Topic: Undervoltage
Replies: 2
Views: 2983

Re: Undervoltage

Hi, thanks.... I neglected to update this topic...

correct, the 5V was low. I at first thought it was the 5V stepdown regulators I had bought... but after more testing / tweaking / eliminating -- I ended up removing connectors and doing straight soldering.

I think that was it. working now.
by ecorrales
Wed May 23, 2018 3:04 pm
Forum: General Discussion
Topic: No _port. What version pyserial?
Replies: 6
Views: 6178

Re: No _port. What version pyserial?

[b]Still no "_port" issue.[/b] Well.. I did try to remove all python... I think I'm lucky it didn't really do anything. Apparently Raspbian uses python for system purposes? What it did remove python-serial. I tried that install again : sudo apt-get install python-serial. Here's what "...
by ecorrales
Wed May 23, 2018 10:30 am
Forum: General Discussion
Topic: No _port. What version pyserial?
Replies: 6
Views: 6178

Re: No _port. What version pyserial?

Hi, the device shows up correctly in /dev.

The bare minimum py file worked.

for the pyserial install.. i just did sudo apt-get install python-serial

Let me re-try all that.. (probably uninstall all python.. and re-do)
by ecorrales
Wed May 23, 2018 4:30 am
Forum: General Discussion
Topic: Undervoltage
Replies: 2
Views: 2983

Undervoltage

Please forgive if this not the correct place for the issue: I bought and installed the 5V stepdown switching. Power is supplied by two 18650 cells in series, charged. The Raspberry is not directly wired to anything other than being in the same chassis as the motors, the Roboclaw, the wiring, and sha...
by ecorrales
Tue May 22, 2018 3:12 pm
Forum: General Discussion
Topic: No _port. What version pyserial?
Replies: 6
Views: 6178

No _port. What version pyserial?

Hello, =============================================== The Error: =============================================== AttributeError: Roboclaw instance has no attribute '_port' =============================================== My configuration: =============================================== Python 2.7.13...
by ecorrales
Mon May 21, 2018 11:11 am
Forum: General Discussion
Topic: Variable Power Supply Protection Without Voltage Clamp?
Replies: 1
Views: 2475

Variable Power Supply Protection Without Voltage Clamp?

I tried reviewing as many posts as possible, just want to make sure I understand. configuration is: --two 12V motors (20A stall) -- one Roboclaw 2x15 Real-use will be a 12V lead-acid battery. For testing /development, debugging, etc, would like to use a variable power supply, but want to protect it....