Search found 36 matches

by robof
Tue Sep 12, 2017 12:25 pm
Forum: General Discussion
Topic: Encoder A/B Count Direction Flip in Software
Replies: 3
Views: 3702

Re: Encoder A/B Count Direction Flip in Software

I assumed the Roboclaw requires wiring EN1 with A/B and EN2 with B/A since differentially driven robots have motors spinning in opposite directions; whereas ideally I would wire both motors/encoders up the same, A/B on both EN1 and EN2. I understand that swapping the direction of either the encoder ...
by robof
Tue Sep 12, 2017 11:05 am
Forum: General Discussion
Topic: User Manual Typo
Replies: 4
Views: 3785

Re: User Manual Typo

OK I see now, sorry. The manual is different than the Python library I was using, but the internal call does in fact match the manual. Maybe someone else will see this and think to check the function parameters instead of manual parameters. def SetM1PositionPID(self,address,kp,ki,kd,kimax,deadzone,m...
by robof
Tue Sep 12, 2017 2:30 am
Forum: General Discussion
Topic: User Manual Typo
Replies: 4
Views: 3785

User Manual Typo

There appears to be a typo in the roboclaw user manual. For command 61 it shows the parameter order is D, P, I, ... when I believe it should be P, I, D. 61 - Set Motor 1 Position PID Constants The RoboClaw Position PID system consist of seven constants starting with P = Proportional, I= Integral and...
by robof
Mon Sep 11, 2017 10:44 pm
Forum: General Discussion
Topic: Encoder A/B Count Direction Flip in Software
Replies: 3
Views: 3702

Encoder A/B Count Direction Flip in Software

I take it that the Roboclaw was intended for use by differential drive robots, but I have a feeling many are not using it in this case, as I am not, and instead are driving 2 independent motors with each Roboclaw. So with that, I think it would be very beneficial to us to have a software option to s...
by robof
Fri Sep 08, 2017 10:32 pm
Forum: General Discussion
Topic: Duty Accel/Decel commands / Stop All
Replies: 1
Views: 2374

Duty Accel/Decel commands / Stop All

I've been doing a lot of work with duty accel / decel today and have ran into a few things I'd like to bring up. I've noticed that the Stop All command in Ion Studio uses the Deccel value when stopping, so not a direct stop, but a slow down and stop, (assuming you have a default decel value set.) Is...
by robof
Fri Sep 08, 2017 2:44 pm
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 18686

Re: Serial Communications problem using Linux Kernel 4.10 and 4.12

I haven't tried to do anything with the c++ here, but I have been digging more into the python library. I have found that pyserial (serialposix.py) is hanging on write on this line: abort, ready, _ = select.select([self.pipe_abort_write_r], [self.fd], [], None) Per the documentation, select.select(r...
by robof
Fri Sep 08, 2017 11:47 am
Forum: General Discussion
Topic: Save custom settings to EEPROM
Replies: 9
Views: 6458

Re: Save custom settings to EEPROM

I believe the chip in the roboclaw supports user storage (512 bytes). What I'm not 100% sure on is whether this can only be written in bootloader mode. If it's possible this can be written outside bootloader mode, is it possible this could be exposed to us? Or is it currently being used by roboclaw ...
by robof
Fri Sep 08, 2017 11:19 am
Forum: Velocity and Position Control
Topic: Speed commands don't respect min/max position
Replies: 5
Views: 4622

Re: Speed commands don't respect min/max position

I could be wrong, but I believe that is the case and only position commands follow the min/max constraints. However, you could do this with two commands right? Read your current encoder position, and add the distance you want to travel, to allow you to use a position command? Something like this? di...
by robof
Wed Sep 06, 2017 5:43 pm
Forum: General Discussion
Topic: What type of motors are people using with 2x120, 2x160, 2x200?
Replies: 2
Views: 2617

What type of motors are people using with 2x120, 2x160, 2x200?

I'm curious what type of motors people are using with these higher amperage Roboclaws. Also, what is the biggest motor (current requirement or torque) that you know of that has been used with a Roboclaw (or MCP)? I'm going to be getting into some heavier applications so am looking for some recommend...
by robof
Wed Sep 06, 2017 11:50 am
Forum: General Discussion
Topic: Serial Communications problem using Linux Kernel 4.10 and 4.12
Replies: 27
Views: 18686

Re: Serial Communications problem using Linux Kernel 4.10 and 4.12

Does anyone have any idea how hard it would be to convert the arduino c++ roboclaw library to use the correct serial headers/functions to try this in Ubuntu? I've not coded much in c++ in around 10 years so not sure how feasible this is to try to compare to the pyserial library. It seems like it sho...