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

what does Save do in custom actions? #4

Open
ilyatregubov opened this issue Dec 10, 2024 · 1 comment
Open

what does Save do in custom actions? #4

ilyatregubov opened this issue Dec 10, 2024 · 1 comment

Comments

@ilyatregubov
Copy link

In custom_actions.py example there is a tip:

tip3 = [
"Ctrl+C: Quit Space: Save",
]

How does it works - how it saves data? All the angles are updated and displayed on screen anyway when moving servos, so bit confused what is saved to where. Hitting space seems doing nothing

@Nykomj
Copy link

Nykomj commented Dec 11, 2024

This looks like a variable that carries a string, this string is called by 0_calibration.py. This is used to memorize the position of the servos before using the pidog, and here we can read that string. But what you are marking is just a variable with a string, which means that it is just a text that they use on several occasions. If you change that text between " " you will see that when you run 0_calibration.py what you put will appear written, but that does not mean that you cannot continue saving with space or exiting with Ctrl+C

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