Code Monkey home page Code Monkey logo

my_bot's Introduction

MY BOT

Getting Started with MY BOT

Installing Dependencies

  • Installing ROS 2 Dependency

    $ sudo apt install ros-foxy-ros-base python3-argcomplete
    $ sudo apt install ros-dev-tools
    
  • Installation of xacro and joint state publisher

    $ sudo apt install ros-foxy-xacro ros-foxy-joint-state-publisher-gui
    
  • Installing Teleop Twist Keyboard

    $ sudo apt-get install ros-foxy-teleop-twist-keyboard
    
  • Installing ROS2 Control

    $ sudo apt install ros-foxy-ros2-control ros-foxy-ros2-controllers ros-foxy-gazebo-ros2-control
    

For Lidar Integration

  • Install the Lidar Dependencies for Foxy

    $ sudo apt update
    $ sudo apt install ros-foxy-rplidar-ros
    
  • Permission for the Lidar

    $ sudo ls /dev/ttyUSB* 
    $ sudo chmod 777 /dev/ttyUSB0
    
  • To get Data of Lidar on Rviz

    $  ros2 run rplidar_ros rplidar_composition --ros-args -p serial_port:=/dev/ttyUSB0 -p frame_id:=laser_link -p angle_compensate:=true -p scan_mode:=Standard
    
  • For RPLIDAR Services Call

    • To Stop the Lidar Motor;

      $ ros2 service call /stop_motor std_srvs/Empty {}
      
    • To Start the Lidar Motor;

      $ ros2 service call /start_motor std_srvs/Empty {}
      
  • Created Launch File for RPLidar

    $ ros2 launch my_bot rplidar.launch.py
    

Nav and SLAM

  • Installation of slam_toolbox

    $ sudo apt install ros-foxy-slam-toolbox
    
  • To Launch the Slam Toolbox async file

    $  ros2 launch slam_toolbox online_async_launch.py params_file:= <path for mapper_params_online_async.yaml file> use_sim_time:=true
    
  • Installation of Nav2 Stack

    $ sudo apt install ros-foxy-navigation2 ros-foxy-nav2-bringup ros-foxy-turtlebot3*
    
  • Launching Nav2 bringup

    $ ros2 launch nav2_bringup navigation_launch.py
    

my_bot's People

Contributors

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