rbonghi / roboteq_control

⚙️ Driver for Roboteq devices using ros_control
MIT License
41 stars 12 forks source link

Gear ratio = 1 even config in roboteq.yaml #9

Closed 5730289021-NN closed 3 years ago

5730289021-NN commented 4 years ago

Dear rbonghi, Thank you for making this awesome package. Most of things worked great. But I have a little problem when using with geared motor which number of gear = 20 when I ran command rosparam get to get the gear ratio, it showed me 1 instead of 20. I've already set at the ratio: 16.0 inside roboteq.yaml file I suspected that the dynamic reconfigure might've altered the value. Please guide me if I might've miss some necessary steps

Thank you Oak

rbonghi commented 4 years ago

Hi @5730289021-NN ,

I apologise for my late reply, but I will check the reason, I hope soon.

Meanwhile try to change by the yaml file before the roboteq_control start.

5730289021-NN commented 4 years ago

Thank you for response, I'll try on that

balamuruganky commented 4 years ago

@5730289021-NN : Please check the fix available in https://github.com/rbonghi/roboteq_control/pull/11. Change the ratio max range value based on your need. Currently, the range set to 0.0 to 1.0