Implement can api#46
Open
Yug-Vashisth wants to merge 16 commits into
Open
Conversation
main loop now uses can api to send joint data, timestamp also included in the frames for imu data.
…the main loop in general.
JuanR-Git
requested changes
Apr 5, 2026
Contributor
JuanR-Git
left a comment
There was a problem hiding this comment.
Skimmed through and noticed a few things that need to be fixed:
- The api folder should not be moved into the joint-controller project and instead the specific header files needed should go into the Inc folder of the project and the .c files needed should go into the Src folder.
- Additionally, just to avoid merge conflicts I am going to push the multi-mcu-canbus. Please follow the ID notation we have set there.
Multi MCU Canbus
main loop now uses can api to send joint data, timestamp also included in the frames for imu data.
…troller branch Merge motor test branch into main IMU node firmware. The STM32 now handles full joint controller responsibilities: streaming IMU data to the Pi over CAN while receiving and executing torque commands from the Pi to the AK70-9 motor driver.
…eleton/exoskeleton-embedded into implement-can-api
Add missing CAN IRQ handlers, restore FIFO0/FIFO1 receive callbacks, tighten CAN filters for Pi commands and motor feedback, and improve CAN TX safety for IMU streaming and torque commands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Joint controller for CAN api: Replaced the IMU node placeholder in main.c with the actual motor control loop.
Should be more efficient and I took out the placeholder code which was there for a while