How to convert Twist msg to PWM signal for 2wd robot?
I am new to ROS and currently working on a skid steer robot (2WD). I'm facing a challenge in converting Twist messages to PWM signals, and I was hoping to seek guidance from the experienced members here.
Could someone please explain the steps or provide some code examples on how to convert Twist messages to PWM signals for a skid steer robot? I want to control the robot's movement using these PWM signals, but I'm unsure about the implementation details.
Any help, code snippets, or pointers to relevant resources would be highly appreciated.
Thank you all for your support!
Asked by dobb1000 on 2023-07-23 06:23:53 UTC
Comments
Can you explain what HW you have? Like what is powering the motors and is there any feedback like encoders. What you're asking for is essentially a HW driver and that depends bigly on the HW.
Asked by billy on 2023-07-27 02:57:48 UTC