Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to call callback function? #2

Closed
kfbixc opened this issue Mar 25, 2016 · 1 comment
Closed

How to call callback function? #2

kfbixc opened this issue Mar 25, 2016 · 1 comment

Comments

@kfbixc
Copy link

kfbixc commented Mar 25, 2016

Hello:
your diff_tf.cpp has ros::spinOnce() so I know how to call Odometry_calc::leftencoderCb() and Odometry_calc::rightcoderCb().

      But I found your diff_tf.py and pid_velocity.py don't rospy.spinOnce().I wonder how to call callback function?

      Looking forward to your reply.Thank you.
@qboticslabs
Copy link
Owner

Hi KFBIT

Thanks for pointing this, Can you please check this node working without spinOnce()? I got it working and please get back to me if it is not working in your side. I will correct the code then

Regards
Lentin Joseph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants