How can I have the motor power?

Hi.
I’m a beginner at Rosbot.
I want to get the motor power from the motor driver.
Is it possible to get it?

There is a getPower function.
Is it possible to use it in the ros node?
And, what is the unit of power in the rosbot?

Hi,
Unfortunately, it’s some arbitrary function name used inside a internal driver class. It does not return power in watts if it is what you want. In case of that function it returns the current duty cycle for each motor as a number between -1.0 and 1.0 (sign indication direction).

Regards,
Szymon

Thank you for your answer.

Then, can I control the current duty cycle directly?