-
Notifications
You must be signed in to change notification settings - Fork 287
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
widget_speed y is not subscribing rotational speed #7
Comments
To be precise, I'm not subscribing here to the rotational speed, it's just the y-axis speed. In the 143-line speedCallback() function of qnode.cpp,:
send a custom signal to mainwindow.cpp, you can change the y-axis speed here to the raw value to send past, in mainWindow.cpp's slot_speed_x (double x) and slot_speed_y (double x) functions handle the signal sent over and update the UI display. |
Thank you for the advice. (mainwindow.cpp) Now both widget are subscribing to the same speed variable in my display. |
//connectSpeed signal The original code is: Only change this: as:
The z-axis angle speed was released to mainwindow.cpp ,slot_speed_y(double):
|
Thank you for your kind response..
}
} and qnode.cpp = When I run this, the y_speed_widget is responding, but it doesn't respond to the angular speed. |
I'm trying to learn to make GUI with qt qreator (ros industrial) using your code.
I found some errors in the y speed widget which should have been corresponding to rotational speed.
It is not responding.
I tried to edit the callback function from qnode.cpp, but I could't make it work.
Do you have any ideas?
Thank you
The text was updated successfully, but these errors were encountered: