Giter VIP home page Giter VIP logo

ranger_ros's Introduction

ROS Packages for Ranger Robot

This repository contains ROS support packages for the Ranger robot bases to provide a ROS interface to the robot.

Supported hardware

  • Ranger Mini V1.0

  • Ranger Mini V2.0

  • Ranger

Build the package

  1. Install dependencies
$ sudo apt install libasio-dev libboost-all-dev
  1. Clone and build the packages in a catkin workspace
$ cd ~/catkin_ws/src
$ git clone https://github.com/agilexrobotics/ugv_sdk.git
$ git clone https://github.com/agilexrobotics/ranger_ros.git
$ cd ..
$ catkin_make
  1. Setup CAN-To-USB adapter
  • Enable gs_usb kernel module(If you have already added this module, you do not need to add it)

    $ sudo modprobe gs_usb
    
  • first time use scout-ros package

    $ rosrun ranger_bringup setup_can2usb.bash
    
  • if not the first time use scout-ros package(Run this command every time you turn off the power)

    $ rosrun ranger_bringup bringup_can2usb.bash
    
  • Testing command

    # receiving data from can0
    $ candump can0
    
  1. Launch ROS nodes
  • Start the base node for ranger

    $ roslaunch ranger_bringup ranger.launch #for ranger
  • Start the base node for ranger_mini_v1

    $ roslaunch ranger_bringup ranger_mini_v1.launch #for ranger_mini 1.0
  • Start the base node for ranger_mini_v2

    $ roslaunch ranger_bringup ranger_mini_v2.launch #for ranger_mini 2.0

ROS interface

Parameters

  • can_device (string): can0
  • robot_model (string): ranger/ranger_mini_v1/ranger_mini_v2
  • update_rate (int): 50
  • base_frame (string): base_link
  • odom_frame (string): odom
  • publish_odom_tf (bool): true
  • odom_topic_name (string): odom

Published topics

  • /system_state (ranger_msgs::SystemState)
  • /motion_state (ranger_msgs::MotionState)
  • /actuator_state (ranger_msgs::ActuatorStateArray)
  • /odom (nav_msgs::Odometry)
  • /battery_state (sensor_msgs::BatteryState)

Subscribed topics

  • /cmd_vel (geometry_msgs::Twist)

Services

ranger_ros's People

Contributors

wangzheqie avatar agilexrobotics avatar karthee-weston avatar oyqmattweston avatar lagrangeluo avatar rdu-weston avatar hanskw-weston 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.