Git Product home page Git Product logo

caddybot's Introduction

caddybot

caddybot project for training

ros2 vnc environment

C:\> docker run -p 8080:80 -it --name ros2 tiryoh/ros2-desktop-vnc:humble

connect to localhost:8008 in the browser (Edge is better)

build

  1. update packages
$ sudo apt update && sudo apt upgrade
  1. git clone
$ git clone --recursive https://github.com/bosornd/caddybot.git
$ cd caddybot
  1. install dependencies
$ rosdep install --from-paths src --ignore-src --rosdistro humble -y
$ pip install pygame
$ pip install pyserial sparkfun-ublox-gps utm
  1. build
$ colcon build
$ source install/setup.bash
  1. build micro_ros_agent for MCU
$ ros2 run micro_ros_setup create_agent_ws.sh
$ ros2 run micro_ros_setup build_agent.sh

launch

using terminal1(ROS2),

$ source install/setup.bash
$ ros2 launch caddybot bringup.py

build MCU

  1. git clone
$ git clone --recursive https://github.com/bosornd/caddybot_mcu.git
$ cd caddybot_mcu
  1. install dependencies
$ rosdep install --from-paths src --ignore-src --rosdistro humble -y
  1. build
$ colcon build
$ source install/setup.bash
  1. build firmware
$ ros2 run micro_ros_setup create_firmware_ws.sh host
$ ros2 run micro_ros_setup build_firmware.sh

launch MCU

using terminal2(micro-ROS),

$ source install/setup.bash
$ ros2 launch caddybot_mcu mcu.py

using termianal3(ROS2), publishing a Velocity topic confirms that it is delivered to MCU via micro_ros_agent.

$ source install/setup.bash
$ ros2 topic pub --once /velocity caddybot_msgs/msg/Velocity '{speed: 0.8, angle: 0.0}'

architecture

architecture

caddybot's People

Contributors

yongjin-cho avatar

Stargazers

 avatar  avatar

Watchers

 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.