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

Toverumar/add write param file #456

Merged
merged 4 commits into from
Jun 17, 2024
Merged

Conversation

ToveRumar
Copy link
Contributor

Add a helper and example/script to take a full file of settings and write to a crazyflie. The params will be set as persistent.

Can be used to configure your crazyflie fast and keep different configs on hand.

@ToveRumar ToveRumar force-pushed the Toverumar/add_write_param_file branch 2 times, most recently from 93c76ad to 439ab8e Compare June 5, 2024 10:46
@ToveRumar ToveRumar requested a review from ataffanel June 5, 2024 12:36
@ToveRumar ToveRumar force-pushed the Toverumar/add_write_param_file branch from 439ab8e to 3b6205a Compare June 13, 2024 11:39
@gemenerik gemenerik self-requested a review June 17, 2024 09:00
The datetime object does not hold total seconds since Epoch time.The seconds variable is only seconds since last full minute. We need
a deltatime since Epoch start to get total seconds since then
All the params will be written to eeprom (persistent values)
After each param, write it persistent and wait for the result
The script will write all supplied parameters to the crazyflie and store them

Re-format code to code standard
@ToveRumar ToveRumar force-pushed the Toverumar/add_write_param_file branch from 3b6205a to a0df110 Compare June 17, 2024 09:15
@ToveRumar ToveRumar merged commit efa2aaa into master Jun 17, 2024
1 check passed
@ToveRumar ToveRumar deleted the Toverumar/add_write_param_file branch June 17, 2024 09:20
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

Successfully merging this pull request may close these issues.

3 participants