Skip to content

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Esp32 Motor Controller

Based from ROS2ArdiunoBridge by Josh Ewans (applied ROS2 example in this repo)and modified into ESP32 using sample code from Curie_Res, video-explanation here.

Update: added imu sensor reading functions based on machinelearningsite.com and lastminuteengineers.com

ESP32 Pin Assignment:

left motor forward/Backward - 32/33
right motor forward/Backward - 25/26

left encoder CLK - 17
left encoder DT - 16

right encoder CLK - 19
right encoder DT - 18

left IR_in - 13
left IR_out - 14
right IR_in - 04
right IR_out - 27

IMU SCL - 21
IMU SDA - 22

REFERRENCES

diff_controller.h - PID calculation
derivative_kick
initialization
tuning_changes

About

ROS2 Motor Controller / Serial Communicatrion between ESP32 and Ubuntu Linux

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages