Giter Site home page Giter Site logo

rb1_controller's Introduction

๐Ÿค– RB1_Control Package ๐Ÿš€

Welcome to RB1_Control, a comprehensive simulation package designed to offer an immersive experience in robot operations. This package allows users to simulate the control of a robot, including the movement of its lifting unit. Whether you are a student, educator, or robotics enthusiast, MyRobotSim provides a valuable tool for understanding and experimenting with robotic mechanisms.

๐Ÿ“ฆ Installation Instructions

Before cloning this repo, ensure you have the following prerequisites installed on your system:

  • Python 3.8 or later ๐Ÿ
  • ROS2 Galactic ๐ŸŒŒ
    ros2 --version
  • Gazebo multi-robot simulator version 11.12+
    gazebo --version

Step 1: ๐Ÿ“ Clone Repo

cd ~/ros2_ws/src
git clone <repository-url>

Step 2: ๐Ÿ› ๏ธ Build the Package

cd ~/ros2_ws && colcon build --packages-select rb1_ros2_description && source install/setup.bash
Expected Output Alt text for image

Step 3: ๐Ÿ•น๏ธ Launch Simulation

ros2 launch rb1_ros2_description rb1_ros2_xacro.launch.py
Expected Output

๐ŸŽ‰ Congratulations!๐ŸŽ‰ You've Successfully Launched the Simulation!

๐Ÿ”ด Verification

Check Controllers are Available

ros2 control list_controllers

alt text

Check Interfaces are Available

ros2 control list_hardware_interfaces

alt text

๐Ÿš— Drive RB1

  • Rotate ๐Ÿ”„
ros2 topic pub --rate 10 /rb1_base_controller/cmd_vel_unstamped geometry_msgs/msg/Twist "{linear: {x: 0.0, y: 0,z: 0.0}, angular: {x: 0.0,y: 0.0, z: 0.5}}"
  • Revolute ๐Ÿ”
ros2 topic pub --rate 10 /rb1_base_controller/cmd_vel_unstamped geometry_msgs/msg/Twist "{linear: {x: 0.5, y: 0,z: 0.0}, angular: {x: 0.0,y: 0.0, z: 0.5}}"
  • STOP โ›”
ros2 topic pub --rate 10 /rb1_base_controller/cmd_vel_unstamped geometry_msgs/msg/Twist "{linear: {x: 0.5, y: 0,z: 0.0}, angular: {x: 0.0,y: 0.0, z: 0.5}}"

๐Ÿ—๏ธ Control Elevator

  • Lifting UP โฌ†๏ธ
ros2 topic pub /rb1_elevator_controller/commands std_msgs/msg/Float64MultiArray "data: [10.0]" -1
  • Lifting DOWN โฌ‡๏ธ
ros2 topic pub /rb1_elevator_controller/commands std_msgs/msg/Float64MultiArray "data: [0.0]" -1

Disclaimer:

rb1_base_description is a package copied and modified files from these repositories/packages:

rb1_controller's People

Contributors

tianyaohu 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.