Page 1 of 1

Motor Busy with 2 motors not working?

Posted: 09 Feb 2021 21:59
by surfrider
Now I got cpp4Robots work, first many thanks for this, really love it!

I'm using two motors to drive my robot.
Is there a bug? If I call

isMotorBusy(E_Port_BC, E_MotorType_Large)

while the robot is driving, the call returns false. while:

isMotorBusy(E_Port_B, E_MotorType_Large) || isMotorBusy(E_Port_C, E_MotorType_Large)

returns true.

Bug?

Are there more motor functions that do not work with a dual motor port?

Re: Motor Busy with 2 motors not working?

Posted: 10 Feb 2021 08:01
by cpp4robots_admin
Looks like a bug.
We take a look at it.

Sorry, we focus mainly on development and we do not have enough time for testing.
Therefore, it is possible that there are some bugs in the API.
Thank you very much for their discovery and description.

Cpp4Robots Support

Re: Motor Busy with 2 motors not working?

Posted: 10 Feb 2021 08:21
by surfrider
No problem, very happen with the current version, I can make workarounds for now.

What is your prefered way to report possible bugs?
This Forum?
Do you want one topic with bug reports? Or a topic per bug?

Re: Motor Busy with 2 motors not working?

Posted: 10 Feb 2021 08:30
by cpp4robots_admin
We prefer this forum for report of bugs.
We think topic per bug is better and clearer for us.
Thanks.