← Přehled firem
Získáno 24. 10. 2026 · 21:28
RANGER MINI 2.0 User Manual




                                                              

                             RANGER MINI 2.0

                            AgileX Robotics Team

                      USER MANUAL V.2.0.1      2023.08




Document version

 No.   Version    Date       Edited by      Reviewer       Notes

 1     V1.0.0    2023/2/6      何士玉                       First draft




                                   1 / 52
                                    ● Added odometer data
                                      feedback

                                    ● Added remote control
                                      data feedback
2   V1.0.1   2023/3/1    何士玉
                                    ● Changed firmware
                                      upgrade method and
                                      instructions

                                    ● Optimize layout


                                    ● Add battery precautions

                                    ● Added usage
3   V1.0.2   2023/3/21   何士玉          environment
                                      precautions
                                    ● Add safety precautions



4   V1.0.3   2023/5/4    何士玉        ● Change self-weight
                                      parameters


                                    ● Modify the spin
                                      protocol,

5   V1.0.4   2023/5/20   李圣望        ● Modify the coordinate
                                      system definition
                                    ● Modify the rotation
                                      angular velocity unit



6   V1.0.5   2023/6/6    吴忠义        ● Add upper PC
                                      download link




                           2 / 52
                                                                        ● Add boot instructions in
                                                                           parking mode

                                                                        ● Add charging
                                                                           instructions
   7        V1.0.6       2023/8/22        何士玉                           ● Added remote control
                                                                           battery replacement
                                                                           instructions
                                                                        ● Change parameters


                                                                        ● Add rendering

   8        V1.0.7       2023/9/02        谢瑞亲                           ● Adjustment format

                                                                        ● Update ROS package
                                                                           usage description


                                                                        ● Add charging icon
                                                                           description

   9        V1.1.0       2023/9/02        何士玉                           ● Added battery
                                                                           replacement icon
                                                                           instructions

                                                                        ● Add main image




Before using the robot, any individual or organization must read and understand the manual. If you
have any questions about it, please do not hesitate to contact us at support@agilex.ai . It is very
important that you should follow and implement all instructions and guidelines in this manual.
Please pay extra attention to the warnings.




Important Safety Information




                                                3 / 52
This manual does not cover the design, installation, and operation of a robotic application, nor
does it include any equipment that may affect the safety of a robotic system. A robot system that
uses the RANGER MINI 2.0 should be designed and used in compliance with the safety
requirements and other standards of the corresponding countries.

Any users of the RANGER MINI 2.0 should comply with laws and regulations of relevant countries
and ensure that there are no obvious hazards in the application of the RANGER MINI 2.0MINI
2.0MINI 2.0. This includes but is not limited to the following:

Effectiveness and responsibility
● Do a risk assessment of the robotic system that uses the RANGER MINI 2.0.

● The risk assessment should include additional safety equipment to other machinery.

● Please ensure that the equipment of the whole robotic system, including software and
  hardware, are designed, and installed correctly.
● The RANGER MINI 2.0 is not an autonomous mobile robot with anti-collision, anti-fall, biological
  approach warning, and other safety functions. These safety functions are expected to be
  developed and assessed by system integrators and end customers under relevant safety
  regulations and laws to ensure there are not any major dangers and potential safety hazards in
  their practical applications.
● Read all technical documents: including the risk assessment and this manual.

● Know the possible safety risks before using the RANGER.

Use Environment
● For the first use, please read this manual carefully to understand the basic operation and
  operating specifications.
● Remote control operation should be in a relatively open area. The RANGER MINI 2.0 does not
  have any automatic obstacle avoidance sensors.

● Please use the RANGER MINI 2.0 under the ambient temperature of -10 ℃~40℃.

                          ’
● The RANGER MINI 2.0 s waterproof and dustproof level is IP54 if it is not customized.

Check
● Make sure each device is fully charged.

● Make sure the RANGER MINI 2.0has no obvious abnormalities.

● Make sure the remote control has sufficient battery power.




                                                 4 / 52
Precautions
Operation Precautions
● Ensure that the surrounding area is relatively open when operating the RANGER.

● Please do remote control within sight.

● The maximum load of the RANGER MINI 2.0 is 80 KG. Please ensure that the payload does not
  exceed 80 KG when using.

● When installing external equipment on the RANGER MINI 2.0, Please ensure their centroid
                                       ’
  location is at the RANGER MINI 2.0 s center of rotation.

● Please charge the RANGER MINI 2.0 in time after low-battery alarm.

● When the RANGER MINI 2.0 is abnormal, please stop using it immediately to avoid secondary
  injury.
● When the RANGER MINI 2.0 is abnormal, please contact the technical support immediately,
  and do not handle it without professional suggestion.
● Please use the RANGER MINI 2.0 in an environment that does not exceed its IP protection level.

● Do not push the RANGER MINI 2.0 directly.

● The current of the tail extension power supply does not exceed 15A, and the total power does
  not exceed 720w.

Battery
● The battery of RANGER MINI products is not fully charged when it leaves the factory. The
  specific battery voltage and power can be displayed through vol and batt on the RANGER MINI
  remote control.
● Please do not charge the battery after it is exhausted, please charge it in time when the low
  battery of the RANGERMINI remote control is less than 15%

● Static storage conditions: The optimal storage temperature is -10℃~40℃. When the battery is
  not in use, it must be charged and discharged once every month, and then stored at full
  voltage. Do not store the battery Place in fire, or heat the battery. Do not store batteries at high
  temperatures.

● Charging: You must use the matching lithium battery charger for charging. Do not charge the
  battery below 0°C. Do not use non-original standard batteries, power supplies, and chargers.

Usage environment




                                                5 / 52
● The operating temperature of RANGER MINI is -10°C~40°C, please do not use it in an
  environment where the temperature is lower than -10°C and higher than 40°C
● Do not use it in an environment with corrosive or flammable gases or near flammable
  substances.
● Please do not use it around heating elements such as heaters or large winding resistors

● RANGER MINI is waterproof and dustproof rated IP55

● It is recommended that the altitude of the use environment should not exceed 1000M

● It is recommended that the temperature difference between day and night in the use
  environment does not exceed 25℃

Safety
● If you have any questions about the use process, please follow the relevant instruction manual
  or consult relevant technical personnel.

● Before using the equipment, pay attention to the on-site conditions to avoid improper operation
  that may cause personal safety problems.

● In case of emergency, press the emergency stop button to power off the equipment.

● Do not modify the internal equipment structure without technical support and permission

● When the equipment is abnormal, please stop using it immediately to avoid secondary injury

● When an abnormality occurs in the equipment, please contact the relevant technical personnel
  and do not handle it without authorization.




                                      CONTENTS




                                                6 / 52
                                           CONTENTS


 Document version

 Important Safety Information

 Precautions

 CONTENTS

 1 Introduction to the RANGER MINI 2.0

   1.1 Product List

   1.2 Specifications

   1.3 Required for Development

 2 Basic Introduction

   2.1 Status of the RANGER MINI 2.0

   2.2 Description of Electrical Interfaces

   2.3 Remote Control Instructions

 3 Usage and Development

   3.1 Operation 

   3.2 CAN Communication Protocol

   3.3 RANGER MINI 2.0 use manual for ROS 

   3.4 Firmware Upgrade

 4 Product Size




1 Introduction to the RANGER MINI 2.0



                                               7 / 52
The RANGER MINI 2.0 is a programmable omnidirectional UGV (UNMANNED GROUND VEHICLE),
which is a chassis with a modular design. Compared with the four-wheel differential chassis, the
RANGER MINI 2.0 has obvious advantages when running on ordinary cement roads and asphalt
roads. It not only has higher speed and load capacity, but also reduces the wear and tear on the
structure and tires. It is also more stable and safer. Compared with Ackermann chassis, the
RANGER MINI2.0 not only reduces the turning radius, but also can turn at 0 angle. The RANGER
MINI 2.0 combines the advantages of differential chassis and Ackermann chassis, which is
                                             ’
suitable for various complex terrains. What s more, it can be equipped with stereo cameras,
LiDAR, GNSS, IMU, manipulators and other equipment to be applied in fields such as unmanned
inspection, security, scientific research, exploration and logistics.




1.1 Product List

                       Name                                             Quantity

              RANGER MINI 2 body                                          ×1

            Battery charger (AC 220V)                                     ×1

             Aviation plug male (4Pin)                                    ×1

          FS remote controller (optional)                                 ×1

       USB to CAN communication module                                    ×1




1.2 Specifications

               Type                              Items                         Parameters

           Mechanical                       Dimensions (mm)                 738×500×338

                                            Axle Track (mm)                        494

                                         Front/rear track (mm)                     364




                                                 8 / 52
                     Kerb weight (Kg)                          64.5

                       Battery type                Lithium iron phosphate

                    Battery parameters                     48V24AH

                    Power drive motor                      350W×4

                   Steering drive motor                    100W×4

                       Parking type                   Electronic brake

                       Steering type                  4 wheels steering

                        Suspension                Independent suspension

               Steering motor reduction ratio                  1:50

                                                Multiturn absolute encoder (9
                  Steering motor encoder
                                                               bit)

                Drive motor reduction ratio                1:4.428

                    Drive motor sensor                         Hall

Performation             IP grade                              IP54

                Maximum speed km/h  (     )                    5.4


               Minimum turning radius (mm)
                                                           (
                                                    0mm Spin mode       )
                                                       (
                                                810mm Ackermann model       )
                 Maximum gradeability (°)               15° with load

                  Ground clearance (mm)                        107

                 Maximum endurance (h)                          7

                   Maximum travel (km)                         35

                     Charging time (h)                         1.5




                           9 / 52
                                     Working temperature (℃)                   -10~40

                                                                        Remote control mode
                                           Control mode
                                                                       Command control mode

             Control
                                         Remote controller            2.4G/limit distance 200M


                                     Communication Interface                     CAN




1.3 Required for Development
The RANGER MINI 2.0 can be equipped with FS remote control when buying. Users can use it to
control the 4WD chassis, complete mode switching, movement and steering. The RANGER MINI
2.0 has a standard CAN (Controller Area Network) communication interface to facilitate secondary
development.




2 Basic Introduction
This part is a basic introduction to the RANGER MINI 2.0, mobile robot chassis. After reading this
part, users and developers can have an overall understanding about it. As shown in Figure 2.1
below, it is an overview of the RANGER MINI 2.0,.




                                                                                             




                                              10 / 52
                            Figure 2.1 Overview of the RANGER MINI 2.0

The RANGER MINI 2.0 is based on a modular and intelligent design concept. It adopts a
composite design of solid tires and swing arms on the power module, and has a powerful hub
motor, which makes the RANGER MINI 2.0 swift passing ability and ground adaptability. It can
move flexibly on different ground. The hub motor does not require complicated transmission
design, making the RANGER MINI 2.0 smaller and more flexible. An open electrical interface and
communication interface are configured at the rear of the RANGER MINI 2.0, which is convenient
for users to carry out secondary development. The electrical interface adopts aviation waterproof
connectors, which is not only conducive to the expansion and use, but also allows the RANGER
MINI 2.0 to be used in some harsh environments. A standard aluminum extension bracket is
installed on the RANGER MINI 2.0, which is convenient for users to carry external equipment.


2.1 Status of the RANGER MINI 2.0
The user can check the status of the RANGER MINI 2.0 through its CAN message. Please refer to
Table 2.1 for specific status.


       Status                                               Description


                             The current battery voltage can be viewed through BMS (Battery
       Voltage
                                                Management System) feedback



   Powered Status                                Lights on indicate power is on.


                         When the SOC (State of Charge) of the battery is lower than 15% through
                        BMS feedback, the front and rear lights of the RANGER MINI 2.0 will flash
    Low Voltage           as a reminder. When the battery power is detected lower than 10%, the
       Warning                   4WD chassis will actively cut off the power supply for external
                         equipment and driver to protect the battery. At this time, the chassis will
                                       not move and accept external command control.


   Detailed Status
                                                    Check by CAN message
     Information



                         Table 2.1 Status Description Table for the RANGER




                                                  11 / 52
2.2 Description of Electrical Interfaces




                                                                                                     

                           Figure 2.2 Back View of the RANGER MINI 2.0

The RANGER MINI 2.0 has a circular connector for expansion at its rear. The interface can be used
to provide power for external equipment (the load current cannot exceed 15 A, and the voltage
range is 46~50 V) and transfer information through its CAN communication interface. Its pins

are defined in the figure below. Please note that its power supply is subject to internal control.
When the battery voltage is lower than the safe level, it will actively cut off the power supply.
Therefore, users need to pay attention to the low voltage alarm of the RANGER MINI 2.0 before
reaching the critical voltage. Do not forget to charge the RANGER MINI 2.0 after use.




                                                12 / 52
  Pin                       Function and
            Pin Type                                                  Note
 Number                       Definition


                                                     Positive terminal. The voltage range is
   1      Power supply          VCC                                 46~50 V
                                                     The load current cannot exceed 15 A.



   2      Power supply          GND                            Negative terminal



   3         CAN               CAN_H                             CAN Hi (High)


   4         CAN               CAN_L                             CAN Lo (Low)


                 Figure 2.3 Pin descriptions of the circular connector


2.3 Remote Control Instructions




                                           13 / 52
                                                                                       

                            Figure 2.4 Introduction of the remote control

As shown in the figure above, the functions of the buttons are defined as follows: SWB is the
control mode selection lever, dialed to the top is the command control mode, dialed to the middle
or down is the remote control mode; SWA is the light control switch, dialed to the bottom is to turn
off the light (need SWB first enters the remote control mode); SWC is the ultrasonic obstacle
avoidance enable switch (this version does not support it), and when it is turned to the middle, the
ultrasonic obstacle avoidance function is turned on; when SWC is turned to the bottom, it is the
parking mode, and the four-wheel four-steering is X-shaped at this time Locking.

(especially note that when the RANGERMINI is turned off in X-shaped parking, it needs to
start the switch button twice to turn it on again);

SWD is the switch for Motion mode:




                                               14 / 52
Moving SWD to the top is    ① front and rear Ackerman mode (the left joystick controls the speed,
and the right joystick controls the steering angle) + ② spin mode (the left joystick does not move,
the right joystick controls the spin direction)

Moving SWD to the bottom is the oblique motion mode: the left joystick controls the speed, and
the right joystick controls the steering angle (the maximum angle is 90°, which makes the
RANGER MINI 2.0MINI 2.0MINI 2.0move laterally);

Moving SWA to the bottom + scrolling the left scroll wheel to the bottom + pressing KEY1 =
entering into the automatic steering calibration procedure;

Moving SWA to the bottom + scrolling the left scroll wheel to the bottom top + press KEY1 =
setting the zero point of the steering angle;

Pressing KEY1 in any case = forcibly clear all errors of the RANGER. Attention! To be used only
in special cases where safety is guaranteed.

POWER is the power button. Press and hold it to power on.



Basic operation process of remote control:
Before starting, you need to ensure that the wheels and chassis of RANGERMINI are parallel
and facing forward. After starting the RANGERMINI 2.0 mobile robot chassis normally, start the
remote controller, switch the SWB to remote control mode, and then control the movement of the
RANGERMINI platform through the remote controller.



Remote control battery replacement instructions:
      The FS remote control uses 5AA batteries as its energy supply. When the remote control
display interface Remoter is relatively low, it means that the battery power of the remote control is
too low. At this time, you need to open the battery cover on the back of the remote control and
replace the battery.




3 Usage and Development
This part mainly introduces the basic operation and usage of the RANGER, and how to carry out
secondary development through the external CAN interface and the CAN bus protocol.




                                                  15 / 52
3.1 Operation
Check
Check the RANGER MINI 2.0 status

Check whether there is any obvious abnormality in the RANGER MINI 2.0; if so, please contact
after-sales support;

When using it for the first time, check whether the power switch(Q3) in the rear electrical panel is
pressed, if pressed, please press it, and then release it. At this time, the power switch is released,
and the RANGER MINI 2.0 is powered off.

Power on and off
The Q3 button on the tail is a switch button. When pressed, the power is turned on and the robot
is powered on.



Charge
Check the battery voltage, the normal voltage range is 45-54V, if the front light flashes, it means
the battery voltage is too low, please charge it in time. This product is equipped with a 10A
charger by default. Insert the plug of the charger into the Q4 charging socket on the back of the
chassis, connect the charger to the power supply, and turn on the switch on the charger to enter
the charging state.




                                                16 / 52
Battery replacement
RANGERMINI is equipped with a 48v24ah battery. During operation, when the battery power is too
low, we can open the battery panel on the right side to quickly replace the battery.




                                               17 / 52
Connection of the CAN Cable
The 4WD chassis is shipped with an circular connector male head. The definition of its lines can
refer to the figure below:




                             Figure 3.1 Overview of the circular connector




                                                18 / 52
Implementation of CAN command control
Start the RANGER MINI 2.0normally, turn on the remote control, and then switch the SWB to the
command control mode (move SWB to the top). At this time, the RANGER MINI 2.0 will accept
commands from the CAN bus, and the host can also analyze the status of the RANGER MINI
2.0 using the feedbacked real-time data through the CAN bus. Refer to the CAN communication
protocol for details. (By default, when the chassis is started and the remote control is not started.)


3.2 CAN Communication Protocol
The CAN communication protocol in this product is CAN2.0B standard, its communication baud
rate is 500 K, and its message format is the MOTOROLA format. Through the external CAN
interface, users can switch the control model and control the linear speed and steering angle of
the RANGER. The RANGER MINI 2.0MINI 2.0MINI 2.0will real-time feedback the current
movement status information (including the integrated movement information of the vehicle and
the detailed movement information of each wheel) and the system status information (including
self-diagnostic error codes).



     Command                               System Status Feedback Command



 Node for sending
                          Node for
                          receiving
                                                   ID            Period   (ms)      Receive timeout
                                                                                           (ms)


   Drive-by-wire      Decision-making
                                                 0x211                20ms                None
      chassis          and control unit



    Data length             0x08



        Byte              Meaning              Data type                        Note


      byte [0]         Current vehicle       unsigned int8             0x00 The system is normal
                            status                                 0x02 The system is abnormal




                                                19 / 52
                                                         0x00 Standby mode
byte [1]   Control mode      unsigned int8       0x01 Command control mode
                                                  0x03 Remote control mode




             High order
byte [2]   byte of battery
               voltage


                             unsigned int16   Actual voltage X 10 (the unit is 0.1 V)


             Low order
byte [3]   byte of battery
               voltage



                             unsigned int32   Refer to the error message table for
           Highest order                                     details
byte [4]    byte of error
              message



             High order
byte [5]    byte of error
              message

             Low order
byte [6]    byte of error
              message




                                20 / 52
                  Lowest order
byte [7]          byte of error
                    message


                              Table 1 Error message table



                                    Error message


           Byte                           Bit                          Meaning

                                                              Right front steering servo
                                        bit [0]
                                                            warning (0: unfaulty; 1: faulty)

                                                              Right rear steering servo
                                        bit [1]
                                                            warning (0: unfaulty; 1: faulty)

                                                               Left rear steering servo
                                        bit [2]
                                                            warning (0: unfaulty; 1: faulty)

                                                              Left front steering servo
                                        bit [3]
                                                            warning (0: unfaulty; 1: faulty)
       byte [4]
                                                            Reserved, the default value is
                                        bit [4]
                                                                          0.

                                                            Reserved, the default value is
                                        bit [5]
                                                                           0

                                                            Reserved, the default value is
                                        bit [6]
                                                                           0

                                                            Reserved, the default value is
                                        bit [7]
                                                                           0

                                                              Right front steering zero
                                        bit [0]              point calibration status (0:

       byte [5]                                                   unfaulty; 1: faulty)




                                        21 / 52
                        Right rear steering zero
           bit [1]    point calibration status (0:
                           unfaulty; 1: faulty)

                        Left rear steering zero
           bit [2]    point calibration status (0:
                           unfaulty; 1: faulty)

                        Left front steering zero
           bit [3]    point calibration status (0:
                           unfaulty; 1: faulty)

                     Steering calibration timeout
           bit [4]
                         (0: unfaulty; 1: faulty)

                     Reserved, the default value is
           bit [5]
                                    0

                     Reserved, the default value is
           bit [6]
                                    0

                     Reserved, the default value is
           bit [7]
                                    0

                      driver status (0: unfaulty; 1:
           bit [0]
                                  faulty)

                     Communication connection
byte [6]
           bit [1]    status with upper layer (0:
                           unfaulty; 1: faulty)

                          No. 5 motor driver
           bit [2]     communication status (0:
                           unfaulty; 1: faulty)

                          No. 6 motor driver
           bit [3]     communication status (0:
                           unfaulty; 1: faulty)




           22 / 52
                          No. 7 motor driver
           bit [4]     communication status (0:
                           unfaulty; 1: faulty)

                          No. 8 motor driver
           bit [5]     communication status (0:
                           unfaulty; 1: faulty)

                     Over temperature protection
           bit [6]
                     status (0: normal; 1: triggered)

                        Over current protection
           bit [7]
                     status (0: normal; 1: triggered)

byte [7]             Battery undervoltage status
           bit [0]
                        (0: normal; 1: triggered)

                     Reserved, the default value is
           bit [1]
                                    0

                          Remote control lost
           bit [2]   connection protection status
                        (0: normal; 1: triggered)

                          No. 1 motor driver
           bit [3]     communication status (0:
                           unfaulty; 1: faulty)

                          No. 2 motor driver
           bit [4]     communication status (0:
                           unfaulty; 1: faulty)

                          No. 3 motor driver
           bit [5]     communication status (0:
                           unfaulty; 1: faulty)

                          No. 4 motor driver
           bit [6]     communication status (0:
                           unfaulty; 1: faulty)




           23 / 52
                                                                    Reserved, the default value is
                                                  bit [7]
                                                                                      0


The motion control feedback frame includes the current linear speed and steering angle of the
vehicle.

The details of the protocol are as follows



     Command                                 Motion Control Feedback Command



 Node for sending
                          Node for
                         receiving
                                                    ID         Period   (ms)      Receive timeout
                                                                                           (ms)


   Drive-by-wire     Decision-making
                                                  0x221            20ms                   None
      chassis         and control unit


    Data length             0x08



           Byte           Meaning               Data type                      Note



                         High order
      byte [0]         byte of speed                                 Actual speed X 1000
                                               signed int16
      byte [1]           Low order                                   (the unit is 0.001 m/s)
                       byte of speed

                      High order byte
                       of spin speed
      byte [2]                                                Angular velocity of chassis rotation,
                         Low order            signed int16
      byte [3]                                                           unit 0.001rad/s
                        byte of spin
                           speed

      byte [4]            Reserved                  -                         0X00


      byte [5]            Reserved                  -                         0X00




                                                 24 / 52
                        High order
                     byte of steering
      byte [6]             angle                              Actual steering angle X 1000 (the
                                           signed int16
      byte [7]          Low order                                         unit is 0.001 °)
                     byte of steering
                           angle




The motion control frame includes the linear speed control command and the steering
angle control command. The details of the protocol are as follows:



              Command                                       Motion Control Command




 Node for sending
                         Node for
                         receiving
                                                ID            Period   (ms)        Receive timeout
                                                                                             (ms)



 Decision-making       Node for the
                                              0x111                  20ms                500ms
  and control unit        chassis


    Data length            0x08



       Byte              Meaning            Data type                          Note



                                                              Speed of the vehicle, whose unit
                        High order
                                                              is mm/s (valid value + -1500; valid
                       byte of linear
                                                               value + -750 when the steering
      byte [0]            speed
                                           signed int16       angle > 20°; taking effect in front
      byte [1]          Low order
                                                                     and rear Ackerman mode
                       byte of linear
                                                                     and oblique motion mode)
                          speed
                                                                 Forward direction is positive




                                             25 / 52
                       High order byte                           Angular velocity of chassis rotation,
                        of spin speed                                       unit 0.001rad/s
      byte [2]
                          Low order          signed int16                (Valid value +-3259,
      byte [3]
                         byte of spin                           counterclockwise rotation is positive
                            speed                                                value)



      byte [4]
                          Reserved                  -                               -
      byte [5]



                         High order
                                                                   Steering inner corner angle unit:
                       byte of steering
                                                                  0.001rad (effective value front and
      byte [6]              angle
                                              signed int16          rear Ackerman mode + -698,
      byte [7]            Low order
                                                                        oblique mode + - 1571)
                       byte of steering
                                                                     Left turn direction is positive
                            angle


As shown in Figure 3.2.1, when the RANGER MINI 2.0 is in front and rear Ackerman mode, the
feedback steering angle is (α+β)/2, left steering is negative, and right steering is positive; the
                                                           ’
feedback speed is the average value of the four wheels speed (that is, the linear speed of the
chassis), reversing is negative, and moving forward is positive. If you need to check the detailed
steering angle and speed of each wheel, please refer to 0X271 and 0X281 feedback frames.




                                                 26 / 52
                        Figure 3.2.1 The Ackerman structure of the RANGER

As shown in Figure 3.2.2, when the RANGER MINI 2.0 is in oblique motion mode, the feedback
steering angle is (α1+α2+α3+α4)/4, left steering is negative, and right steering is positive; the
                                                                ’
feedback linear speed is the average value of the four wheels speed, reversing is negative, and
moving forward is positive. If you need to check the detailed steering angle and speed of each
wheel, please refer to the 0x271 and 0x281 feedback frames.




                                                27 / 52
           Figure 3.2.2 Wheels control of the RANGER MINI 2.0 in oblique motion mode

When the chassis is in the spin mode, the steering angle is a constant value , which cannot be
changed. At this time, the feedback steering angle is the average value of the absolute values of
α1, α2, α3, and α4. The spinning speed of the chassis can be changed by commands, and
counterclockwise spinning is positive.

The mode setting frame is used to set the terminal control interface, and the details of the protocol
are as follows.




                  Command                                         Control Command



 Node for sending
                         Node for
                         receiving
                                                 ID            Period   (ms)       Receive timeout
                                                                                         (ms)


 Decision-making       Node for the
                                               0x421                None                 None
  and control unit          chassis




                                               28 / 52
    Data length                0x01


        Byte              Meaning            Data type                         Note


                                                                        0x00 Standby mode
      byte [0]         Control mode        unsigned int8       0x01 CAN command control mode
                                                               Boot into standby mode by default


Control mode description: when the chassis is powered on and the remote control is not
connected, the control mode is standby mode. At this time, the chassis only receives control
mode commands and does not respond to other commands. To control the chassis using CAN,
you need to switch control mode to CAN command control mode first. If the remote control is
turned on, the remote control has the highest priority, which can block the control command and
switch the control mode. The status setting frame is used to clear system errors, and the details of
the protocol are as follows.



                  Command                                       Control Command




 Node for sending
                          Node for
                         receiving
                                                 ID            Period   (ms)      Receive timeout
                                                                                        (ms)




 Decision-making        Node for the
                                               0x441                None                None
  and control unit         chassis




    Data length                0x01


        Byte              Meaning            Data type                         Note




                                              29 / 52
                                                                        0x00 Clear all non-critical faults
                                                                             0x01~0x08 Clear the
                                                                       communication faults of No. 1~8
                                                                           motor drivers respectively
                                                                      0x09 Clear the battery undervoltage
                                                                       fault and try to restore the power
                              Error clearing                                         supply
        byte [0]                                   unsigned int8
                                command                                0x0a Clear remote control signal
                                                                                    loss fault
                                                                         0x0b~0x0e Clear the steering
                                                                      calibration fault of No. 5~8 motors
                                                                                   respectively
                                                                          0x0f Clear over current fault
                                                                       0x10 Clear over temperature fault


Sample data, the following data is only for testing, command control mode needs to be enabled
before use.

1. The chassis moves forward at 0.15m/s


 byte [0]          byte [1]      byte [2]      byte [3]    byte [4]     byte [5]     byte [6]      byte [7]

 0x00              0x96          0x00          0x00        0x00         0x00         0x00          0x00


2. The chassis turns 10°


 byte [0]          byte [1]      byte [2]      byte [3]    byte [4]     byte [5]     byte [6]      byte [7]

 0x00              0x00          0x00          0x00        0x00         0x00         0x03          0xe8


In addition to the status of the chassis itself, its feedback information also includes the steering
angle and speed of the four wheels, the current of the motor, the encoder information, and the
temperature information.

The details of the protocol are as follows:




                                                      30 / 52
PS: The eight motor numbers of the chassis are: No. 1 is the right front wheel motor, No. 2 is
the right rear wheel motor, No. 3 is the left rear wheel motor, No. 4 is the left front wheel motor, No.
5 is the right front steering motor, No. 6 is the right rear steering motor, No. 7 is the left rear
steering motor, and No. 8 is the left front steering motor.

Feedback information of speed, current, and position of motor




               Command              High-speed feedback information frame for motor driver



 Node for sending
                           Node for
                           receiving
                                                     ID             Period   (ms)       Receive timeout
                                                                                               (ms)



   Drive-by-wire       Decision-making
                                              0x251~0x258                20ms                  None
      chassis           and control unit


    Data length              0x08


        Byte               Meaning               Data type                          Note


                          High order
                        byte of motor
                                                                     The current speed of the motor,
      byte [0]               speed
                                               signed int16       whose unit is RPM (Revolutions Per
      byte [1]            Low order
                                                                                  Minute)
                        byte of motor
                             speed

                          High order
                        byte of motor
      byte [2]              current                                 The present current of the motor,
                                               signed int16
      byte [3]            Low order                                          whose unit is 0.1 A
                        byte of motor
                            current




                                                  31 / 52
                     Highest order
                     byte of position
     byte [4]          High order
      byte [5]       byte of position
                                           signed int32      The current position of the motor,
      byte [6]         Low order
                                                            whose unit is the number of pulses
      byte [7]       byte of position
                     Lowest order
                     byte of position


Feedback of temperature voltage and status of motor


      Command                        Low-speed information feedback frame for motor driver




 Node for sending   Node for receiving           ID          Period   (ms)       Receive timeout
                                                                                         (ms)



  Drive-by-wire      Decision-making
                                           0x261~0x268          100ms                    None
     chassis         and control unit


    Data length            0x08


       Byte              Meaning             Data type                       Note


                    High order byte of
      byte [0]
                      driver voltage
                                                             The current driver voltage, whose
                                           unsigned int16
                                                                         unit is 0.1 V
                    Low order byte of
      byte [1]
                      driver voltage


                    High order byte of
      byte [2]
                    drive temperature
                                            signed int16               The unit is 1 ℃.
                    Low order byte of
      byte [3]
                    driver temperature




                                             32 / 52
                                                                                The unit is 1 ℃.
      byte [4]       Motor temperature             signed int8       (Invalid value for RANGM series and
                                                                                can be ignored)


      byte [5]             Driver status          unsigned int8              See Table 2 for details



      byte [6]               Reserved                   -                             0X00


      byte [7]               Reserved                   -                             0X00


                                             Table 2 Driver status


     Byte            Bit                                          Meaning

                    bit[0]                  Power supply voltage status (0: normal; 1: too low)

                    bit[1]               Motor temperature status (0: normal; 1: over temperature)

                    bit[2]               The current status of the driver(0: normal; 1: over-current)

                    bit[3]               Driver temperature status (0: normal; 1: over temperature)
    byte[5]
                    bit[4]                        Sensor status (0: Normal; 1: Abnormal)

                    bit[5]                         Driver status (0: Normal; 1: Abnormal)

                    bit[6]                       Drive enable status (0: enable; 1: disable)

                    bit[7]                                        Reserved


Steering angle feedback of four wheels



     Command                                                                           ’
                                          Information feedback frame of four wheels steering angle



 Node for sending
                             Node for
                             receiving
                                                       ID             Period   (ms)        Receive timeout
                                                                                                (ms)




                                                    33 / 52
Drive-by-wire   Decision-making
                                      0x271        20ms                None
   chassis      and control unit

 Data length          0x08



    Byte            Meaning         Data type                Note



                  High order
                byte of steering
                  angle of No.
   byte [0]         5 motor                       The Current steering angle,
                                   signed int16
   byte [1]        Low order                          whose unit is 0.01 °
                byte of steering
                  angle of No.
                    5 motor

                  High order
                byte of steering
                  angle of No.
   byte [2]         6 motor                       The Current steering angle,
                                   signed int16
   byte [3]        Low order                          whose unit is 0.01 °
                byte of steering
                  angle of No.
                    6 motor


                  High order
                byte of steering
                  angle of No.
   byte [4]         7 motor                       The Current steering angle,
                                   signed int16
   byte [5]        Low order                          whose unit is 0.01 °
                byte of steering
                  angle of No.
                    7 motor




                                     34 / 52
                       High order
                    byte of steering
                      angle of No.
      byte [6]           8 motor                                The Current steering angle,
                                           signed int16
      byte [7]         Low order                                      whose unit is 0.01 °
                    byte of steering
                      angle of No.
                         8 motor


Rotational speed feedback of four wheels



   Command                                                                      ’
                                     Information feedback frame of four wheels rotational speed




 Node for sending
                        Node for
                        receiving
                                                ID           Period   (ms)          Receive timeout
                                                                                         (ms)


  Drive-by-wire     Decision-making
                                              0x281              20ms                    None
      chassis        and control unit

    Data length            0x08


       Byte             Meaning             Data type                        Note


                       High order
                    byte of rotational
                      speed of No.
      byte [0]           1 motor                               The current rotational speed,
                                           signed int16
      byte [1]         Low order                                      whose unit is mm/s
                    byte of rotational
                      speed of No.
                         1 motor




                                             35 / 52
                         High order
                      byte of rotational
                        speed of No.
      byte [2]             2 motor                             The current rotational speed,
                                           signed int16
      byte [3]           Low order                                    whose unit is mm/s
                      byte of rotational
                        speed of No.
                           2 motor


                         High order
                      byte of rotational
                        speed of No.
      byte [4]             3 motor                             The current rotational speed,
                                           signed int16
      byte [5]           Low order                                    whose unit is mm/s
                      byte of rotational
                        speed of No.
                           3 motor


                         High order
                      byte of rotational
                        speed of No.
      byte [6]             4 motor                             The current rotational speed,
                                           signed int16
      byte [7]           Low order                                    whose unit is mm/s
                      byte of rotational
                        speed of No.
                           4 motor


The motion mode switching command is used to change motion model of the chassis, and the
details of the protocol are as follows


      Command                                       Current motion mode feedback command



 Node for sending
                          Node for
                          receiving
                                               ID            Period   (ms)      Receive timeout
                                                                                      (ms)




                                             36 / 52
   Drive-by-wire      Decision-making
                                             0x291             20ms               None
      chassis          and control unit



    Data length              0x02




        Byte              Meaning          Data type                      Note



                                                          0x00 front and rear Ackerman mode
                                                              0x01 oblique motion mode
                       Current motion     unsigned int8
      byte [0]                                                      0x02 spin mode
                            mode
                                                                   0x03 Parking mode




                                                             0x00 switching is completed.
                        Whether the
                                                                0x01 in the process of
                      chassis is in the
                                                               switching motion mode
      byte [1]           process of       unsigned int8
                                                           The chassis does not respond to
                        switching the
                                                           speed control commands in the
                        motion model
                                                          process of switching motion mode.




The motion mode switching command is used to change motion model of the chassis, and the
details of the protocol are as follows



                    Command                               Control command




 Node for sending
                          Node for
                          receiving
                                               ID         Period   (ms)      Receive timeout
                                                                                   (ms)




                                             37 / 52
 Decision-making      Node for the
                                            0x141             None                   None
  and control unit       chassis


    Data length           0x01


       Byte             Meaning            Data type                      Note



                                                         0x00 front and rear Ackerman mode
                                                                         (default)
      byte [0]        Motion mode        unsigned int8        0x01 oblique motion mode
                                                                    0x02 spin mode
                                                                   0x03 Parking mode



The odometer information feedback frame is as follows

Front wheel


    Command                               Front wheel mileage feedback




 Node for sending
                        Node for
                        receiving
                                              ID          Period   (ms)        Receive timeout
                                                                                     (ms)



   Drive-by-wire     Decision-making
                                            0×311             20ms                   None
      chassis        and control unit

    Data length           0×08

       Byte            Description         Data type                      Note




                                            38 / 52
                Highest order byt
                  e of front left
                wheel odometer
                      Sub-
                high order byte
     byte [0]      of front left
                                                       Chassis left wheel odometer
     byte [1]   wheel odometer
                                    signed int32                   feedback,
     byte [2]       Second
                                                                   Unit: mm
     byte [3]   low order byte of
                 front left wheel
                    odometer
                Lowest order byt
                  e of front left
                wheel odometer


                 Highest order
                  byte of front
                   right wheel
                    odometer
                      Sub-
                high order byte
     byte [4]
                  of front right                      Chassis right wheel odometer
     byte [5]
                wheel odometer      signed int32                   feedback,
     byte [6]
                    Second                                         Unit: mm
     byte [7]
                low order byte of
                front right wheel
                    odometer
                Lowest order byt
                 e of front right
                wheel odometer


Rear wheel


    Command                          Rear wheel mileage feedback




                                      39 / 52
Node for sending
                       Node for
                       receiving
                                            ID         Period   (ms)      Receive timeout
                                                                               (ms)


 Drive-by-wire     Decision-making
                                          0×312            20ms                None
    chassis        and control unit

  Data length            0×08

     Byte             Description        Data type                     Note


                   Highest order byt
                     e of rear left
                   wheel odometer
                         Sub-
                   high order byte
    byte [0]       of rear left wheel
                                                         Chassis left wheel odometer
    byte [1]           odometer
                                        signed int32              feedback,
    byte [2]           Second
                                                                  Unit: mm
    byte [3]       low order byte of
                    rear left wheel
                       odometer
                   Lowest order byt
                     e of rear left
                   wheel odometer




                                          40 / 52
                      Highest order
                     byte of rear right
                     wheel odometer
                           Sub-
                     high order byte
      byte [4]         of rear right
                                                                 Chassis right wheel odometer
      byte [5]       wheel odometer
                                           signed int32                   feedback,
      byte [6]           Second
                                                                          Unit: mm
      byte [7]       low order byte of
                     rear right wheel
                         odometer
                     Lowest order byt
                      e of rear right
                     wheel odometer


The remote controller information feedback frame is as follows


                   Command                 Remote controller information feedback



 Node for sending
                         Node for
                         receiving
                                                ID           Period   (ms)      Receive timeout
                                                                                      (ms)



   Drive-by-wire     Decision-making
                                              0x241                20ms               None
      chassis        and control unit



    Data length            0x08



       Byte             Description         Data type                        Note




                                             41 / 52
                                                                  bit[0-1]: SWA:2- Up 3-Down
                                                                bit[2-3]: SWB : 2-Up 1-Middle 3-
                      Remote control                                          Down
      byte [0]                              unsigned int8
                       SW feedback                              bit[4-5]: SWC : 2-Up 1-Middle 3-
                                                                              Down
                                                                                :
                                                                  bit[6-7]: SWD 2-Up 3-Down



                       Right joystick
      byte [1]                              unsigned int8               Range:[-100,100]
                        left and right



                     Right joystick up
      byte [2]                              unsigned int8               Range:[-100,100]
                         and down



                      Left joystick up
      byte [3]                              unsigned int8               Range:[-100,100]
                         and down



                      Left joystick left
      byte [4]                              unsigned int8               Range:[-100,100]
                          and right

      byte [5]         Left knob VRA        unsigned int8               Range:[-100,100]

      byte [6]           Reserved                 --                          0x00

      byte [7]          Count check         unsigned int8                  Cycle count


The feedback data of BMS for all batteries, and the details of the protocol are as follows


          Command                                               The feedback data of BMS


 Node for sending
                         Node for
                         receiving
                                                 ID            Period   (ms)        Receive timeout
                                                                                         (ms)


   Drive-by-wire     Decision-making
                                               0x361               500ms                 None
      chassis         and control unit




                                               42 / 52
  Data length            0x08

     Byte              Meaning            Data type                      Note

                     Battery SOC
    byte [0]          (State of         unsigned int8              Range 0~100
                      Charge)

                       Battery
    byte [1]        SOH (State of       unsigned int8              Range 0~100
                        Health)


                   High order byte
    byte [2]       of battery voltage
                                        unsigned int16              Unit: 0.01 V
    byte [3]       Low order byte
                   of battery voltage


                   High order byte
    byte [4]       of battery current
                                         signed int16               Unit: 0.1 A
    byte [5]       Low order byte
                   of battery current


                   High order byte
                      of battery
    byte [6]         temperature
                                         signed int16               Unit: 0.1 ℃
    byte [7]       Low order byte
                      of battery
                     temperature




        Command                                          The feedback data of BMS



Node for sending
                       Node for
                       receiving
                                             ID          Period   (ms)      Receive timeout
                                                                                   (ms)




                                           43 / 52
  Drive-by-wire      Decision-making
                                              0x362               500ms                 None
      chassis        and control unit

    Data length            0x04


       Byte              Meaning            Data type                        Note


                                                                  BIT1: Overvoltage; BIT2:
                                                                  Undervoltage; BIT3: High
      byte [0]        Alarm Status 1      unsigned int8            temperature; BIT4: Low
                                                                temperature; BIT7: Discharge
                                                                          overcurrent

      byte [1]        Alarm Status 2      unsigned int8          BIT0: Charging overcurrent

                                                                  BIT1: Overvoltage; BIT2:
                                                                  Undervoltage; BIT3: High
      byte [2]       Warning Status 1     unsigned int8            temperature; BIT4: Low
                                                                temperature; BIT7: Discharge
                                                                          overcurrent

      byte [3]       Warning Status 2     unsigned int8          BIT0: Charging overcurrent




3.3 RANGER MINI 2.0 use manual for ROS
ROS (Robot Operating System) provides some standard operating system services, such as
hardware abstraction, low-level device control, implementation of commonly used functionality,
message-passing between processes, and package management. ROS is based on a graph
architecture, where processing takes place in nodes that may receive, post, and multiplex various
information (such as sensor data, control, state, planning, and other messages). Currently ROS
mainly supports UBUNTU OS.

Development Preparation
Hardware Equipment

● CANlight CAN communication module X1

● Laptop X1



                                             44 / 52
● AGILEX RANGER MINI 2.0 mobile robot chassis X1

● Paired remote control FS-i6s for the AGILEX RANGER MINI 2.0X1

● Circular connector on the rear of the AGILEX RANGER MINI 2.0




Tested Development Environment
● Ubuntu 18.04

● ROS melodic

● Git




Hardware Connection and Preparation
Pull out the CAN wires of the circular connector on the rear of RANGER MINI 2.0, and connect
can_H and can_L wires of the CAN to the CAN_TO_USB adapter; power on the RANGER MINI
2.0; connect the CAN_TO_USB adapter to the USB port of the laptop. The wiring diagram is
shown in the figure below.




                                       The CAN wiring diagram

                                                    

ROS Installation and Environment Setup
安装具体可以参考http://wiki.r os.org /kinetic/Ins t alla - tion/Ubuntu
Please refer to http://wiki.ros.org/kinetic/Installation/Ubuntu for details



Test the Communication between CANABLE hardware and CAN
Setting CAN-TO-USB adaptor

● Enable gs_usb kernel module




                                                45 / 52
 sudo modprobe gs_usb


● Setting 500k Baud rate and enable can-to-usb adaptor




 sudo ip link set can0 up type can bitrate 500000


● If no error occurred in the previous steps, you should be able to use the command to view the
  can device immediately




 ifconfig -a


● Install and use can-utils to test hardware




 sudo apt install can-utils


● If the can-to-usb has been connected to the BUNKER robot this time, and the car has been
  turned on, use the following commands to monitor the data from the BUNKER chassis




 candump can0


Please refer to:

[1] https://github.com/agilexrobotics/agx_sdk

[2] https://wi-ki.rdu.im/_pages/Notes/Embedded-System/Linux/-can-bus-in-linux.html 



AGILEX RANGER ROS PACKAGE download and compile
● Download ros package




 $ sudo apt install libasio-dev




                                                46 / 52
 $ sudo apt install ros-$ROS_DISTRO-teleop-twist-keyboard


● Clone compile hunter_ros code




 $ cd ~/catkin_ws/src
 $ git clone --recursive https://github.com/agilexrobotics/ugv_sdk.git
 $ git clone https://github.com/agilexrobotics/ranger_ros.git
 $ cd ..
 $ catkin_make


              : https://github.com/agilexrobotics/ranger_ros 
Please refer to



Start the ROS node
● Start the based node




 roslaunch ranger_bringup ranger_minimal.launch


Note that the usb_to_can module equipped with Songling needs to be enabled before starting.
The enabling command is as follows: rosrun ranger_bringup bringup_can2usb.bash.

This command only needs to be executed once each time the usb_to_can module is powered on.

● Start the keyboard remote operation node




 roslaunch ranger_bringup ranger_teleop_keyboard.launch


Pay attention to the terminal printout and use the designated keys to control the RANGERMINI
movement.

 Github ROS development package directory and usage instructions

*_base:: The core node for the chassis to send and receive hierarchical CAN messages. Based on
the communication mechanism of ros, it can control the movement of the chassis and read the
status of the RANGERMINI through the topic.

*_msgs: Define the specific message format of the chassis status feedback topic.



                                              47 / 52
*_bringup: startup files for chassis nodes and keyboard control nodes, and scripts to enable the
usb_to_can module




3.4 Firmware Upgrade
In order to facilitate users to upgrade the firmware version used by RANGERMINI 2.0 and bring
customers a more complete experience, RANGERMINI 2.0 provides a firmware upgrade hardware
interface and corresponding client software.



Upgrade Preparation
● Agilex CAN debugging module X 1

● Micro USB cable X 1

● RANGERMINI 2.0 chassis X 1

● A computer (WINDOWS OS (Operating System)) X 1




Upgrade Process
1.Plug in the USBTOCAN module on the computer, and then open the
AgxCandoUpgradeToolV1.3_boxed.exe software (the sequence cannot be wrong, first open the
software and then plug in the module, the device will not be recognized).

2.Click the Open Serial button, and then press the power button on the car body. If the connection
is successful, the version information of the main control will be recognized, as shown in the figure.




                                               48 / 52
3.Click the Load Firmware File button to load the firmware to be upgraded. If the loading is
successful, the firmware information will be obtained, as shown in the figure




                                                                                               




                                              49 / 52
4.Click the node to be upgraded in the node list box, and then click Start Upgrade Firmware to
start upgrading the firmware. After the upgrade is successful, a pop-up box will prompt.




                                                                                           




                                              50 / 52
4 Product Size




                 51 / 52
52 / 52


[READING ORDER TEXT]
1/52
 
RANGER MINI 2.0
AgileX Robotics Team
USER MANUAL V.2.0.1 2023.08
Document version
RANGER MINI 2.0 User Manual
No. Version Date Edited by Reviewer Notes
1 V1.0.0 2023/2/6 何士玉 First draft2/52
Added odometer data
feedback
Added remote control
data feedback
Changed firmware
upgrade method and
instructions
Optimize layout
Add battery precautions
Added usage
environment
precautions
Add safety precautions
Change self-weight
parameters
Modify the spin
protocol,
Modify the coordinate
system definition
Modify the rotation
angular velocity unit
Add upper PC
download link
2 V1.0.1 2023/3/1 何士玉
●
●
●
●
3 V1.0.2 2023/3/21 何士玉
●
●
●
4 V1.0.3 2023/5/4 何士玉 ●
5 V1.0.4 2023/5/20 李圣望
●
●
●
6 V1.0.5 2023/6/6 吴忠义 ●3/52
Before using the robot, any individual or organization must read and understand the manual. If you
have any questions about it, please do not hesitate to contact us at support@agilex.ai. It is very
important that you should follow and implement all instructions and guidelines in this manual.
Please pay extra attention to the warnings.
Important Safety Information
Add boot instructions in
parking mode
Add charging
instructions
Added remote control
battery replacement
instructions
Change parameters
Add rendering
Adjustment format
Update ROS package
usage description
Add charging icon
description
Added battery
replacement icon
instructions
Add main image
7 V1.0.6 2023/8/22 何士玉
●
●
●
●
8 V1.0.7 2023/9/02 谢瑞亲
●
●
●
9 V1.1.0 2023/9/02 何士玉
●
●
●4/52
This manual does not cover the design, installation, and operation of a robotic application, nor
does it include any equipment that may affect the safety of a robotic system. A robot system that
uses the RANGER MINI 2.0 should be designed and used in compliance with the safety
requirements and other standards of the corresponding countries.
Any users of the RANGER MINI 2.0 should comply with laws and regulations of relevant countries
and ensure that there are no obvious hazards in the application of the RANGER MINI 2.0MINI
2.0MINI 2.0. This includes but is not limited to the following:
Effectiveness and responsibility
Do a risk assessment of the robotic system that uses the RANGER MINI 2.0.
The risk assessment should include additional safety equipment to other machinery.
Please ensure that the equipment of the whole robotic system, including software and
hardware, are designed, and installed correctly.
The RANGER MINI 2.0 is not an autonomous mobile robot with anti-collision, anti-fall, biological
approach warning, and other safety functions. These safety functions are expected to be
developed and assessed by system integrators and end customers under relevant safety
regulations and laws to ensure there are not any major dangers and potential safety hazards in
their practical applications.
Read all technical documents: including the risk assessment and this manual.
Know the possible safety risks before using the RANGER.
Use Environment
For the first use, please read this manual carefully to understand the basic operation and
operating specifications.
Remote control operation should be in a relatively open area. The RANGER MINI 2.0 does not
have any automatic obstacle avoidance sensors.
Please use the RANGER MINI 2.0 under the ambient temperature of -10 ℃~40℃.
The RANGER MINI 2.0’s waterproof and dustproof level is IP54 if it is not customized.
Check
Make sure each device is fully charged.
Make sure the RANGER MINI 2.0has no obvious abnormalities.
Make sure the remote control has sufficient battery power.
●
●
●
●
●
●
●
●
●
●
●
●
●5/52
Precautions
Operation Precautions
Ensure that the surrounding area is relatively open when operating the RANGER.
Please do remote control within sight.
The maximum load of the RANGER MINI 2.0 is 80 KG. Please ensure that the payload does not
exceed 80 KG when using.
When installing external equipment on the RANGER MINI 2.0, Please ensure their centroid
location is at the RANGER MINI 2.0’s center of rotation.
Please charge the RANGER MINI 2.0 in time after low-battery alarm.
When the RANGER MINI 2.0 is abnormal, please stop using it immediately to avoid secondary
injury.
When the RANGER MINI 2.0 is abnormal, please contact the technical support immediately,
and do not handle it without professional suggestion.
Please use the RANGER MINI 2.0 in an environment that does not exceed its IP protection level.
Do not push the RANGER MINI 2.0 directly.
The current of the tail extension power supply does not exceed 15A, and the total power does
not exceed 720w.
Battery
The battery of RANGER MINI products is not fully charged when it leaves the factory. The
specific battery voltage and power can be displayed through vol and batt on the RANGER MINI
remote control.
Please do not charge the battery after it is exhausted, please charge it in time when the low
battery of the RANGERMINI remote control is less than 15%
Static storage conditions: The optimal storage temperature is -10℃~40℃. When the battery is
not in use, it must be charged and discharged once every month, and then stored at full
voltage. Do not store the battery Place in fire, or heat the battery. Do not store batteries at high
temperatures.
Charging: You must use the matching lithium battery charger for charging. Do not charge the
battery below 0°C. Do not use non-original standard batteries, power supplies, and chargers.
Usage environment
●
●
●
●
●
●
●
●
●
●
●
●
●
●6/52
The operating temperature of RANGER MINI is -10°C~40°C, please do not use it in an
environment where the temperature is lower than -10°C and higher than 40°C
Do not use it in an environment with corrosive or flammable gases or near flammable
substances.
Please do not use it around heating elements such as heaters or large winding resistors
RANGER MINI is waterproof and dustproof rated IP55
It is recommended that the altitude of the use environment should not exceed 1000M
It is recommended that the temperature difference between day and night in the use
environment does not exceed 25℃
Safety
If you have any questions about the use process, please follow the relevant instruction manual
or consult relevant technical personnel.
Before using the equipment, pay attention to the on-site conditions to avoid improper operation
that may cause personal safety problems.
In case of emergency, press the emergency stop button to power off the equipment.
Do not modify the internal equipment structure without technical support and permission
When the equipment is abnormal, please stop using it immediately to avoid secondary injury
When an abnormality occurs in the equipment, please contact the relevant technical personnel
and do not handle it without authorization.
CONTENTS
●
●
●
●
●
●
●
●
●
●
●
●7/52
1 Introduction to the RANGER MINI 2.0
CONTENTS
Document version  
Important Safety Information  
Precautions  
CONTENTS  
1 Introduction to the RANGER MINI 2.0  
1.1 Product List  
1.2 Specifications  
1.3 Required for Development  
2 Basic Introduction  
2.1 Status of the RANGER MINI 2.0  
2.2 Description of Electrical Interfaces  
2.3 Remote Control Instructions  
3 Usage and Development  
3.1 Operation   
3.2 CAN Communication Protocol  
3.3 RANGER MINI 2.0 use manual for ROS   
3.4 Firmware Upgrade  
4 Product Size  8/52
The RANGER MINI 2.0 is a programmable omnidirectional UGV (UNMANNED GROUND VEHICLE),
which is a chassis with a modular design. Compared with the four-wheel differential chassis, the
RANGER MINI 2.0 has obvious advantages when running on ordinary cement roads and asphalt
roads. It not only has higher speed and load capacity, but also reduces the wear and tear on the
structure and tires. It is also more stable and safer. Compared with Ackermann chassis, the
RANGER MINI2.0 not only reduces the turning radius, but also can turn at 0 angle. The RANGER
MINI 2.0 combines the advantages of differential chassis and Ackermann chassis, which is
suitable for various complex terrains. What’s more, it can be equipped with stereo cameras,
LiDAR, GNSS, IMU, manipulators and other equipment to be applied in fields such as unmanned
inspection, security, scientific research, exploration and logistics.
1.1 Product List
1.2 Specifications
Name Quantity
RANGER MINI 2 body ×1
Battery charger (AC 220V) ×1
Aviation plug male (4Pin) ×1
FS remote controller (optional) ×1
USB to CAN communication module ×1
Type Items Parameters
Mechanical Dimensions (mm) 738×500×338
Axle Track (mm) 494
Front/rear track (mm) 3649/52
Kerb weight (Kg) 64.5
Battery type Lithium iron phosphate
Battery parameters 48V24AH
Power drive motor 350W×4
Steering drive motor 100W×4
Parking type Electronic brake
Steering type 4 wheels steering
Suspension Independent suspension
Steering motor reduction ratio 1:50
Steering motor encoder
Multiturn absolute encoder (9
bit)
Drive motor reduction ratio 1:4.428
Drive motor sensor Hall
Performation IP grade IP54
Maximum speed(km/h) 5.4
Minimum turning radius (mm)
0mm(Spin mode)
810mm(Ackermann model)
Maximum gradeability (°) 15° with load
Ground clearance (mm) 107
Maximum endurance (h) 7
Maximum travel (km) 35
Charging time (h) 1.510/52
1.3 Required for Development
The RANGER MINI 2.0 can be equipped with FS remote control when buying. Users can use it to
control the 4WD chassis, complete mode switching, movement and steering. The RANGER MINI
2.0 has a standard CAN (Controller Area Network) communication interface to facilitate secondary
development.
2 Basic Introduction
This part is a basic introduction to the RANGER MINI 2.0, mobile robot chassis. After reading this
part, users and developers can have an overall understanding about it. As shown in Figure 2.1
below, it is an overview of the RANGER MINI 2.0,.
 
Working temperature (℃) -10~40
Control
Control mode
Remote control mode
Command control mode
Remote controller 2.4G/limit distance 200M
Communication Interface CAN11/52
Figure 2.1 Overview of the RANGER MINI 2.0
The RANGER MINI 2.0 is based on a modular and intelligent design concept. It adopts a
composite design of solid tires and swing arms on the power module, and has a powerful hub
motor, which makes the RANGER MINI 2.0 swift passing ability and ground adaptability. It can
move flexibly on different ground. The hub motor does not require complicated transmission
design, making the RANGER MINI 2.0 smaller and more flexible. An open electrical interface and
communication interface are configured at the rear of the RANGER MINI 2.0, which is convenient
for users to carry out secondary development. The electrical interface adopts aviation waterproof
connectors, which is not only conducive to the expansion and use, but also allows the RANGER
MINI 2.0 to be used in some harsh environments. A standard aluminum extension bracket is
installed on the RANGER MINI 2.0, which is convenient for users to carry external equipment.
2.1 Status of the RANGER MINI 2.0
The user can check the status of the RANGER MINI 2.0 through its CAN message. Please refer to
Table 2.1 for specific status.
Table 2.1 Status Description Table for the RANGER
Status Description
Voltage
The current battery voltage can be viewed through BMS (Battery
Management System) feedback
Powered Status Lights on indicate power is on.
Low Voltage
Warning
When the SOC (State of Charge) of the battery is lower than 15% through
BMS feedback, the front and rear lights of the RANGER MINI 2.0 will flash
as a reminder. When the battery power is detected lower than 10%, the
4WD chassis will actively cut off the power supply for external
equipment and driver to protect the battery. At this time, the chassis will
not move and accept external command control.
Detailed Status
Information
Check by CAN message12/52
2.2 Description of Electrical Interfaces

Figure 2.2 Back View of the RANGER MINI 2.0
The RANGER MINI 2.0 has a circular connector for expansion at its rear. The interface can be used
to provide power for external equipment (the load current cannot exceed 15 A, and the voltage
range is 46~50 V) and transfer information through its CAN communication interface. Its pins
are defined in the figure below. Please note that its power supply is subject to internal control.
When the battery voltage is lower than the safe level, it will actively cut off the power supply.
Therefore, users need to pay attention to the low voltage alarm of the RANGER MINI 2.0 before
reaching the critical voltage. Do not forget to charge the RANGER MINI 2.0 after use.13/52
Figure 2.3 Pin descriptions of the circular connector
2.3 Remote Control Instructions
Pin
Number
Pin Type
Function and
Definition
Note
1 Power supply VCC
Positive terminal. The voltage range is
46~50 V
The load current cannot exceed 15 A.
2 Power supply GND Negative terminal
3 CAN CAN_H CAN Hi (High)
4 CAN CAN_L CAN Lo (Low)14/52
 
Figure 2.4 Introduction of the remote control
As shown in the figure above, the functions of the buttons are defined as follows: SWB is the
control mode selection lever, dialed to the top is the command control mode, dialed to the middle
or down is the remote control mode; SWA is the light control switch, dialed to the bottom is to turn
off the light (need SWB first enters the remote control mode); SWC is the ultrasonic obstacle
avoidance enable switch (this version does not support it), and when it is turned to the middle, the
ultrasonic obstacle avoidance function is turned on; when SWC is turned to the bottom, it is the
parking mode, and the four-wheel four-steering is X-shaped at this time Locking.
(especially note that when the RANGERMINI is turned off in X-shaped parking, it needs to
start the switch button twice to turn it on again);
SWD is the switch for Motion mode:15/52
Moving SWD to the top is ①front and rear Ackerman mode (the left joystick controls the speed,
and the right joystick controls the steering angle) + ②spin mode (the left joystick does not move,
the right joystick controls the spin direction)
Moving SWD to the bottom is the oblique motion mode: the left joystick controls the speed, and
the right joystick controls the steering angle (the maximum angle is 90°, which makes the
RANGER MINI 2.0MINI 2.0MINI 2.0move laterally);
Moving SWA to the bottom + scrolling the left scroll wheel to the bottom + pressing KEY1 =
entering into the automatic steering calibration procedure;
Moving SWA to the bottom + scrolling the left scroll wheel to the bottom top + press KEY1 =
setting the zero point of the steering angle;
Pressing KEY1 in any case = forcibly clear all errors of the RANGER. Attention! To be used only
in special cases where safety is guaranteed.
POWER is the power button. Press and hold it to power on.
Basic operation process of remote control:
Before starting, you need to ensure that the wheels and chassis of RANGERMINI are parallel
and facing forward. After starting the RANGERMINI 2.0 mobile robot chassis normally, start the
remote controller, switch the SWB to remote control mode, and then control the movement of the
RANGERMINI platform through the remote controller.
Remote control battery replacement instructions:
The FS remote control uses 5AA batteries as its energy supply. When the remote control
display interface Remoter is relatively low, it means that the battery power of the remote control is
too low. At this time, you need to open the battery cover on the back of the remote control and
replace the battery.
3 Usage and Development
This part mainly introduces the basic operation and usage of the RANGER, and how to carry out
secondary development through the external CAN interface and the CAN bus protocol.16/52
3.1 Operation
Check
Check the RANGER MINI 2.0 status
Check whether there is any obvious abnormality in the RANGER MINI 2.0; if so, please contact
after-sales support;
When using it for the first time, check whether the power switch(Q3) in the rear electrical panel is
pressed, if pressed, please press it, and then release it. At this time, the power switch is released,
and the RANGER MINI 2.0 is powered off.
Power on and off
The Q3 button on the tail is a switch button. When pressed, the power is turned on and the robot
is powered on.
Charge
Check the battery voltage, the normal voltage range is 45-54V, if the front light flashes, it means
the battery voltage is too low, please charge it in time. This product is equipped with a 10A
charger by default. Insert the plug of the charger into the Q4 charging socket on the back of the
chassis, connect the charger to the power supply, and turn on the switch on the charger to enter
the charging state.
17/52
Battery replacement
RANGERMINI is equipped with a 48v24ah battery. During operation, when the battery power is too
low, we can open the battery panel on the right side to quickly replace the battery.18/52
Connection of the CAN Cable
The 4WD chassis is shipped with an circular connector male head. The definition of its lines can
refer to the figure below:
Figure 3.1 Overview of the circular connector19/52
Implementation of CAN command control
Start the RANGER MINI 2.0normally, turn on the remote control, and then switch the SWB to the
command control mode (move SWB to the top). At this time, the RANGER MINI 2.0 will accept
commands from the CAN bus, and the host can also analyze the status of the RANGER MINI
2.0 using the feedbacked real-time data through the CAN bus. Refer to the CAN communication
protocol for details. (By default, when the chassis is started and the remote control is not started.)
3.2 CAN Communication Protocol
The CAN communication protocol in this product is CAN2.0B standard, its communication baud
rate is 500 K, and its message format is the MOTOROLA format. Through the external CAN
interface, users can switch the control model and control the linear speed and steering angle of
the RANGER. The RANGER MINI 2.0MINI 2.0MINI 2.0will real-time feedback the current
movement status information (including the integrated movement information of the vehicle and
the detailed movement information of each wheel) and the system status information (including
self-diagnostic error codes).
Command System Status Feedback Command
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Drive-by-wire
chassis
Decision-making
and control unit
0x211 20ms None
Data length 0x08
Byte Meaning Data type Note
byte [0] Current vehicle
status
unsigned int8 0x00 The system is normal
0x02 The system is abnormal20/52
byte [1] Control mode unsigned int8
0x00 Standby mode
0x01 Command control mode
0x03 Remote control mode
byte [2]
High order
byte of battery
voltage
unsigned int16 Actual voltage X 10 (the unit is 0.1 V)
byte [3]
Low order
byte of battery
voltage
byte [4]
Highest order
byte of error
message
unsigned int32 Refer to the error message table for
details
byte [5]
High order
byte of error
message
byte [6]
Low order
byte of error
message21/52
Table 1 Error message table
byte [7]
Lowest order
byte of error
message
Error message
Byte Bit Meaning
byte [4]
bit [0]
Right front steering servo
warning (0: unfaulty; 1: faulty)
bit [1]
Right rear steering servo
warning (0: unfaulty; 1: faulty)
bit [2]
Left rear steering servo
warning (0: unfaulty; 1: faulty)
bit [3]
Left front steering servo
warning (0: unfaulty; 1: faulty)
bit [4]
Reserved, the default value is
0.
bit [5]
Reserved, the default value is
0
bit [6]
Reserved, the default value is
0
bit [7]
Reserved, the default value is
0
byte [5]
bit [0]
Right front steering zero
point calibration status (0:
unfaulty; 1: faulty)22/52
bit [1]
Right rear steering zero
point calibration status (0:
unfaulty; 1: faulty)
bit [2]
Left rear steering zero
point calibration status (0:
unfaulty; 1: faulty)
bit [3]
Left front steering zero
point calibration status (0:
unfaulty; 1: faulty)
bit [4]
Steering calibration timeout
(0: unfaulty; 1: faulty)
bit [5]
Reserved, the default value is
0
bit [6]
Reserved, the default value is
0
bit [7]
Reserved, the default value is
0
byte [6]
bit [0]
driver status (0: unfaulty; 1:
faulty)
bit [1]
Communication connection
status with upper layer (0:
unfaulty; 1: faulty)
bit [2]
No. 5 motor driver
communication status (0:
unfaulty; 1: faulty)
bit [3]
No. 6 motor driver
communication status (0:
unfaulty; 1: faulty)23/52
bit [4]
No. 7 motor driver
communication status (0:
unfaulty; 1: faulty)
bit [5]
No. 8 motor driver
communication status (0:
unfaulty; 1: faulty)
bit [6]
Over temperature protection
status (0: normal; 1: triggered)
bit [7]
Over current protection
status (0: normal; 1: triggered)
byte [7]
bit [0]
Battery undervoltage status
(0: normal; 1: triggered)
bit [1]
Reserved, the default value is
0
bit [2]
Remote control lost
connection protection status
(0: normal; 1: triggered)
bit [3]
No. 1 motor driver
communication status (0:
unfaulty; 1: faulty)
bit [4]
No. 2 motor driver
communication status (0:
unfaulty; 1: faulty)
bit [5]
No. 3 motor driver
communication status (0:
unfaulty; 1: faulty)
bit [6]
No. 4 motor driver
communication status (0:
unfaulty; 1: faulty)24/52
The motion control feedback frame includes the current linear speed and steering angle of the
vehicle.
The details of the protocol are as follows
bit [7]
Reserved, the default value is
0
Command Motion Control Feedback Command
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Drive-by-wire
chassis
Decision-making
and control unit
0x221 20ms None
Data length 0x08
Byte Meaning Data type Note
byte [0]
byte [1]
High order
byte of speed
Low order
byte of speed
signed int16
Actual speed X 1000
(the unit is 0.001 m/s)
byte [2]
byte [3]
High order byte
of spin speed
Low order
byte of spin
speed
signed int16
Angular velocity of chassis rotation,
unit 0.001rad/s
byte [4] Reserved - 0X00
byte [5] Reserved - 0X0025/52
The motion control frame includes the linear speed control command and the steering
angle control command. The details of the protocol are as follows:
byte [6]
byte [7]
High order
byte of steering
angle
Low order
byte of steering
angle
signed int16
Actual steering angle X 1000 (the
unit is 0.001 °)
Command Motion Control Command
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Decision-making
and control unit
Node for the
chassis
0x111 20ms 500ms
Data length 0x08
Byte Meaning Data type Note
byte [0]
byte [1]
High order
byte of linear
speed
Low order
byte of linear
speed
signed int16
Speed of the vehicle, whose unit
is mm/s (valid value + -1500; valid
value + -750 when the steering
angle > 20°; taking effect in front
and rear Ackerman mode
and oblique motion mode)
Forward direction is positive26/52
As shown in Figure 3.2.1, when the RANGER MINI 2.0 is in front and rear Ackerman mode, the
feedback steering angle is (α+β)/2, left steering is negative, and right steering is positive; the
feedback speed is the average value of the four wheels’speed (that is, the linear speed of the
chassis), reversing is negative, and moving forward is positive. If you need to check the detailed
steering angle and speed of each wheel, please refer to 0X271 and 0X281 feedback frames.
byte [2]
byte [3]
High order byte
of spin speed
Low order
byte of spin
speed
signed int16
Angular velocity of chassis rotation,
unit 0.001rad/s
(Valid value +-3259,
counterclockwise rotation is positive
value)
byte [4]
byte [5]
Reserved - -
byte [6]
byte [7]
High order
byte of steering
angle
Low order
byte of steering
angle
signed int16
Steering inner corner angle unit:
0.001rad (effective value front and
rear Ackerman mode + -698,
oblique mode + - 1571)
Left turn direction is positive27/52
Figure 3.2.1 The Ackerman structure of the RANGER
As shown in Figure 3.2.2, when the RANGER MINI 2.0 is in oblique motion mode, the feedback
steering angle is (α1+α2+α3+α4)/4, left steering is negative, and right steering is positive; the
feedback linear speed is the average value of the four wheels’speed, reversing is negative, and
moving forward is positive. If you need to check the detailed steering angle and speed of each
wheel, please refer to the 0x271 and 0x281 feedback frames.28/52
Figure 3.2.2 Wheels control of the RANGER MINI 2.0 in oblique motion mode
When the chassis is in the spin mode, the steering angle is a constant value , which cannot be
changed. At this time, the feedback steering angle is the average value of the absolute values of
α1, α2, α3, and α4. The spinning speed of the chassis can be changed by commands, and
counterclockwise spinning is positive.
The mode setting frame is used to set the terminal control interface, and the details of the protocol
are as follows.
Command Control Command
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Decision-making
and control unit
Node for the
chassis
0x421 None None29/52
Control mode description: when the chassis is powered on and the remote control is not
connected, the control mode is standby mode. At this time, the chassis only receives control
mode commands and does not respond to other commands. To control the chassis using CAN,
you need to switch control mode to CAN command control mode first. If the remote control is
turned on, the remote control has the highest priority, which can block the control command and
switch the control mode. The status setting frame is used to clear system errors, and the details of
the protocol are as follows.
Data length 0x01
Byte Meaning Data type Note
byte [0] Control mode unsigned int8
0x00 Standby mode
0x01 CAN command control mode
Boot into standby mode by default
Command Control Command
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Decision-making
and control unit
Node for the
chassis
0x441 None None
Data length 0x01
Byte Meaning Data type Note30/52
Sample data, the following data is only for testing, command control mode needs to be enabled
before use.
1. The chassis moves forward at 0.15m/s
2. The chassis turns 10°
In addition to the status of the chassis itself, its feedback information also includes the steering
angle and speed of the four wheels, the current of the motor, the encoder information, and the
temperature information.
The details of the protocol are as follows:
byte [0]
Error clearing
command
unsigned int8
0x00 Clear all non-critical faults
0x01~0x08 Clear the
communication faults of No. 1~8
motor drivers respectively
0x09 Clear the battery undervoltage
fault and try to restore the power
supply
0x0a Clear remote control signal
loss fault
0x0b~0x0e Clear the steering
calibration fault of No. 5~8 motors
respectively
0x0f Clear over current fault
0x10 Clear over temperature fault
byte [0] byte [1] byte [2] byte [3] byte [4] byte [5] byte [6] byte [7]
0x00 0x96 0x00 0x00 0x00 0x00 0x00 0x00
byte [0] byte [1] byte [2] byte [3] byte [4] byte [5] byte [6] byte [7]
0x00 0x00 0x00 0x00 0x00 0x00 0x03 0xe831/52
PS: The eight motor numbers of the chassis are: No. 1 is the right front wheel motor, No. 2 is
the right rear wheel motor, No. 3 is the left rear wheel motor, No. 4 is the left front wheel motor, No.
5 is the right front steering motor, No. 6 is the right rear steering motor, No. 7 is the left rear
steering motor, and No. 8 is the left front steering motor.
Feedback information of speed, current, and position of motor
Command High-speed feedback information frame for motor driver
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Drive-by-wire
chassis
Decision-making
and control unit
0x251~0x258 20ms None
Data length 0x08
Byte Meaning Data type Note
byte [0]
byte [1]
High order
byte of motor
speed
Low order
byte of motor
speed
signed int16
The current speed of the motor,
whose unit is RPM (Revolutions Per
Minute)
byte [2]
byte [3]
High order
byte of motor
current
Low order
byte of motor
current
signed int16
The present current of the motor,
whose unit is 0.1 A32/52
Feedback of temperature voltage and status of motor
byte [4]
byte [5]
byte [6]
byte [7]
Highest order
byte of position
High order
byte of position
Low order
byte of position
Lowest order
byte of position
signed int32 The current position of the motor,
whose unit is the number of pulses
Command Low-speed information feedback frame for motor driver
Node for sending Node for receiving ID Period (ms) Receive timeout
(ms)
Drive-by-wire
chassis
Decision-making
and control unit
0x261~0x268 100ms None
Data length 0x08
Byte Meaning Data type Note
byte [0]
High order byte of
driver voltage
unsigned int16
The current driver voltage, whose
unit is 0.1 V
byte [1]
Low order byte of
driver voltage
byte [2]
High order byte of
drive temperature
signed int16 The unit is 1 ℃.
byte [3]
Low order byte of
driver temperature33/52
Table 2 Driver status
Steering angle feedback of four wheels
byte [4] Motor temperature signed int8
The unit is 1 ℃.
(Invalid value for RANGM series and
can be ignored)
byte [5] Driver status unsigned int8 See Table 2 for details
byte [6] Reserved - 0X00
byte [7] Reserved - 0X00
Byte Bit Meaning
byte[5]
bit[0] Power supply voltage status (0: normal; 1: too low)
bit[1] Motor temperature status (0: normal; 1: over temperature)
bit[2] The current status of the driver(0: normal; 1: over-current)
bit[3] Driver temperature status (0: normal; 1: over temperature)
bit[4] Sensor status (0: Normal; 1: Abnormal)
bit[5] Driver status (0: Normal; 1: Abnormal)
bit[6] Drive enable status (0: enable; 1: disable)
bit[7] Reserved
Command Information feedback frame of four wheels’steering angle
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)34/52
Drive-by-wire
chassis
Decision-making
and control unit
0x271 20ms None
Data length 0x08
Byte Meaning Data type Note
byte [0]
byte [1]
High order
byte of steering
angle of No.
5 motor
Low order
byte of steering
angle of No.
5 motor
signed int16
The Current steering angle,
whose unit is 0.01 °
byte [2]
byte [3]
High order
byte of steering
angle of No.
6 motor
Low order
byte of steering
angle of No.
6 motor
signed int16
The Current steering angle,
whose unit is 0.01 °
byte [4]
byte [5]
High order
byte of steering
angle of No.
7 motor
Low order
byte of steering
angle of No.
7 motor
signed int16
The Current steering angle,
whose unit is 0.01 °35/52
Rotational speed feedback of four wheels
byte [6]
byte [7]
High order
byte of steering
angle of No.
8 motor
Low order
byte of steering
angle of No.
8 motor
signed int16
The Current steering angle,
whose unit is 0.01 °
Command Information feedback frame of four wheels’rotational speed
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Drive-by-wire
chassis
Decision-making
and control unit
0x281 20ms None
Data length 0x08
Byte Meaning Data type Note
byte [0]
byte [1]
High order
byte of rotational
speed of No.
1 motor
Low order
byte of rotational
speed of No.
1 motor
signed int16
The current rotational speed,
whose unit is mm/s36/52
The motion mode switching command is used to change motion model of the chassis, and the
details of the protocol are as follows
byte [2]
byte [3]
High order
byte of rotational
speed of No.
2 motor
Low order
byte of rotational
speed of No.
2 motor
signed int16
The current rotational speed,
whose unit is mm/s
byte [4]
byte [5]
High order
byte of rotational
speed of No.
3 motor
Low order
byte of rotational
speed of No.
3 motor
signed int16
The current rotational speed,
whose unit is mm/s
byte [6]
byte [7]
High order
byte of rotational
speed of No.
4 motor
Low order
byte of rotational
speed of No.
4 motor
signed int16
The current rotational speed,
whose unit is mm/s
Command Current motion mode feedback command
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)37/52
The motion mode switching command is used to change motion model of the chassis, and the
details of the protocol are as follows
Drive-by-wire
chassis
Decision-making
and control unit
0x291 20ms None
Data length 0x02
Byte Meaning Data type Note
byte [0]
Current motion
mode
unsigned int8
0x00 front and rear Ackerman mode
0x01 oblique motion mode
0x02 spin mode
0x03 Parking mode
byte [1]
Whether the
chassis is in the
process of
switching the
motion model
unsigned int8
0x00 switching is completed.
0x01 in the process of
switching motion mode
The chassis does not respond to
speed control commands in the
process of switching motion mode.
Command Control command
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)38/52
The odometer information feedback frame is as follows
Front wheel
Decision-making
and control unit
Node for the
chassis
0x141 None None
Data length 0x01
Byte Meaning Data type Note
byte [0] Motion mode unsigned int8
0x00 front and rear Ackerman mode
(default)
0x01 oblique motion mode
0x02 spin mode
0x03 Parking mode
Command Front wheel mileage feedback
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Drive-by-wire
chassis
Decision-making
and control unit
0×311 20ms None
Data length 0×08
Byte Description Data type Note39/52
Rear wheel
byte [0]
byte [1]
byte [2]
byte [3]
Highest order byt
e of front left
wheel odometer
Sub-
high order byte
of front left
wheel odometer
Second
low order byte of
front left wheel
odometer
Lowest order byt
e of front left
wheel odometer
signed int32
Chassis left wheel odometer
feedback,
Unit: mm
byte [4]
byte [5]
byte [6]
byte [7]
Highest order
byte of front
right wheel
odometer
Sub-
high order byte
of front right
wheel odometer
Second
low order byte of
front right wheel
odometer
Lowest order byt
e of front right
wheel odometer
signed int32
Chassis right wheel odometer
feedback,
Unit: mm
Command Rear wheel mileage feedback40/52
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Drive-by-wire
chassis
Decision-making
and control unit
0×312 20ms None
Data length 0×08
Byte Description Data type Note
byte [0]
byte [1]
byte [2]
byte [3]
Highest order byt
e of rear left
wheel odometer
Sub-
high order byte
of rear left wheel
odometer
Second
low order byte of
rear left wheel
odometer
Lowest order byt
e of rear left
wheel odometer
signed int32
Chassis left wheel odometer
feedback,
Unit: mm41/52
The remote controller information feedback frame is as follows
byte [4]
byte [5]
byte [6]
byte [7]
Highest order
byte of rear right
wheel odometer
Sub-
high order byte
of rear right
wheel odometer
Second
low order byte of
rear right wheel
odometer
Lowest order byt
e of rear right
wheel odometer
signed int32
Chassis right wheel odometer
feedback,
Unit: mm
Command Remote controller information feedback
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Drive-by-wire
chassis
Decision-making
and control unit
0x241 20ms None
Data length 0x08
Byte Description Data type Note42/52
The feedback data of BMS for all batteries, and the details of the protocol are as follows
byte [0]
Remote control
SW feedback
unsigned int8
bit[0-1]: SWA:2- Up 3-Down
bit[2-3]: SWB : 2-Up 1-Middle 3-
Down
bit[4-5]: SWC : 2-Up 1-Middle 3-
Down
bit[6-7]: SWD:2-Up 3-Down
byte [1]
Right joystick
left and right
unsigned int8 Range:[-100,100]
byte [2]
Right joystick up
and down
unsigned int8 Range:[-100,100]
byte [3]
Left joystick up
and down
unsigned int8 Range:[-100,100]
byte [4]
Left joystick left
and right
unsigned int8 Range:[-100,100]
byte [5] Left knob VRA unsigned int8 Range:[-100,100]
byte [6] Reserved -- 0x00
byte [7] Count check unsigned int8 Cycle count
Command The feedback data of BMS
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)
Drive-by-wire
chassis
Decision-making
and control unit
0x361 500ms None43/52
Data length 0x08
Byte Meaning Data type Note
byte [0]
Battery SOC
(State of
Charge)
unsigned int8 Range 0~100
byte [1]
Battery
SOH (State of
Health)
unsigned int8 Range 0~100
byte [2]
byte [3]
High order byte
of battery voltage
Low order byte
of battery voltage
unsigned int16 Unit: 0.01 V
byte [4]
byte [5]
High order byte
of battery current
Low order byte
of battery current
signed int16 Unit: 0.1 A
byte [6]
byte [7]
High order byte
of battery
temperature
Low order byte
of battery
temperature
signed int16 Unit: 0.1 ℃
Command The feedback data of BMS
Node for sending
Node for
receiving
ID Period (ms) Receive timeout
(ms)44/52
3.3 RANGER MINI 2.0 use manual for ROS
ROS (Robot Operating System) provides some standard operating system services, such as
hardware abstraction, low-level device control, implementation of commonly used functionality,
message-passing between processes, and package management. ROS is based on a graph
architecture, where processing takes place in nodes that may receive, post, and multiplex various
information (such as sensor data, control, state, planning, and other messages). Currently ROS
mainly supports UBUNTU OS.
Development Preparation
Hardware Equipment
CANlight CAN communication module X1
Laptop X1
Drive-by-wire
chassis
Decision-making
and control unit
0x362 500ms None
Data length 0x04
Byte Meaning Data type Note
byte [0] Alarm Status 1 unsigned int8
BIT1: Overvoltage; BIT2:
Undervoltage; BIT3: High
temperature; BIT4: Low
temperature; BIT7: Discharge
overcurrent
byte [1] Alarm Status 2 unsigned int8 BIT0: Charging overcurrent
byte [2] Warning Status 1 unsigned int8
BIT1: Overvoltage; BIT2:
Undervoltage; BIT3: High
temperature; BIT4: Low
temperature; BIT7: Discharge
overcurrent
byte [3] Warning Status 2 unsigned int8 BIT0: Charging overcurrent
●
●45/52
AGILEX RANGER MINI 2.0 mobile robot chassis X1
Paired remote control FS-i6s for the AGILEX RANGER MINI 2.0X1
Circular connector on the rear of the AGILEX RANGER MINI 2.0
Tested Development Environment
Ubuntu 18.04
ROS melodic
Git
Hardware Connection and Preparation
Pull out the CAN wires of the circular connector on the rear of RANGER MINI 2.0, and connect
can_H and can_L wires of the CAN to the CAN_TO_USB adapter; power on the RANGER MINI
2.0; connect the CAN_TO_USB adapter to the USB port of the laptop. The wiring diagram is
shown in the figure below.
The CAN wiring diagram

ROS Installation and Environment Setup
安装具体可以参考http://wiki.ros.org/kinetic/Installa- tion/Ubuntu
Please refer to http://wiki.ros.org/kinetic/Installation/Ubuntu for details
Test the Communication between CANABLE hardware and CAN
Setting CAN-TO-USB adaptor
Enable gs_usb kernel module
●
●
●
●
●
●
●46/52
Setting 500k Baud rate and enable can-to-usb adaptor
If no error occurred in the previous steps, you should be able to use the command to view the
can device immediately
Install and use can-utils to test hardware
If the can-to-usb has been connected to the BUNKER robot this time, and the car has been
turned on, use the following commands to monitor the data from the BUNKER chassis
Please refer to:
[1]https://github.com/agilexrobotics/agx_sdk
[2]https://wi-ki.rdu.im/_pages/Notes/Embedded-System/Linux/-can-bus-in-linux.html
AGILEX RANGER ROS PACKAGE download and compile
Download ros package
sudo modprobe gs_usb
●
sudo ip link set can0 up type can bitrate 500000
●
ifconfig -a
●
sudo apt install can-utils
●
candump can0
●
$ sudo apt install libasio-dev47/52
Clone compile hunter_ros code
Please refer to:https://github.com/agilexrobotics/ranger_ros
Start the ROS node
Start the based node
Note that the usb_to_can module equipped with Songling needs to be enabled before starting.
The enabling command is as follows: rosrun ranger_bringup bringup_can2usb.bash.
This command only needs to be executed once each time the usb_to_can module is powered on.
Start the keyboard remote operation node
Pay attention to the terminal printout and use the designated keys to control the RANGERMINI
movement.
Github ROS development package directory and usage instructions
*_base:: The core node for the chassis to send and receive hierarchical CAN messages. Based on
the communication mechanism of ros, it can control the movement of the chassis and read the
status of the RANGERMINI through the topic.
*_msgs: Define the specific message format of the chassis status feedback topic.
$ sudo apt install ros-$ROS_DISTRO-teleop-twist-keyboard
●
$ cd ~/catkin_ws/src
$ git clone --recursive https://github.com/agilexrobotics/ugv_sdk.git
$ git clone https://github.com/agilexrobotics/ranger_ros.git
$ cd ..
$ catkin_make
●
roslaunch ranger_bringup ranger_minimal.launch
●
roslaunch ranger_bringup ranger_teleop_keyboard.launch48/52
*_bringup: startup files for chassis nodes and keyboard control nodes, and scripts to enable the
usb_to_can module
3.4 Firmware Upgrade
In order to facilitate users to upgrade the firmware version used by RANGERMINI 2.0 and bring
customers a more complete experience, RANGERMINI 2.0 provides a firmware upgrade hardware
interface and corresponding client software.
Upgrade Preparation
Agilex CAN debugging module X 1
Micro USB cable X 1
RANGERMINI 2.0 chassis X 1
A computer (WINDOWS OS (Operating System)) X 1
Upgrade Process
1.Plug in the USBTOCAN module on the computer, and then open the
AgxCandoUpgradeToolV1.3_boxed.exe software (the sequence cannot be wrong, first open the
software and then plug in the module, the device will not be recognized).
2.Click the Open Serial button, and then press the power button on the car body. If the connection
is successful, the version information of the main control will be recognized, as shown in the figure.
●
●
●
●49/52
3.Click the Load Firmware File button to load the firmware to be upgraded. If the loading is
successful, the firmware information will be obtained, as shown in the figure
50/52
4.Click the node to be upgraded in the node list box, and then click Start Upgrade Firmware to
start upgrading the firmware. After the upgrade is successful, a pop-up box will prompt.
51/52
4 Product Size52/52
Identifikace uložené verze

SHA-256: 272880d9c7c9cb5ead2f369456a2d8ddacb862f26d005b2447d8c602eeecdbf2