Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Latest commit

 

History

History
42 lines (22 loc) · 2.49 KB

File metadata and controls

42 lines (22 loc) · 2.49 KB

The Python Development Environment

A device loaded with ROSMicroPy can operate as a stand alone device where it can read sensor values and perform operations like turning on a light or fan. In this Mode, you are only taking advantage of the Micropython section of the project.

When you start to couple that to the larger ROS system, magic starts to happen because it's both possible to run a simpler setup where a remote control can send messages to operate a remote device as well as participating in a larger installation utilizing more ROS services, or combine a RC remote that performs basic manuevers then in conjunction with a ROS Service

This allows you to start using all the modules available to ROS2

An example of this could be using Machine Learning to recognize a situation and react as a copilot. ROSMicroPy allows you to grow from small setup targeted to children 10 years old and above and also allow a broad range of expansion to provide follow on growth opportunity for the Python developer interested in robotics.

To participate in the ROS network, there are some prerequisites that need to be configured and running to support the whole system. This project has included container definitions that allow the end user to launch these service without needing to learn about the networking of ROS.

Prerequisites

Optional Components

Suggested Screen layout

  • Arrange terminals running the required containers, arrange them as a stacked array on the left hand side of the screen. A terminal program that supports splitting the window horizontally, makes window management easier

  • Open the Thonny and arrange it on the top right of the screen

  • Move the rqt bottom bottom right hand of the screen.

Screen shot before running

  • Sample Python code is located in the example directory

  • The sample code can be loaded on the device by dragging it from the top (Local Directory) down to the device directory.

  • To start the ROS System and register to receive /cmd_vel messages with the data type of geometry_twist

Screen shot before running