Skip to content

Implement can api#46

Open
Yug-Vashisth wants to merge 16 commits into
mainfrom
implement-can-api
Open

Implement can api#46
Yug-Vashisth wants to merge 16 commits into
mainfrom
implement-can-api

Conversation

@Yug-Vashisth
Copy link
Copy Markdown
Contributor

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

@Yug-Vashisth Yug-Vashisth requested a review from a team as a code owner April 5, 2026 20:39
Copy link
Copy Markdown
Contributor

@JuanR-Git JuanR-Git left a comment

Choose a reason for hiding this comment

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

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.

JuanR-Git and others added 10 commits April 5, 2026 17:13
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.
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.
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.

4 participants