Giter VIP home page Giter VIP logo

ros_stm32f1's Introduction

ROS_STM32F1

master branch

==基于STM32F1平台建立ROS和STM32之间的通信模板==

ros_balancecar branch

==基于STM32F1平台的ROS机器人平衡底盘控制程序==

ros_stablecar branch

==基于STM32F1平台的ROS机器人稳定底盘控制程序==

使用方法

  1. 通过usb线直接连接到STM32F1平台的usb接口,和已经安装好ros的ubuntu系统的电脑。 //1. 通过usb转串口模块连接到STM32F1平台的USART3串口(可以在程序中配置为其他串口)和已安装好ros的Ubuntu系统的电脑。

  2. 启动终端,输入roscore 回车。

  3. 另启动一个终端,输入rosrun rosserial_python serial_node.py /dev/ttyUSB0 _baud:=115200 回车 连接上后终端会打印连接成功的消息。

    另启动一个终端,输入rosrun rosserial_python serial_node.py /dev/ttyACM0 _baud:=115200 回车 连接上后终端会打印连接成功的消息。

  4. 在启动一个终端,输入rostopic list 可以获取当前的topic信息。输入rostopic echo /odom 回车 可以获取底盘上传的odom数据。

注意:

  1. 当前程序不接mpu6050硬件是无法完成测试的,mpu6050目前是放在while循环中进行初始化的。

ros_stm32f1's People

Contributors

apex-yuan avatar

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.