Skip to content

MDv6 Ansible Flashing#3614

Open
Andrewyx wants to merge 77 commits into
UBC-Thunderbots:masterfrom
Andrewyx:Andrewyx/MDv6_Flashing
Open

MDv6 Ansible Flashing#3614
Andrewyx wants to merge 77 commits into
UBC-Thunderbots:masterfrom
Andrewyx:Andrewyx/MDv6_Flashing

Conversation

@Andrewyx
Copy link
Copy Markdown
Contributor

@Andrewyx Andrewyx commented Feb 16, 2026

Description

This PR integrates the work in #3550 and introduces ansible to complete the remote deployment process of the motor driver board firmware.

Testing Done

Resolved Issues

Resolves #3708

Length Justification and Key Files to Review

Review Checklist

It is the reviewers responsibility to also make sure every item here has been covered

  • Function & Class comments: All function definitions (usually in the .h file) should have a javadoc style comment at the start of them. For examples, see the functions defined in thunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.
  • Remove all commented out code
  • Remove extra print statements: for example, those just used for testing
  • Resolve all TODO's: All TODO (or similar) statements should either be completed or associated with a github issue

@Andrewyx Andrewyx mentioned this pull request Mar 29, 2026
4 tasks
@Andrewyx Andrewyx marked this pull request as ready for review March 29, 2026 19:50
@Andrewyx Andrewyx requested a review from sauravbanna as a code owner March 29, 2026 19:50
@sunghyuneun
Copy link
Copy Markdown
Contributor

Tested to flash. If there are any issues with the flashing, it is with the demux and therefore an electrical issue. I think this is ready to be reviewed and merged.

./configure --enable-optimizations
make -j$(nproc)
sudo make altinstall
# Why tf do we have a venv? Uh sure here we go
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like these deletions were accidental

become_method: ansible.builtin.sudo
ansible.posix.synchronize:
src: ../../setup_openocd_deps.sh
dest: ~/
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I notice that we use /home/{{ ansible_user }} sometimes instead of ~ but not sure what difference it makes

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.

MDv6 Flashing

7 participants