You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ve been troubled for joycallback function errors.
As I release all buttons, motors are keep spinning.
I think intermittently "sent_diable_msg" flag doesn't change that it means
I manually added simple line to end of the joycallBack function
if(!((enable_turbo_button>=0&&joy_msg->buttons.size()>enable_turbo_button&&joy_msg->buttons[enable_turbo_button]))&&(!(joy_msg->buttons.size()>enable_button&&joy_msg->buttons[enable_button]))){
geometry_msgs:: Twistcmd_zero_msg;sent_disable_msg=false;cmd_vel_pub.publish(cmd_zero_msg);}//Safety function
Can you give me more accurate way to debug?
Thank you
The text was updated successfully, but these errors were encountered:
You could try plotting cmd_vel and odom to try to see what is going wrong. You can use plotjuggler or rqt_multiplot for this. It could be a joy driver issue, the joy node, teleop_twist_joy, or the wheel driver.
Hello.
I ve been troubled for joycallback function errors.
As I release all buttons, motors are keep spinning.
I think intermittently "sent_diable_msg" flag doesn't change that it means
I manually added simple line to end of the joycallBack function
Can you give me more accurate way to debug?
Thank you
The text was updated successfully, but these errors were encountered: