Giter Club home page Giter Club logo

buaa_rescue_robot's Introduction

BUAA Rescue Robot

Overview

This repository contains the codebase for a rescue robot control system, developed using ROS 2 (Humble).

Table of Contents

  1. Installation
  2. Usage
  3. Contributing
  4. License

Installation

Prerequisites

  • ROS 2 Humble
  • C++14 or higher

Build and Install

# Clone the repository
git clone https://github.com/Lawrencehh/buaa_rescue_robot.git

# Navigate to the workspace
cd buaa_rescue_robot

# install requirements
rosdep install --from-paths src --ignore-src -r -y

# Build the project
colcon build

# Source the setup script
source install/setup.bash

# remove the brltty
sudo apt remove brltty

Serial Devices Rename

sudo gedit /etc/udev/rules.d/99-usb-serial.rules
 KERNEL=="ttyUSB[0-9]*", MODE="0666"
# Set a fixed name for specific serial devices

# Robomaster 1
SUBSYSTEM=="tty", SUBSYSTEMS=="usb", KERNELS=="3-1.4", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", MODE="0666", SYMLINK+="ttyRobomaster1"
SUBSYSTEM=="tty", SUBSYSTEMS=="usb", KERNELS=="3-1.3", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="23a3", MODE="0666", SYMLINK+="ttyPullPushSensors1"
SUBSYSTEM=="tty", SUBSYSTEMS=="usb", KERNELS=="3-1.1", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="23a3", MODE="0666", SYMLINK+="ttyPullPushSensors2"

# Robomaster 2
SUBSYSTEM=="tty", SUBSYSTEMS=="usb", KERNELS=="5-1.4", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="7523", MODE="0666", SYMLINK+="ttyRobomaster2"

SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="0666", SYMLINK+="ttyElevatorLinearModules"
sudo gedit /etc/udev/rules.d/99-force-dimension.rules
# Add permissions
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1451", ATTRS{idProduct}=="0402", MODE="0666", GROUP="plugdev"
sudo udevadm control --reload-rules
sudo udevadm trigger

Usage

launch the gui

ros2 launch buaa_rescue_robot_msgs control_by_keyboard.launch.py 

keyboard_controller

Run the keyboard_publisher node:

ros2 run keyboard_controller keyboard_publisher

The communication protocol for the robot system can be found in the link:
https://docs.google.com/document/d/15l8EZoLQ8ltLROfFUyf_mJ9b2J9PZ0hl/edit?usp=sharing&ouid=102832733841320281280&rtpof=true&sd=true

Contributing

The current code contributors are Dr. Huang Hao and Xiang Yan.

License

This project is licensed under the MIT License.

upload test

upload without password token

new pc test

buaa_rescue_robot's People

Contributors

lawrencehh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

buaaczj

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.