Coder Social home page Coder Social logo

cps_esp32_ros2_car's Introduction

cps_esp32_ros2_car

esp32做主控,控制simplefoc电机,采集mpu6050,as5600编码器,和ros2-foxy通信

bilibilib视频地址:https://www.bilibili.com/video/BV1CM4y1c7eE?spm_id_from=333.999.0.0

谢谢,欢迎交流。

一、开发环境:

基于灯哥开源的simplefoc的电机闭环程序

所以需要先安装灯哥simplefoc的开发环境

arduino+simplefoc+esp32

参考链接如下:

https://github.com/cuizhongren45/Deng-s-foc-controller

二、MPU6050的库

将MPU6050_tockn文件夹放在aduino目录下/libraries中,算是引入库文件

三、main

将main.c的代码复制到自己的arduino中,编译烧录即可。

四、接线

代码里都有备注,两个as5600就按照灯哥v3的版本里接线方式接线

MPU6050接线SDA---I_0 SCL---I_1

cps_esp32_ros2_car's People

Contributors

cuizhongren45 avatar

Stargazers

 avatar  avatar  avatar fangxiao avatar  avatar  avatar

Watchers

 avatar

Forkers

sichitong

cps_esp32_ros2_car's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.