How to convert Twist msg to PWM signals?
I am designing a actuator module for my RC Car.
My joystick output a geometry_msgs/twist <> from which I extract the linear velocity and angular velocity. But I have to send 2 PWM signals (Power and Turn) to the dc motor and servo motor and I am unable to establish the relationship.
Power has a direct relationship with linear velocity. So that relation ship is easy. But for the angular velocity, how do I decide whether to change power or turn ??
what kind of car are you using ? Diff_drive like a tank or like a normal car (ackerman_steering) ?
http://ros-developer.com/2017/11/09/a...
Dig here: https://github.com/dkarunakaran/robocar
I am using ackerman_steering