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

Pr mag #120

Open
wants to merge 3 commits into
base: humble
Choose a base branch
from
Open

Pr mag #120

wants to merge 3 commits into from

Conversation

hippo5329
Copy link
Contributor

@hippo5329 hippo5329 commented Apr 28, 2024

Please pull the updates.

  1. bringup: add micro_ros_baudrate param to support custom baudrate. As esp32 needs 921600 baud to run the control loop at 50Hz.

  2. bringup: add madgwick support to fuse imu and magnetometer.

  3. add velocity_smoother parameters with default values. Needed changes for mecanum.

Best regard,
Thomas Chou

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
@grassjelly
Copy link
Member

hey @hippo5329 could you add the velocity smoother for the sim config as well, please? https://github.com/linorobot/linorobot2/blob/humble/linorobot2_navigation/config/navigation_sim.yaml

@hippo5329
Copy link
Contributor Author

Updated with sim. Thanks.

@hippo5329 hippo5329 force-pushed the pr-mag branch 2 times, most recently from 7888ccc to ed81c35 Compare May 9, 2024 15:58
This for 2wd/4wd, Y=0.
    max_velocity: [0.5, 0.0, 2.5]
    min_velocity: [-0.5, 0.0, -2.5]
    max_accel: [2.5, 0.0, 3.2]
    max_decel: [-2.5, 0.0, -3.2]

Set Y=X for mecanum
    max_velocity: [0.5, 0.5, 2.5]
    min_velocity: [-0.5, -0.5, -2.5]
    max_accel: [2.5, 2.5, 3.2]
    max_decel: [-2.5, -2.5, -3.2]

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
@hippo5329 hippo5329 force-pushed the pr-mag branch 2 times, most recently from e2ff195 to eaf697d Compare May 10, 2024 20:54
Enable madgwick filter to fuse imu and magnetometer.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
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.

None yet

2 participants