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

Hiwonder #8

Merged
merged 14 commits into from
Jan 1, 2025
Merged

Hiwonder #8

merged 14 commits into from
Jan 1, 2025

Conversation

aaronxie0000
Copy link
Contributor

What does this PR do

Add support for HiWonder 10A(xis) USB IMU to read raw xyz gyro and accelrometer data as well as processed angle data output. Structured the rust code following Hexmove example.

Output

struct IMUData {
    acc_x: f32,
    acc_y: f32,
    acc_z: f32,
    gyro_x: f32,
    gyro_y: f32,
    gyro_z: f32,
    angle_x: f32,
    angle_y: f32,
    angle_z: f32,
}

Copy link
Member

Choose a reason for hiding this comment

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

are there details about how we set up the usb interface so that we can read and write properly?

Copy link
Member

Choose a reason for hiding this comment

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

do we need to worry about sending configuration commands to the imu?

@WT-MM WT-MM merged commit cd1c664 into master Jan 1, 2025
1 check passed
@WT-MM WT-MM deleted the hiwonder branch January 1, 2025 20:11
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.

2 participants