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

Mc integration test #230

Merged
merged 40 commits into from
Apr 13, 2024
Merged

Mc integration test #230

merged 40 commits into from
Apr 13, 2024

Conversation

ShiCheng-Lu
Copy link
Collaborator

No description provided.

scons/test.scons Outdated Show resolved Hide resolved
projects/motor_controller/src/main.c Outdated Show resolved Hide resolved
for (size_t tx = 0; tx < len; tx++) {
if (queue_receive(&s_port[spi].spi_buf.tx_queue, &data[tx], SPI_QUEUE_DELAY_MS)) {
if (queue_receive(&s_port[spi].spi_buf.tx_queue, &data[tx], SPI_TIMEOUT_MS)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

why did this change, didnt you update SPI_QUEUE_DELAY_MS earlier? from 0 to 10

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

match arm impl

projects/leds/test/test_led_1.c Outdated Show resolved Hide resolved
projects/motor_controller/src/mcp2515.c Show resolved Hide resolved
projects/motor_controller/src/motor_can.c Outdated Show resolved Hide resolved
py/motor_controller/__init__.py Outdated Show resolved Hide resolved
py/motor_controller/readme.md Outdated Show resolved Hide resolved
* fix cur/vel flipped

* test

* revert steering.yaml

---------

Co-authored-by: Bafran <[email protected]>
Copy link
Collaborator

@Bafran Bafran left a comment

Choose a reason for hiding this comment

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

Lots of really useful changes here. Not sure what's going on with the LED test changes? Also I really didn't look through the motor controller tests and python files since it shouldn't really affect anything. Only other comments were pretty much the same ones that Kyle had

@ShiCheng-Lu ShiCheng-Lu merged commit 169a036 into main Apr 13, 2024
1 check passed
@ShiCheng-Lu ShiCheng-Lu deleted the mc-integration-test branch April 13, 2024 16:35
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.

5 participants