ZDROJOVÝ PODKLAD
Uložený text
https://indrorobotics.ca/wp-content/uploads/2024/07/SCOUT2.0-USER-MANUAL-3.0.pdf ↗SCOUT 2.0
AgileX Robotics Team
User Manual V.2.1.0 2021.03
This chapter contains important safety information, before the robot is powered on for the first time, any
individual or organization must read and understand this information before using the device. If you have
any questions about use, please contact us at support@agilex.ai. Please follow and implement all
assembly instructions and guidelines in the chapters of this manual, which is very important. Particular
attention should be paid to the text related to the warning signs.
! Safety Information
The information in this manual does not include the design, installation and operation of a complete robot application, nor does it include all
peripheral equipment that may affect the safety of the complete system. The design and use of the complete system need to comply with the
safety requirements established in the standards and regulations of the country where the robot is installed.
SCOUT integrators and end customers have the responsibility to ensure compliance with the applicable laws and regulations of relevant
countries, and to ensure that there are no major dangers in the complete robot application. This includes but is not limited to the following:
1.Effectiveness and responsibility 2.Environmental Considerations
Make a risk assessment of the complete robot system. For the first use,please read this manual carefully to understand
Connect the additional safety equipment of other machinery the basic operating content and operating specification.
defined by the risk assessment together. For remote control operation, select a relatively open area to use
Confirm that the design and installation of the entire robot SCOUT2.0, because SCOUT2.0 is not equipped with any
system's peripheral equipment, including software and automatic obstacle avoidance sensor.
hardware systems, are correct. Use SCOUT2.0 always under -10℃~45℃ ambient temperature.
This robot does not have a complete autonomous mobile robot, If SCOUT 2.0 is not configured with separate custom IP
including but not limited to automatic anti-collision, anti-falling, protection, its water and dust protection will be IP22 ONLY.
biological approach warning and other related safety functions.
Related functions require integrators and end customers to 3.Pre-work Checklist
follow relevant regulations and feasible laws and regulations for
Make sure each device has sufficient power.
safety assessment , To ensure that the developed robot does not
Make sure Bunker does not have any obvious defects.
have any major hazards and safety hazards in actual
Check if the remote controller battery has sufficient power.
applications.
When using, make sure the emergency stop switch has been
Collect all the documents in the technical file: including risk
released.
assessment and this manual.
Know the possible safety risks before operating and using the
equipment.
4.Operation
In remote control operation, make sure the area around is When SCOUT2.0 has had a defect, please contact the relevant
relatively spacious. technical to deal with it, do not handle the defect by yourself.
Carry out remote control within the range of visibility. Always use SCOUT2.0 in the environment with the protection
The maximum load of SCOUT2.0 is 50KG. When in use, ensure level requires for the equipment.
that the payload does not exceed 50KG. Do not push SCOUT2.0 directly.
When installing an external extension on SCOUT2.0, confirm the When charging, make sure the ambient temperature is above 0
position of the center of mass of the extension and make sure it is ℃.
at the center of rotation. If the vehicle shakes during its rotation, adjust the suspension.
Please charge in tine when the device is low battery alarm.
When SCOUT2..0 has a defect, please immediately stop using it to
avoid secondary damage.
5.Maintenance
Regularly check the pressure of the tire, and keep the tire pressure between 1.8bar~2.0bar.
If the tire is severely worn or burst, please replace it in time.
If the battery do not use for a long time, it need to charge the battery periodically in 2 to 3 months.
CONTENTS
1 SCOUT 2.0 Introduction 1 3.4 Serial communication protocol 15
1.1Component list 1 3.4.1 Instruction of serial protocol 15
1.2Tech specifications 1 3.4.2 Serial connection 15
1.3 Requirement for development 1 3.4.3 Serial protocol content 15
3.5 Firmware upgrades 24
2 The Basics 2 3.6 SCOUT 2.0 SDK 24
2.1 Status indication 3 3.7 SCOUT 2.0 ROS Package 25
2.2 Instructions on electrical interfaces 3
2.2.1 Top electrical interface 3 4 Attention 26
2.2.2 Rear electrical interface 4 4.1 Battery 26
2.3 Instructions on remote control 5 4.2 Operational environment 26
2.4 Instructions on control demands 5 4.3 Electrical/extension cords 26
and movements 4.4 Additional safety advices 26
2.5 Instruction on light control 5 4.5 Other notes 26
3 Getting Started
3.1 Use and operation 5 Q&A 27
6
3.2 Charging
6
3.2.1Charging operation 6 Product Dimensions 28
6
3.2.2Battery replacement 6.1 Illustration diagram of product 28
6
3.3 Communication using CAN external dimensions
6
3.3.1 CAN cable connection 6.2 Illustration diagram of top 29
6
3.3.2 Implementation of CAN extended support dimensions
7
command control
7
3.3.3 CAN message protocol
7
1 Introduction
SCOUT 2.0 is designed as a multi-purpose UGV with different application scenarios considered: modular design; flexible
connectivity; powerful motor system capable of high payload. Additional components such as stereo camera, laser radar,
GPS, IMU and robotic manipulator can be optionally installed on SCOUT 2.0 for advanced navigation and computer vision
applications. SCOUT 2.0 is frequently used for autonomous driving education and research, indoor and outdoor security
patrolling, environment sensing, general logistics and transportation, to name a few only.
1.1 Component list
Name Quantity
SCOUT 2.0 Robot body X1
Battery charger (AC 220V) X1
Aviation plug (male, 4-pin) X2
USB to RS232 cable X1
Remote control transmitter (optional) X1
USB to CAN communication module X1
1.2 Tech specifications
Parameter Types Items Values
L × W × H (mm) 9930 X 699 X 349
Wheelbase (mm) 498
Front/rear wheel base (mm) 582 / 582
Weight of vehicle body (kg) 68(±0.5)
Battery type Lithium battery 24V 30AH
Mechanical Motor DC brushless 4 X 400W
specifications
Reduction gearbox 1:30
Drive type Independent four-wheel drive
Suspension Independent suspension with single rocker arm
Steering Four-wheel differential steering
Safety equipment Servo brake/anti-collision tube
No-load highest speed (m/s) 1.5
Minimum turning radius Be able to turn on a pivot
Motion
Maximum climbing capacity 30°
Minimum ground clearance (mm) 135
Remote control
Control mode
Control command mode
Control
RC transmitter 2.4G/extreme distance 1km
Communication interface CAN / RS232
1.3Requirement for development
FS RC transmitter is provided (optional) in the factory setting pf SCOUT 2.0, which allows users to control the chassis of robot
to move and turn; CAN and RS232 interfaces on SCOUT 2.0 can be used for user’s customization.
2 The Basics
This section provides a brief introduction to the SCOUT 2.0 mobile robot platform, as shown in Figure 2.1 and Figure 2.2.
2
1
1.Front View
2.Stop Switch
Figure 2.1 Front View
3
5
4
7
6
3.Standard Profile Support
4.Top Compartment
5.Top Electrical Panel
6
6.Retardant-collision Tube
7.Rear Panel
Figure 2.2 Rear View
SCOUT2.0 adopts a modular and intelligent design concept. Emergency stop buttons are installed on both sides of the
The composite design of inflate rubber tyre and independent robot to ensure easy access and pressing either one can shut
suspension on the power module, coupled with the powerful down power of the robot immediately when the robot
DC brushless servo motor, makes the SCOUT2.0 robot chassis behaves abnormally. Water-proof connectors for DC power
development platform has strong pass ability and ground and communication interfaces are provided both on top and
adapt ability, and can move flexibly on different ground.An- at the rear of the robot, which not only allow flexible
ti-collision beams are mounted around the vehicle to reduce connection between the robot and external components but
possible damages to the vehicle body during a collision. Lights also ensures necessary protection to the internal of the robot
are both mounted at front and at back of the vehicle, of which even under severe operating conditions.
the white light is designed for illumination in front whereas the A bayonet open compartment is reserved on the top for
red light is designed at rear end for warning and indication. users.
2.1 Status indication
Users can identify the status of vehicle body through the voltmeter, the beeper and lights mounted on SCOUT 2.0. For details, please refer
to Table 2.1.
Status Description
The current battery voltage can be read from the voltmeter on the rear
Voltage
electrical interface and with an accuracy of 1V.
When the battery voltage is lower than 22.5V, the vehicle body will give a beep-beep-beep
sound as a warning. When the battery voltage is detected as lower than 22V, SCOUT 2.0 will
Replace battery actively cut off the power supply to external extensions and drive to prevent the battery
from being damaged. In this case, the chassis will not enable movement control and
accept external command control.
Robot powered on Front and rear lights are switched on.
Table 2.1 Descriptions of Vehicle Status
2.2 Instructions on electrical interfaces
2.2.1 Top electrical interface
SCOUT 2.0 provides three 4-pin aviation connectors and one DB9 (RS232) connector.
The position of the top aviation connector is shown in Figure 2.3.
aviation connector
DB9 (RS232) connector
Figure 2.3 Schematic Diagram of SCOUT 2.0 Electrical Interface on Top
SCOUT 2.0 has an aviation extension interface both on top and at rear end, each of which is configured with a set of power supply and a
set of CAN communication interface. These interfaces can be used to supply power to extended devices and establish communication.
The specific definitions of pins are shown in Figure 2.4.
It should be noted that, the extended power supply here is internally controlled, which means the power supply will be actively cut off
once the battery voltage drops below the pre-specified threshold voltage. Therefore, users need to notice that SCOUT 2.0 platform will
send a low voltage alarm before the threshold voltage is reached and also pay attention to battery recharging during use.
1
2 3 Function and
Pin No. Pin Type Remarks
Definition
1 Power positive, voltage range
Power VCC
23 - 29.2V, MAX.current 10A
2 Power GND Power negative
3 CAN CAN_H CAN bus high
4 CAN CAN_L CAN bus low
Figure 2.4 Definitions for Pins of Top Aviation Extension Interface
4
Specific definitions for pins of Q4 are shown in Figure 2.5.
5 4 3 2 1
Pin No. Definition
2 RS232-RX
3 RS232-TX
5 GND
9 87 6 Figure 2.5 Illustration Diagram of Q4 Pins
2.2.2 Rear electrical interface
The extension interface at rear end is shown in Figure 2.6, where Q1 is the key switch as the main electrical switch; Q2 is the recharging
interface; Q3 is the power supply switch of drive system; Q4 is DB9 serial port; Q5 is the extension interface for CAN and 24V power supply;
Q6 is the display of battery voltage.
Q1 Q2 Q3
Rearview
Q4 Q5 Q6
Figure 2.6 Rear View
1 2
Function and
Pin No. Pin Type Remarks
Definition
Power positive, voltage range
1 Power VCC
23 - 29.2V, maximum current 5A
2 Power GND Power negative
3 CAN CAN_H CAN bus high
4 CAN CAN_L CAN bus low
3 4 Figure 2.7 Description of Front and Rear Aviation Interface Pins
2.3 Instructions on remote control SWB
SWC
FS_i6_S remote control instructions
SWA
SWD
S1
S2
FS RC transmitter is an optional accessory of SCOUT2.0 for manually controlling
POWER
the robot. The transmitter comes with a left-hand-throttle configuration. The
definition and function shown in Figure 2.8. The function of the button is
defined as: SWA and SWD are temporarily disabled, and SWB is the control POWER
mode select button, dial to the top is command control mode, dial to the middle
is remote control mode; SWC is light control button; S1 is throttle button, control
SCOUT2.0 forward and backward; S2 control is control the rotation, and POWER Figure 2.8 Schematic Diagram of
is the power button, press and hold at the same time to turn on. Buttons on FS RC transmitter
2.4 Instructions on control demands and movements
A reference coordinate system can be defined and fixed on the vehicle body as shown in Figure 2.9 in accordance with ISO 8855.
Z
Y
X
Figure 2.9 Schematic Diagram of Reference Coordinate System for Vehicle Body
As shown in Figure 2.9, the vehicle body of SCOUT 2.0 is in parallel with X axis of the established reference coordinate system. In the remote
control mode, push the remote control stick S1 forward to move in the positive X direction, push S1 backward to move in the negative X
direction. When S1 is pushed to the maximum value, the movement speed in the positive X direction is the maximum, When pushed S1 to the
minimum, the movement speed in the negative direction of the X direction is the maximum; the remote control stick S2 controls the steering
of the front wheels of the car body, push S2 to the left, and the vehicle turns to the left, pushing it to the maximum, and the steering angle is the
largest, S2 Push to the right, the car will turn to the right, and push it to the maximum, at this time the right steering angle is the largest. In the
control command mode, the positive value of the linear velocity means movement in the positive direction of the X axis, and the negative value
of the linear velocity means movement in the negative direction of the X axis; The positive value of the angular velocity means the car body
moves from the positive direction of the X axis to the positive direction of the Y axis, and the negative value of the angular velocity means the
car body moves from the positive direction of the X axis to the negative direction of the Y axis.
2.5 Instructions on lighting control
Lights are mounted in front and at back of SCOUT 2.0, and the lighting control interface of SCOUT 2.0 is open to the users for convenience.
Meanwhile, another lighting control interface is reserved on the RC transmitter for energy saving.
Currently the lighting control is only supported with the FS transmitter, and support for other transmitters is still under development. There are
3 kinds of lighting modes controlled with RC transmitter, which can be switched through the SWC. Mode control description: the SWC lever is at
the bottom of the normally closed mode, the middle is for the normally open mode, the top is breathing light mode.
NC MODE: IN NC MODE, IF THE CHASSIS IS STILL, THE FRONT LIGHT WILL BE TURNED OFF, AND THE REAR LIGHT WILL ENTER BL MODE TO
INDICATE ITS CURRENT OPERATING STATUS; IF THE CHASSIS IS IN THE TRAVELING STATE AT CERTAIN NORMAL SPEED, THE REAR LIGHT
WILL BE TURNED OFF BUT THE FRONT LIGHT WILL BE TURNED ON;
NO MODE: IN NO MODE, IF THE CHASSIS IS STILL, THE FRONT LIGHT WILL BE NORMALLY ON, AND THE REAR LIGHT WILL ENTER THE BL
MODE TO INDICATE THE STILL STATUS; IF IN MOVEMENT MODE, THE REAR LIGHT IS TURNED OFF BUT THE FRONT LIGHT IS TURNED ON;
BL MODE: FRONT AND REAR LIGHTS ARE BOTH IN BREATHING MODE UNDER ALL CIRCUMSTANCES.
NOTE ON MODE CONTROL:TOGGLING SWC LEVER RESPECTIVELY REFERS TO NC MODE, NO MODE AND BL MODE IN BOTTOM, MIDDLE AND
TOP POSITIONS.
3 Getting Started
This section introduces the basic operation and development of the SCOUT 2.0 platform using the CAN bus interface.
3.1 Use and operation
The basic operating procedure of startup is shown as follows:
Check Startup
Check the condition of SCOUT 2.0. Check whether there are Rotate the key switch (Q1 on the electrical panel), and normally,
significant anomalies; if so, please contact the after-sale service the voltmeter will display correct battery voltage and front and rear
lights will be both switched on;
personal for support;
Check the battery voltage. If there is no continuous
Check the state of emergency-stop switches. Make sure both "beep-beep-beep..." sound from beeper, it means the battery
emergency stop buttons are released; voltage is correct; if the battery power level is low, please charge
the battery;
Press Q3 (drive power switch button).
Shutdown Emergency stop
Rotate the key switch to cut off the power supply; Press down emergency push button both on the left and the right of
SCOUT 2.0 vehicle body;
Basic operating procedure of remote control:
After the chassis of SCOUT 2.0 mobile robot is started correctly, turn on the RC transmitter and select the remote-control mode. Then, SCOUT 2.0
platform movement can be controlled by the RC transmitter.
3.2 Charging
SCOUT 2.0 IS EQUIPPED WITH A 10A CHARGER BY DEFAULT TO MEET CUSTOMERS' RECHARGING DEMAND.
3.2.1 Charging operation
Make sure the electricity of SCOUT 2.0 chassis is powered off. Before Note: For now, the battery needs about 3 to 5 hours to be fully
charging, please make sure the power switch in the rear control
recharged from 22V, and the voltage of a fully recharged
condole is turned off;
Insert the charger plug into Q6 charging interface on the rear control battery is about 29.2V; the recharging duration is calculated
panel; as 30AH ÷ 10A = 3h.
Connect the charger to power supply and turn on the switch in the
charger. Then, the robot enters the charging state.
3.2.2 Battery replacement
SCOUT2.0 adopts a detachable battery solution for the convenience of
users. In some special cases, the battery can be replaced directly. The
operation steps and diagrams are as follows (before operation, ensure
that SCOUT2.0 is power-off):
Open the upper panel of SCOUT2.0, and unplug the two XT60 power
connectors on the main control board (the two connectors are
equivalent) and the battery CAN connector;
Hang SCOUT2.0 in midair, unscrew eight screws from the bottom with a
national hex wrench, and then drag the battery out;
Replace the battery and fixed the bottom screws.
Plug the XT60 interface and the power CAN interface into the main
control board, confirm that all the connecting lines are correct, and then
power on to test.
Figure 3.1 Schematic Diagram of replace battery
3.3 Communication using CAN
SCOUT 2.0 provides CAN and RS232 interfaces for user customization. Users can select one of these interfaces to conduct command control over
the vehicle body.
3.3 Communication using CAN
SCOUT 2.0 provides CAN and RS232 interfaces for user customization. Users can select one of these interfaces to conduct command control
over the vehicle body.
3.3.1 CAN cable connection
SCOUT2.0 deliver with two aviation male plugs as shown in Figure 3.2. For
wire definitions, please refer to Table 2.2.
3.3.2 Implementation of CAN command control
Correctly start the chassis of SCOUT 2.0 mobile robot, and turn on DJI RC
transmitter. Then, switch to the command control mode, i.e. toggling S1 mode of Red:VCC(battery positive)
DJI RC transmitter to the top. At this point, SCOUT 2.0 chassis will accept the Black:GND(battery negative)
command from CAN interface, and the host can also parse the current state of Blue:CAN_L
chassis with the real-time data fed back from CAN bus. For the detailed content of Yellow:CAN_H
protocol, please refer to CAN communication protocol.
Figure 3.2 Schematic diagram of aviation plug male connector
3.3.3 CAN message protocol
Correctly start the chassis of SCOUT 2.0 mobile robot, and turn on DJI RC transmitter. Then, switch to the command control mode, i.e.
toggling S1 mode of DJI RC transmitter to the top. At this point, SCOUT 2.0 chassis will accept the command from CAN interface, and the host
can also parse the current state of chassis with the real-time data fed back from CAN bus. For the detailed content of protocol, please refer to
CAN communication protocol.
Table 3.1 Feedback Frame of SCOUT 2.0 Chassis System Status
Command Name System Status Feedback Command
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Decision-making control
Steer-by-wire chassis 0x151 20ms None
unit
Data length 0x08
Position Function Data type Description
0x00 System in normal condition
Current status of vehicle
unsigned int8 0x01 Emergency stop mode (not enabled)
byte [0] body
0x02 System exception
0×00 Standby mode
0×01 CAN command control mode
byte [1] Mode control unsigned int8 0×02 Serial port control mode
0×03 Remote control mode
byte [2] Battery voltage higher 8 bits
unsigned int16 Actual voltage × 10 (with an accuracy of 0.1V)
Battery voltage lower 8 bits
byte [3]
byte [4] Reserved - 0×00
byte [5] Failure information unsigned int8 Refer to Table 3.2 [Description of Failure Information]
byte [6] Reserved - 0×00
0-255 counting loops, which will be added once every
byte [7] Count paritybit (count) unsigned int8
command sent
Table 3.2 Description of Failure Information
Description of Failure Information
Byte bit Meaning
Battery undervoltage fault (0: No failure 1: Failure) Protection voltage is 22V
bit [0]
(The battery version with BMS, the protection power is 10%)
Battery undervoltage fault[2] (0: No failure 1: Failure) Alarm voltage is 24V
bit [1]
(The battery version with BMS, the warning power is 15%)
bit [2] RC transmitter disconnection protection (0: Normal 1: RC transmitter disconnected)
byte [4]
bit [3] No.1 motor communication failure (0: No failure 1: Failure)
bit [4] No.2 motor communication failure (0: No failure 1: Failure)
bit [5] No.3 motor communication failure (0: No failure 1: Failure)
bit [6] No.4 motor communication failure (0: No failure 1: Failure)
bit [7] Reserved, default 0
Note[1]: Robot chassis firmware version V1.2.8 is supported by subsequent versions, and the previous version requires
firmware upgrade to support
Note[2]: The buzzer will sound when the battery under-voltage, but the chassis control will not be affected, and the power
output will be cut off after the under-voltage fault
The command of movement control feedback frame includes the feedback of current linear speed and angular speed of
moving vehicle body. For the detailed content of protocol, please refer to Table 3.3.
Table 3.3 Movement Control Feedback Frame
Command Name Movement Control Feedback Command
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 0x221 20ms None
Date length 0×08
Position Function Data type Description
byte [0] Moving speed higher 8 bits
signed int16 Actual speed × 1000 (with an accuracy of 0.001rad)
byte [1] Moving speed lower 8 bits
byte [2] Rotation speed higher 8 bits
signed int16 Actual speed × 1000 (with an accuracy of 0.001rad)
byte [3] Rotation speed lower 8 bits
byte [4] Reserved - 0x00
byte [5] Reserved - 0x00
byte [6] Reserved - 0x00
byte [7] Reserved - 0x00
The control frame includes control openness of linear speed and control openness of angular speed. For its detailed
content of protocol, please refer to Table 3.4.
Table 3.4 Control Frame of movement Control Command
Command Name Control Command
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node 0x111 20ms 500ms
Date length 0×08
Position Function Data type Description
byte [0] Linear speed higher 8 bits
signed int16 Vehicle moving speed, unit mm/s (effective value+ -1500)
byte [1] Linear speed lower 8 bits
byte [2] Angular speed higher 8 bits
signed int16 Vehicle rotation angular speed, unit mm/s (effective value+ -1500)
byte [3] Angular speed lower 8 bits
byte [4] Reserved — 0x00
byte [5] Reserved — 0x00
byte [6] Reserved — 0x00
byte [7] Reserved — 0x00
The mode setting frame is used to set the control interface of the terminal. For its detailed content of protocol, please refer to Table 3.5.
Table 3.5 Control mode setting frame
Command Name Control Mode Setting Command
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node 0×421 None None
Date length 0×01
Position Function Date type Description
0×00 Standby mode
byte [0] Control mode unsigned int8
0×01 CAN command mode enable
Description of control mode: In case the SCOUT 2.0 is powered on and the RC transmitter is not connected, the control mode is
defaulted to standby mode. At this time, the chassis only receives control mode command, and does not respond other commands. To
use CAN for control need to switch CAN command mode at first. If the RC transmitter is turned on, the RC transmitter has the highest
authority, can shield the control of command and switch the control mode.
Status setting frame is use to clear the system errors. For its detailed content of protocol, please refer to Table 3.6.
Table 3.6 Status Setting Frame
Command Name Status Setting Command
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node 0×441 None None
Date length 0×01
Position Function Date type Description
0×00 Clear all failure
0×01 Clear Motor 1 failure
byte [0] Errors clearing command unsigned int8 0×02 Clear Motor 2 failure
0×03 Clear Motor 3 failure
0×04 Clear Motor 4 failure
[Note 3] Example data: The following data is only used for testing
1.The vehicle 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 vehicle steering 0.2rad/s
byte [0] byte [1] byte [2] byte [3] byte [4] byte [5] byte [6] byte [7]
0x00 0x00 0x00 0xc8 0x00 0x00 0x00 0x00
The chassis status information will be feedback, and what’s more, the information about motor current, encoder and temperature are
also included. The following feedback frame contains the information about motor current, encoder and motor temperature.
The motor numbers of the 4 motors in the chassis are shown in the figure below:
4
1
2
3
Rear electrical panel
Figure 3.0 Schematic diagram Motor feedback ID
Table 3.7 Motor Speed Current Position Information Feedback
Command Name Motor Drive High Speed Information Feedback Frame
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 0x251~0x254 20ms None
Date length 0×08
Position Function Data type Description
byte [0] Motor speed higher 8 bits
signed int16 Vehicle moving speed, unit mm/s (effective value+ -1500)
byte [1] Motor speed lower 8 bits
byte [2] Motor current higher 8 bits
signed int16 Motor current Unit 0.1A
byte [3] Motor current lower 8 bits
byte [4] Position highest bits
byte [5] Position second-highest bits
signed int32 Current position of the motor Unit: pulse
byte [6] Position second-lowest bits
byte [7] Position lowest bits
Table 3.8 Motor temperature, voltage and status information feedback
Command Name Motor Drive Low Speed Information Feedback Frame
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 0x261~0x264 20ms None
Date length 0×08
Position Function Data type Description
byte [0] Drive voltage higher 8 bits
unsigned int16 Current voltage of drive unit 0.1V
byte [1] Drive voltage lower 8 bits
byte [2] Drive temperature higher 8 bits
signed int16 Unit 1°C
byte [3] Drive temperature lower 8 bits
byte [4]
Motor temperature signed int8 Unit 1°C
byte [5]
Drive status unsigned int8 See the details in [Drive control status]
byte [6]
Reserved - 0x00
byte [7]
Reserved - 0x00
Table 3.9 Drive Status
Byte Bit Description
bit[0] Whether the power supply voltage is too low (0:Normal 1:Too low)
bit[1] Whether the motor is overheated (0:Normal 1:Overheated)
bit[2] Whether the drive is over current (0:Normal 1:Over current)
bit[3] Whether the drive is overheated (0:Normal 1:Overheated)
byte[5]
bit[4] Sensor status (0:Normal 1:Abnormal)
bit[5] Drive error status (0:Normal 1:Error)
bit[6] Drive enable status (0:Normal 1:Disability)
bit[7] Reserved
The front and external lights also support command control. The following table shows the control commands:
Table 3.10 Light Control Frame
Command Name Light Control Frame
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node 0x121 20ms None
Date length 0×08
Position Function Date type Description
0x00 Control command invalid
byte [0] Light control enable flag unsigned int8
0x01 Lighting control enable
0x00 NC
0x01 NO
byte [1] Front light mode unsigned int8
0x02 BL mode
0x03 User-defined brightness
Custom brightness of front light [0, 100], where 0 refers to no brightness
byte [2] unsigned int8
100refers to maximum brightness[5]
0x00 NC
0x01 NO
byte [3] Rear light mode unsigned int8
0x02BL mode
0x03 User-defined brightness
byte [4] unsigned int8 [0, 100], where 0 refers to no brightness
Customize brightness for rear light
100refers to maximum brightness[5]
byte [5] Reserved _ 0x00
byte [6] Reserved _ 0x00
byte [7] Parity bit (checksum) 0 - 255 counting loops, which will be
unsigned int8
added once every command sent
Note [5]: The values are valid for custom mode.
Table 3.11 Light Control Feedback Frame
Command Name Steering Zero Setting Command
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 0x231 20ms None
Date length 0×08
Position Function Date type Description
byte [0] Current lighting control enable flag unsigned int8 0x00 Control command invalid
0x01 Lighting control enable
0x00 NC
0x01 NO
byte [1] Current front light mode unsigned int8
0x02BL mode
0x03 User-defined brightness
Current custom brightness [0, 100], where 0 refers to no brightness
byte [2] unsigned int8
of front light 100refers to maximum brightness
0x00 NC
0x01 NO
byte [3] Current rear light mode unsigned int8
0x02BL mode
0x03 User-defined brightness
[0, 100], where 0 refers to no brightness
byte [4] Current custom brightness of rear light unsigned int8
100refers to maximum brightness
byte [5] Reserved _ 0x00
byte [6] Reserved _ 0x00
Parity bit (checksum) unsigned int8 0 - 255 counting loops, which will be
byte [7]
added once every command sent
Table 3.12 System Version Information Enquiry Frame
Command Name System Version Information Enquiry Command
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node 0x411 None None
Date length 0×01
Position Function Date type Description
byte [0] Enquire system version unsigned int8 Constant 0×01
Table 3.13 System Version Information Enquiry Frame
Command Name System Version Information Feedback Frame
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 0x41A 500ms None
Date length 0×08
Position Function Data type Description
The number of main control
byte [0] hardware version higher 8 bits Higher 8 bits is the main version number,
unsigned int16
The number of main control
byte [1] hardware version lower 8 bits lower 8 bits is the second version number
The number of drive hardware
byte [2] Higher 8 bits is the main version number,
version higher 8 bits
unsigned int16
The number of drive hardware
byte [3] version lower 8 bits lower 8 bits is the second version number
The number of main control
byte [4] software version higher 8 bits Higher 8 bits is the main version number,
unsigned int16
The number of main control
byte [5] software version lower 8 bits lower 8 bits is the second version number
byte [6] The number of drive software Higher 8 bits is the main version number,
version higher 8
unsigned int16
The number of drive software
byte [7] version lower 8
lower 8 bits is the second version number
Table 3.14 Mileometer Information Feedback
Command Name Mileometer Information Feedback
Sending node Receiving node ID Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 0x311 20ms None
Date length 0×08
Position Function Data type Description
byte [0] Left wheel mileometer highest bit
byte [1] Left wheel mileometer second-highest bit Chassis left wheel mileometer feedback
signed int32
Unit:mm
byte [2] Left wheel mileometer second-highest bit
byte [3] Left wheel mileometer lowest bit
byte [4] Right wheel mileometer highest bit
byte [5] Right wheel mileometer second-highest bit Chassis right wheel mileometer feedback
signed int32
byte [6] Right wheel mileometer second-highest bit Unit:mm
byte [7] Right wheel mileometer lowest bit
Table 3.15 Remote Control Information Feedback
Command Name Remote Control Information Feedback Frame
Sending node Receiving node ID Cycle (ms) Receive-timeout(ms)
Steer-by-wire chassis Decision-making control unit 0x241 20ms None
Date length 0×08
Byte Function Data type Description
bit[0-1]: SWA:2- Up 3-Down
bit[2-3]: SWB : 2-Up 1-Middle 3-Down
byte[0] SW feedback unsigned int8
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 signed int8 Range[-100,100]
byte[2] Right joystick up and down signed int8 Range[-100,100]
byte[3] Left joystick up and down signed int8 Range[-100,100]
byte[4] Left joystick left and right signed int8 Range[-100,100]
byte[5] Left knob VRA signed int8 Range[-100,100]
byte[6] Reserved -- 0x00
byte[7] Count Parity bit unsigned int8 0~255 Loops counting
Command Name BMS Data Feedback
Sending node Receiving node ID Cycle (ms) Receive-timeout(ms)
Steer-by-wire chassis Decision-making control unit 0x361 500ms None
Date length 0×08
Position Function Data type Description
byte[0] Battery SOC unsigned int8 Range 0~100
byte[1] Battery SOH unsigned int8 Range 0~100
byte[2] Battery voltage higher 8 bits unsigned int16 Unit: 0.01V
byte[3] Battery voltage lower 8 bits signed int8 Range[-100,100]
byte[4] Battery current higher 8 bits signed int16 Unit: 0.1A
byte[5] Battery current lower 8 bits signed int8 Range[-100,100]
byte[6] Battery temperature higher 8 bits
signed int16 Unit: 0.1°C
byte[7] Battery temperature lower 8 bits
3.4 Serial Communication Protocol
3.4.1 Instruction of serial protocol
It is a standard for serial communication jointly formulated by the Electronic Industries Association (EIA) of the United States in 1970
conjunction with Bell Systems, modem manufacturers and computer terminal manufacturers. Its name is "Technical Standard for Serial
Binary Data Exchange Interface Between Data Terminal Equipment (DTE) and Data Communication Equipment (DCE)". The standard
stipulates that a 25-pin DB-25 connector is used for each connector. The signal content of each pin is specified, and the levels of various
signals are also specified. Later, IBM's PC simplified RS232 into a DB-9 connector, which became the practical standard. The RS-232 port
of industrial control generally only uses three lines of RXD, TXD, and GND.
3.4.2 Serial Connection
Use the USB to RS232 serial cable in our communication tool to connect to the serial port at the rear of the car, use the serial tool to set
the corresponding baud rate, and use the sample data provided above to test. If the remote control is turned on, it is necessary to switch
the remote control to command control mode. If the remote control is not turned on, just send the control command directly. It should
be noted that the command must be sent periodically. If the chassis exceeds 500MS and the serial port command is not received, it will
enter the loss of connection protection. status.
3.4.3 Serial Protocol Content
Basic Communication Parameter
Item Parameter
Baud Rate 115200
Parity No test
Data bit length 8 bits
Stop bit 1 bit
Instruction of protocol
Start bit Frame length Command type Command ID Data field Frame ID Checksum
composition
SOF frame_L CMD_TYPE CMD_ID data ... data[n] frame_id check_sum
byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 ... byte 6+n byte 7+n byte 8+n
5A A5
The protocol includes the start bit, frame length, frame command type, command ID, data range, frame ID, and checksum. The frame
length refers to the length excluding the start bit and the checksum. The checksum is the sum of all data from the start bit to the frame
ID; the frame ID bit is from 0 to 255 counting loops, which will be added once every command sent.
/**
* @brief serial message checksum example code
* @param[in] *data : serial message data struct pointer
* @param[in] len :serial message data length
* @return the checksum result
*/
static uint8 Agilex_SerialMsgChecksum(uint8 *data, uint8 len)
{
uint8 checksum = 0x00;
for(uint8 i = 0 ; i < (len-1); i++)
{
checksum += data[i];
}
return checksum;
}
Figure 3.3 Serial Parity algorithm code example
15
Protocol Content
Command Name System Status Feedback Frame
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 100ms None
Frame length 0×0C
Command type Feedback command(0×AA)
Command ID 0×01
Data length 8
Position Function Data type Description
0×00 System in normal condition
byte [0] Current status of vehicle body unsigned int8 0×01 Emergency stop mode (not enabled)
0×02 System exception
0×00 Standby mode
0×01 CAN command control mode
byte [1] Mode control unsigned int8
0×02 Serial control mode[1]
0×03 Remote control mode
byte [2] Battery voltage higher 8 bits
unsigned int16 Actual voltage × 10 (with an accuracy of 0.1V)
byte [3] Battery voltage lower 8 bits
byte [4] Reserved — 0×00
byte [5] Failure information unsigned int8 Refer to [Description of Failure Information]
byte [6] Reserved — 0×00
byte [7] Reserved — 0×00
Description of Failure Information
Byte Bit Meaning
Battery under-voltage failure (0: No failure 1: Failure) Protection voltage is 22V
bit[0]
(Battery with BMS version, protection power is 10%
Battery under-voltage alarm (0: No alarm 1: Alarm) Alarm voltage is 24V
bit[1]
(Battery with BMS version, alarm power is 15%
bit[2] Remote control loss contact protection (0: Normal 1: Remote control loss contact)
byte[5]
bit[3] Motor 1 communication failure (0: No failure 1: Failure)
bit[4] Motor 2 communication failure (0: No failure 1: Failure)
bit[5] Motor 3 communication failure (0: No failure 1: Failure)
bit[6] Motor 4 communication failure (0: No failure 1: Failure)
bit[7] Reserved, default 0
Note[1]: Robot chassis firmware version V1.2.8 is supported by subsequent versions, and the previous version requires firmware
upgrade to support.
16
Movement Control Feedback Command
Command Name Movement Control Feedback Command
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 20ms None
Frame length 0×0C
Command type Feedback command (0×AA)
Command ID 0×02
Data length 8
Position Function Data type Description
byte [0] Moving speed higher 8 bits Actual speed × 1000 (with an accuracy of
signed int16
byte [1] Moving speed lower 8 bits 0.001rad)
byte [2] Rotation speed higher 8 bits Actual speed × 1000 (with an accuracy of
signed int16
byte [3] Rotation speed lower 8 bits 0.001rad)
byte [4] Reserved - 0×00
byte [5] Reserved - 0×00
byte [6] Reserved - 0×00
byte [7] Reserved - 0×00
Movement Control Command
Command Name Control Command
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node 20ms 500ms
Frame length 0×0A
Command type Control command (0×55)
Command ID 0×01
Data length 6
Position Function Data type Description
byte [0] Movement speed higher 8 bits
signed int16 Vehicle moving speed, unit: mm/s
byte [1] Movement speed lower 8 bits
byte [2] Rotation speed higher 8 bits
signed int16 Vehicle rotation angular speed, unit: 0.001rad/s
byte [3] Rotation speed lower 8 bits
byte [4] Reserved - 0x00
byte [5] Reserved - 0x00
17
Control Mode Setting Command
Command Name Control Mode Setting Command
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node None None
Frame length 0×05
Command type Control command (0×55)
Command ID 0×02
Data length 1
Position Function Date type Description
0×00 Standby mode
byte [0] unsigned int8
0×02 Serial mode enable
Serial control mode enable
Power-on enters standby mode default
Status Setting Command
Command Name Status Setting Command
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node None None
Frame length 0×05
Command type Control command (0×55)
Command ID 0×03
Data length 1
Position Function Date type Description
0×00 Clear all not serious failure
0×01 Clear motor 1 failure
byte [0] Errors clearing command unsigned int8 0×02 Clear motor 2 failure
0×03 Clear motor 3 failure
0×04 Clear motor 4 failure
18
Motor Drive High Speed Information Feedback Frame
Command Name Motor Drive High Speed Information Feedback Frame
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Chassis node 20ms None
Frame length 0×0C
Command type Feedback command (0×AA)
Command ID 0×03~0×06
Data length 8
Position Function Data type Description
byte[0] Motor speed higher 8 bits
Current speed of the motor
signed int16
byte[1] Motor speed lower 8 bits Unit: RPM
byte[2] Motor current higher 8 bits
unsigned int16 Motor current Unit: 0.1A
byte[3] Motor current lower 8 bits
byte[4] Position highest bits
byte[5] Position second-highest bits
Position second-lowest bits signed int32 Current position of the motor Unit: pulse
byte[6]
byte[7] Position lowest bits
Motor Drive Low Speed Information Feedback Frame
Command Name Motor Drive Low Speed Information Feedback Frame
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 100ms None
Frame length 0×0C
Command type Feedback command (0×AA)
Command ID 0×07~0×a
Data length 6
Position Function Data type Description
byte [0] Drive voltage higher 8 bits
unsigned int16 Current voltage of drive Unit: 0.1V
byte [1] Drive voltage lower 8 bits
byte [2] Drive temperature higher 8 bits
signed int16 Unit: 1°C
byte [3] Drive temperature lower 8 bits
byte [4] Motor temperature signed int8 Unit: 1°C
byte [5] Drive status unsigned int8 See the details in the table below
byte [6] Reserved - 0×00
byte [7] Reserved - 0×00
19
Byte Bit Description
bit[0] Whether the power supply voltage is too low (0:Normal 1:Too low)
bit[1] Whether the motor is overheated (0:Normal 1:Overheated)
bit[2] Whether the drive is over current (0:Normal 1:Over current)
bit[3] Whether the drive is overheated (0:Normal 1:Overheated)
byte[5]
bit[4] Sensor status (0:Normal 1:Abnormal)
bit[5] Drive error status (0:Normal 1:Error)
bit[6] Drive enable status (0:Normal 1:Disability)
bit[7] Reserved
Light Control Frame
Command Name Light Control Frame
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node 20ms 500ms
Frame length 0×0A
Command type Control command (0×55)
Command ID 0×04
Data length 6
Position Function Date type Description
unsigned int8 0x00 Control command invalid
byte [0] Light control enable flag
0x01 Lighting control enable
0x00 NC
0x01 NO
byte [1] Front light mode unsigned int8
0x02 BL mode
0x03 User-defined brightness
unsigned int8 [0, 100], where 0 refers to no brightness,
byte [2] Custom brightness of front light
100 refers to maximum brightness[5]
0x00 NC
byte [3] unsigned int8 0x01 NO
Rear light mode
0x02BL mode
0x03 User-defined brightness
unsigned int8 [0, 100], where 0 refers to no brightness,
byte [4] Customize brightness for rear light
100 refers to maximum brightness
byte [5] Reserved — 0x00
20
Light Control Feedback Frame
Command Name Light Control Feedback Frame
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node 500ms 500ms
Frame length 0×0A
Command type Control command (0×AA)
Command ID 0×a1
Data length 8
Position Function Date type Description
Current light control enable flag 0x00 Control command invalid
unsigned int8
byte [0]
0x01 Lighting control enable
Current front light mode 0x00 NC
0x01 NO
byte [1] unsigned int8
0x02 BL mode
0x03 User-defined brightness
byte [2] Custom brightness of front light unsigned int8 [0, 100], where 0 refers to no brightness,
100refers to maximum brightness[5]
0x00 NC
byte [3] unsigned int8 0x01 NO
Rear light mode
0x02BL mode
0x03 User-defined brightness
Customize brightness for rear light unsigned int8 [0, 100], where 0 refers to no brightness,
byte [4] 100 refers to maximum brightness
byte [5] Reserved — 0x00
byte [6] Reserved — 0x00
byte [7] Reserved — 0x00
Mileage Feedback Frame
指令名称 Mileage Feedback Frame
Sending node Receiving node Cycle (ms) Receive-timeout(ms)
Steer-by-wire chassis Decision-making control unit 20ms None
Frame length 0×0C
Command type Feedback command (0×AA)
Command ID 0×a2
Data length 8
Byte Function Data type Description
byte [0] Left wheel mileometer highest bit
byte [1] Left wheel mileometer second-highest bit Chassis left wheel mileometer feedback,
signed int32
byte [2] Left wheel mileometer second-lowest bit unit:mm
byte [3] Left wheel mileometer lowest bit
byte [4] Right wheel mileometer highest bit
byte [5] Right wheel mileometer second-highest bit Chassis right wheel mileometer feedback,
signed int32
byte [6] Right wheel mileometer second-lowest bit unit:mm
byte [7] Right wheel mileometer lowest bit
21
Version Information Enquiry Frame
Command Name System Version Information Enquiry Command
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Decision-making control unit Chassis node None None
Date length 0×05
Command type Control command (0×55)
Command ID 0×05
Data length 1
Position Function Date type Description
byte [0] Enquire system version unsigned int8 Constant 0×01
Version Information Feedback Frame
Command Name System Version Information Feedback Frame
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 20ms None
Frame length 0×0C
Command type Control command (0×AA)
Command ID 0×a3
Data length 8
Position Function Data type Description
The number of main control
byte [0] Higher 8 bits is the main version number,
hardware version higher 8 bits unsigned int16
The number of main control lower 8 bits is the second version number
byte [1] hardware version lower 8 bits
byte [2] The number of drive hardware Higher 8 bits is the main version number,
version higher 8 bits unsigned int16
The number of drive hardware lower 8 bits is the second version number
byte [3]
version lower 8 bits
The number of main control
byte [4] Higher 8 bits is the main version number,
software version higher 8 bits
unsigned int16
The number of main control lower 8 bits is the second version number
byte [5] software version lower 8 bits
The number of drive software
byte [6] Higher 8 bits is the main version number,
version higher 8
unsigned int16
The number of drive software lower 8 bits is the second version number
byte [7]
version lower 8
22
Remote Control Information Feedback Frame
Command Name Remote Control Information Feedback Frame
Sending node Receiving node Cycle (ms) Receive-timeout(ms)
Steer-by-wire chassis Decision-making control unit 20ms None
Frame length 0×0C
Command type Feedback command (0×AA)
Command ID 0×a4
Data length 8
Byte Function Data type Description
bit[0-1]: SWA:2- Up 3-Down
unsigned int8 bit[2-3]: SWB : 2-Up 1-Middle 3-Down
byte [0] SW feedback
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 signed int8 Range[-100,100]
byte [2] Right joystick up and down signed int8 Range[-100,100]
byte [3] Left joystick up and down signed int8 Range[-100,100]
byte [4] Left joystick left and right signed int8 Range[-100,100]
byte [5] Left knob VRA signed int8 Range[-100,100]
byte [6] Reserved -- 0x00
byte [7] Reserved -- 0x00
BMS Feedback Frame
Command Name BMS Data Feedback
Sending node Receiving node Cycle (ms) Receive-timeout (ms)
Steer-by-wire chassis Decision-making control unit 20ms None
Frame length 0×0C
Command type Feedback command (0×AA)
Command ID 0×a5
Data length 8
Position Function Data type Description
byte[0] Battery SOC unsigned int8 Range 0~100
Battery SOH Range 0~100
byte[1] unsigned int8
byte[2] Battery voltage higher 8 bits
unsigned int16 Unit: 0.01V
byte[3] Battery voltage lower 8 bits
byte[4] Battery current higher 8 bits
signed int16 Unit: 0.1A
byte[5] Battery current lower 8 bits
byte[6] Battery temperature higher 8 bits
signed int16 Unit: 0.1°C
byte[7] Battery temperature lower 8 bits
23
Example Data
By controlling the chassis to move forward at a linear speed of 0.15m/s, the following is the specific data content.
Start bit Frame Length Command Type Command ID Data Range Frame ID Checksum
byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 � byte 6+n byte 7+n byte 8+n
0x5A 0xA5 0x0A 0x55 0x01 � � � 0x00 0x6B
The following is the content of the data range:
Position Function Value
byte [0] Linear speed higher 8 bits 0x00
byte [1] Linear speed lower 8 bits 0x96
byte [2] Angular speed higher 8 bits 0x00
byte [3] Angular speed lower 8 bits 0x00
byte [4] Reserved 0x00
byte [5] Reserved 0x00
The entire data content is: 5A A5 0A 55 01 00 96 00 00 00 00 00 F5
Other note: This protocol requires firmware version more than V1.5.12
3.5 Firmware upgrades
Upgrade procedure
In order to facilitate users to upgrade the firmware version used
Before connection, ensure the robot chassis is powered off;
by SCOUT 2.0 and bring customers a more complete experience,
Connect the serial cable onto the serial port at rear end of
SCOUT 2.0 provides a firmware upgrade hardware interface and
SCOUT 2.0 chassis;
corresponding client software. A screenshot of this application is
Connect the serial cable to the computer;
shown in Figure 3.3.
Open the client software;
Upgrade preparation Select the port number;
Power on SCOUT 2.0 chassis, and immediately click to start
SERIAL CABLE × 1
connection (SCOUT 2.0 chassis will wait for 3s before
USB-TO-SERIAL PORT × 1
power-on; if the waiting time is more than 3s, it will enter the
SCOUT 2.0 CHASSIS × 1 application); if the connection succeeds, "connected
COMPUTER (WINDOWS OPERATING SYSTEM) × 1 successfully" will be prompted in the text box;
Load Bin file;
Firmware upgrade software Click the Upgrade button, and wait for the prompt of upgrade
https://github.com/agilexrobotics/agilex_firmware completion;
Disconnect the serial cable, power off the chassis, and turn the
power off and on again.
3.6 SCOUT 2.0 SDK
In order to help users implement robot-related development
more conveniently, a cross-platform supported SDK is
developed for SCOUT 2.0 mobile robot.SDK software package
provides a C++ based interface, which is used to communicate
with the chassis of SCOUT 2.0 mobile robot and can obtain the
latest status of the robot and control basic actions of the robot.
For now, CAN adaptation to communication is available, but
RS232-based adaptation is still under way.Based on this, related
tests have been completed in NVIDIA JETSON TX2.
Figure 3.3 Client Interface of Firmware Upgrade
24
3.7 SCOUT2.0 ROS Package
ROS provide some standard operating system services, such as hardware abstraction, low-level device control, implementation
of common function, interprocess message and data packet management. ROS is based on a graph architecture, so that process
of different nodes can receive, and aggregate various information (such as sensing, control, status, planning, etc.) Currently ROS
mainly support UBUNTU.
Development Preparation
Hardware preparation Use example environment description
CANlight can communication module ×1 Ubuntu 16.04 LTS (This is a test version, tasted on Ubuntu
Thinkpad E470 notebook ×1 18.04 LTS)
AGILEX SCOUT 2.0 mobile robot chassis ×1 ROS Kinetic (Subsequent versions are also tested)
AGILEX SCOUT 2.0 remote control FS-i6s ×1 Git
AGILEX SCOUT 2.0 top aviation power socket ×1
Hardware connection and preparation
Lead out the CAN wire of the SCOUT 2.0 top aviation plug or the tail plug, and connect CAN_H and CAN_L in the CAN wire to the
CAN_TO_USB adapter respectively;
Turn on the knob switch on the SCOUT 2.0 mobile robot chassis, and check whether the emergency stop switches on both sides are
released;
Connect the CAN_TO_USB to the usb point of the notebook. The connection diagram is shown in Figure 3.4.
External power supply: CAN:
1.Red: VCC (Battery positive) 3.Yellow: CAN_H
2.Black: GND (Battery negative) 4.Blue: CAN_L
1
2
3
4
Figure 3.4 CAN connection diagram
ROS installation and environment setting AGILEX SCOUT 2.0 ROS PACKAGE download and compile
For installation details, please refer to Download ros package
http://wiki.ros.org/kinetic/Installation/Ubuntu $ sudo apt install ros-$ROS_DISTRO-controller-manager
Test CANABLE hardware and CAN communication $ sudo apt install ros-$ROS_DISTRO-teleop-twist-keyboard
$ sudo apt install ros-$ROS_DISTRO-joint-state-publisher-gui
Setting CAN-TO-USB adaptor
$ sudo apt install libasio-dev
Enable gs_usb kernel module
Clone compile scout_ros code
$ sudo modprobe gs_usb
Setting 500k Baud rate and enable can-to-usb adaptor
$ cd ~/catkin_ws/src
$ sudo ip link set can0 up type can bitrate 500000 $ git clone https://github.com/agilexrobotics/scout_ros.git
If no error occurred in the previous steps, you should be $ git clone https://github.com/agilexrobotics/agx_sdk.git
able to use the command to view the can device $ cd scout_ros && git checkout scout_v2
immediately $ cd ../agx_sdk && git checkout scout_v2
$ ifconfifig -a $ cd ~/catkin_ws
Install and use can-utils to test hardware $ catkin_make
$ sudo apt install can-utils
Please refer to:https://github.com/agilexrobotics/scout_ros
If the can-to-usb has been connected to the SCOUT 2.0
robot this time, and the car has been turned on, use the Start the ROS node
following commands to monitor the data from the SCOUT
Start the based node
2.0 chassis
$ roslaunch scout_bringup scout_minimal.launch
$ candump can0
Please refer to:
Start the keyboard remote operation node
[1]https://github.com/agilexrobotics/agx_sdk $ roslaunch scout_bringup scout_teleop_keyboard.launch
[2]https://wiki.rdu.im/_pages/Notes/Embedded-System/- Start gazebo simulate node
Linux/can-bus-in-linux.html $ roslaunch scout_bringup scout_base_gazebosim.launch
25
4 Precautions
This section includes some precautions that should be paid attention to for SCOUT 2.0 use and development.
4.1Battery 4.2 Operational environment
The battery supplied with SCOUT 2.0 is not fully charged in the The operating temperature of SCOUT 2.0 is -10℃ to 45℃; please do
factory setting, but its specific power capacity can be displayed on not use it below -10℃ and above 45℃ ;
the voltmeter at rear end of SCOUT 2.0 chassis or read via CAN bus The requirements for relative humidity in the use environment of
communication interface. The battery recharging can be stopped SCOUT 2.0 are: maximum 80%, minimum 30%;
when the green LED on the charger turns green. Note that if you Please do not use it in the environment with corrosive and
keep the charger connected after the green LED gets on, the flammable gases or closed to combustible substances;
charger will continue to charge the battery with about 0.1A current Do not place it near heaters or heating elements such as large
for about 30 minutes more to get the battery fully charged. coiled resistors, etc.;
Please do not charge the battery after its power has been depleted, Except for specially customized version (IP protection class
and please charge the battery in time when low battery level alarm customized), SCOUT 2.0 is not water-proof, thus please do not use
is on; it in rainy, snowy or water-accumulated environment;
Static storage conditions: The best temperature for battery storage The elevation of recommended use environment should not
is -10℃ to 45℃; in case of storage for no use, the battery must be exceed 1,000m;
recharged and discharged once about every 2 months, and then The temperature difference between day and night of recommend-
stored in full voltage state. Please do not put the battery in fire or ed use environment should not exceed 25℃;
heat up the battery, and please do not store the battery in Regularly check the tire pressure, and make sure it is within 1.8 bar
high-temperature environment; to 2.0bar。
Charging: The battery must be charged with a dedicated lithium If any tire is seriously worn out or has blown out, please replace it in
battery charger; lithium-ion batteries cannot be charged below 0°C time.
(32°F) and modifying or replacing the original batteries are strictly
prohibited.
4.3 Electrical/extension cords 4.5 Other notes
For the extended power supply on top, the current should not SCOUT 2.0 has plastic parts in front and rear, please do not directly
exceed 6.25A and the total power should not exceed 150W; hit those parts with excessive force to avoid possible damages;
For the extended power supply at rear end, the current should not When handling and setting up, please do not fall off or place the
exceed 5A and the total power should not exceed 120W; vehicle upside down;
When the system detects that the battery voltage is lower than the For non-professionals, please do not disassemble the vehicle
safe voltage class, external power supply extensions will be actively without permission.
switched to. Therefore, users are suggested to notice if external
extensions involve the storage of important data and have no
power-off protection.
4.4 Additional safety advice
In case of any doubts during use, please follow related instruction manual or consult related technical personnel;
Before use, pay attention to field condition, and avoid mis-operation that will cause personnel safety problem;
In case of emergencies, press down the emergency stop button and power off the equipment;
Without technical support and permission, please do not personally modify the internal equipment structure.
26
5 Q&A
Q: SCOUT 2.0 is started up correctly, but why cannot the RC transmitter control the vehicle body to move?
A: First, check whether the drive power supply is in normal condition, whether the drive power switch is pressed down and whether E-stop
switches are released; then, check whether the control mode selected with the top left mode selection switch on the RC transmitter is
correct.
Q: SCOUT 2.0 remote control is in normal condition, and the information about chassis status and movement can be received
correctly, but when the control frame protocol is issued, why cannot the vehicle body control mode be switched and the chassis
respond to the control frame protocol?
A: Normally, if SCOUT 2.0 can be controlled by a RC transmitter, it means the chassis movement is under proper control; if the chassis
feedback frame can be accepted, it means CAN extension link is in normal condition. Please check the CAN control frame sent to see
whether the data check is correct and whether the control mode is in command control mode. You can check the status of error flag from
the error bit in the chassis status feedback frame.
Q: SCOUT 2.0 gives a "beep-beep-beep..." sound in operation, how to deal with this problem?
A: If SCOUT 2.0 gives this "beep-beep-beep" sound continuously, it means the battery is in the alarm voltage state. Please charge the
battery in time. Once other related sound occur, there may be internal errors. You can check related error codes via CAN bus or communi-
cate with related technical personnel.
Q:Is the tire wear of SCOUT 2.0 is normally seen in operation?
A: The tire wear of SCOUT 2.0 is normally seen when it is running. As SCOUT 2.0 is based on the four-wheel differential steering design,
sliding friction and rolling friction both occur when the vehicle body rotates. If the floor is not smooth but rough, tire surfaces will be worn
out. In order to reduce or slow down the wear, small-angle turning can be conducted for less turning on a pivot.
Q: When communication is implemented via CAN bus, the chassis feedback command is issued correctly, but why does not the vehicle
respond to the control command?
A: There is a communication protection mechanism inside SCOUT 2.0, which means the chassis is provided with timeout protection when
processing external CAN control commands. Suppose the vehicle receives one frame of communication protocol, but it does no receive the
next frame of control command after 500ms. In this case, it will enter communication protection mode and set the speed to 0. Therefore,
commands from upper computer must be issued periodically.
27
6. Product Dimensions
6.1 Illustration diagram of product external dimensions
349
28
6.2 Illustration diagram of top extended support dimensions
18 x M4 - 6H fully through 230 16
3.3 fully through
180
30
30
150
650
494
29
AgileX Robotics CO., Ltd
WWW.AGILEX.AI
Email:sales@agilex.ai
TEL:+86-769-22892150
[READING ORDER TEXT]
AgileX Robotics Team
SCOUT 2.0
User Manual 2021.03 V.2.1.0This chapter contains important safety information, before the robot is powered on for the first time, any
individual or organization must read and understand this information before using the device. If you have
any questions about use, please contact us at support@agilex.ai. Please follow and implement all
assembly instructions and guidelines in the chapters of this manual, which is very important. Particular
attention should be paid to the text related to the warning signs.Make a risk assessment of the complete robot system.
Connect the additional safety equipment of other machinery
defined by the risk assessment together.
Confirm that the design and installation of the entire robot
system's peripheral equipment, including software and
hardware systems, are correct.
This robot does not have a complete autonomous mobile robot,
including but not limited to automatic anti-collision, anti-falling,
biological approach warning and other related safety functions.
Related functions require integrators and end customers to
follow relevant regulations and feasible laws and regulations for
safetyassessment,Toensurethatthedevelopedrobotdoesnot
have any major hazards and safety hazards in actual
applications.
Collect all the documents in the technical file: including risk
assessment and this manual.
Know the possible safety risks before operating and using the
equipment.
Safety Information
1.Effectiveness and responsibility
5.Maintenance
4.Operation
2.Environmental Considerations
3.Pre-work Checklist
The information in this manual does not include the design, installation and operation of a complete robot application, nor does it include all
peripheral equipment that may affect the safety of the complete system. The design and use of the complete system need to comply with the
safety requirements established in the standards and regulations of the country where the robot is installed.
SCOUT integrators and end customers have the responsibility to ensure compliance with the applicable laws and regulations of relevant
countries, and to ensure that there are no major dangers in the complete robot application. This includes but is not limited to the following:
For the first use,please read this manual carefully to understand
the basic operating content and operating specification.
Forremotecontroloperation,selectarelativelyopenareatouse
SCOUT2.0, because SCOUT2.0 is not equipped with any
automatic obstacle avoidance sensor.
Use SCOUT2.0 always under -10℃~45℃ ambient temperature.
If SCOUT 2.0 is not configured with separate custom IP
protection, its water and dust protection will be IP22 ONLY.
Make sure each device has sufficient power.
Make sure Bunker does not have any obvious defects.
Check if the remote controller battery has sufficient power.
When using, make sure the emergency stop switch has been
released.
!
When SCOUT2.0 has had a defect, please contact the relevant
technical to deal with it, do not handle the defect by yourself.
Always use SCOUT2.0 in the environment with the protection
level requires for the equipment.
Do not push SCOUT2.0 directly.
When charging, make sure the ambient temperature is above 0
℃.
If the vehicle shakes during its rotation, adjust the suspension.
In remote control operation, make sure the area around is
relatively spacious.
Carry out remote control within the range of visibility.
The maximum load of SCOUT2.0 is 50KG. When in use, ensure
that the payload does not exceed 50KG.
When installing an external extension on SCOUT2.0, confirm the
positionofthecenterofmassoftheextensionandmakesureitis
at the center of rotation.
Please charge in tine when the device is low battery alarm.
WhenSCOUT2..0hasadefect,pleaseimmediatelystopusingitto
avoid secondary damage.
Regularly check the pressure of the tire, and keep the tire pressure between 1.8bar~2.0bar.
If the tire is severely worn or burst, please replace it in time.
If the battery do not use for a long time, it need to charge the battery periodically in 2 to 3 months.CONTENTS
1 SCOUT 2.0 Introduction
1.1Component list
1.2Tech specifications
1.3 Requirement for development
2 The Basics
2.1 Status indication
2.2 Instructions on electrical interfaces
2.2.1 Top electrical interface
2.2.2 Rear electrical interface
2.3 Instructions on remote control
2.4 Instructions on control demands
and movements
2.5 Instruction on light control
3 Getting Started
3.1 Use and operation
3.2 Charging
3.2.1Charging operation
3.2.2Battery replacement
3.3 Communication using CAN
3.3.1 CAN cable connection
3.3.2 Implementation of CAN
command control
3.3.3 CAN message protocol
1
1
1
1
2
3
3
3
4
5
5
5
6
6
6
6
6
6
7
7
7
3.4 Serial communication protocol
3.4.1 Instruction of serial protocol
3.4.2 Serial connection
3.4.3 Serial protocol content
3.5 Firmware upgrades
3.6 SCOUT 2.0 SDK
3.7 SCOUT 2.0 ROS Package
4 Attention
4.1 Battery
4.2 Operational environment
4.3 Electrical/extension cords
4.4 Additional safety advices
4.5 Other notes
5 Q&A
6 Product Dimensions
6.1 Illustration diagram of product
external dimensions
6.2 Illustration diagram of top
extended support dimensions
15
15
15
15
24
24
25
26
26
26
26
26
26
27
28
28
291.1 Component list
1.2 Tech specifications
1.3Requirement for development
Mechanical
specifications
Motion
Control
L × W × H (mm)
Wheelbase (mm)
Front/rear wheel base (mm)
Weight of vehicle body (kg)
Battery type
Motor
Reduction gearbox
Drive type
Suspension
Steering
Safety equipment
9930 X 699 X 349
498
582 / 582
68(±0.5)
Lithium battery 24V 30AH
DC brushless 4 X 400W
1:30
Independent four-wheel drive
Independent suspension with single rocker arm
Four-wheel differential steering
Servo brake/anti-collision tube
No-load highest speed (m/s)
Minimum turning radius
Maximum climbing capacity
Minimum ground clearance (mm)
1.5
Be able to turn on a pivot
30°
135
RC transmitter
Communication interface
2.4G/extreme distance 1km
CAN / RS232
Control mode
Remote control
Control command mode
SCOUT 2.0 is designed as a multi-purpose UGV with different application scenarios considered: modular design; flexible
connectivity; powerful motor system capable of high payload. Additional components such as stereo camera, laser radar,
GPS, IMU and robotic manipulator can be optionally installed on SCOUT 2.0 for advanced navigation and computer vision
applications. SCOUT 2.0 is frequently used for autonomous driving education and research, indoor and outdoor security
patrolling, environment sensing, general logistics and transportation, to name a few only.
FSRCtransmitterisprovided(optional)inthefactorysettingpfSCOUT2.0,whichallowsuserstocontrolthechassisofrobot
to move and turn; CAN and RS232 interfaces on SCOUT 2.0 can be used for user’ s customization.
Name Quantity
Parameter Types Items Values
1 Introduction
SCOUT 2.0 Robot body
Battery charger (AC 220V)
Aviation plug (male, 4-pin)
USB to RS232 cable
Remote control transmitter (optional)
USB to CAN communication module
X 1
X 1
X 2
X 1
X 1
X1This section provides a brief introduction to the SCOUT 2.0 mobile robot platform, as shown in Figure 2.1 and Figure 2.2.
Figure 2.2 Rear View
Figure 2.1 Front View
1.Front View
2.Stop Switch
3.Standard Profile Support
4.Top Compartment
7.Rear Panel
6.Retardant-collision Tube
5.Top Electrical Panel
2 The Basics
1
3
5
4
6
7
6
2Emergency stop buttons are installed on both sides of the
robot to ensure easy access and pressing either one can shut
down power of the robot immediately when the robot
behaves abnormally. Water-proof connectors for DC power
and communication interfaces are provided both on top and
at the rear of the robot, which not only allow flexible
connection between the robot and external components but
alsoensuresnecessaryprotectiontotheinternaloftherobot
even under severe operating conditions.
A bayonet open compartment is reserved on the top for
users.
SCOUT2.0 adopts a modular and intelligent design concept.
The composite design of inflate rubber tyre and independent
suspension on the power module, coupled with the powerful
DC brushless servo motor, makes the SCOUT2.0 robot chassis
development platform has strong pass ability and ground
adapt ability, and can move flexibly on different ground.An-
ti-collision beams are mounted around the vehicle to reduce
possibledamagestothevehiclebodyduringacollision.Lights
are both mounted at front and at back of the vehicle, of which
thewhitelightisdesignedforilluminationinfrontwhereasthe
red light is designed at rear end for warning and indication.
Voltage
Replace battery
Robot powered on
The current battery voltage can be read from the voltmeter on the rear
electrical interface and with an accuracy of 1V.
Front and rear lights are switched on.
Table 2.1 Descriptions of Vehicle Status
When the battery voltage is lower than 22.5V, the vehicle body will give a beep-beep-beep
sound as a warning. When the battery voltage is detected as lower than 22V, SCOUT 2.0 will
actively cut off the power supply to external extensions and drive to prevent the battery
from being damaged. In this case, the chassis will not enable movement control and
accept external command control.
Status Description
Userscanidentifythestatusofvehiclebodythroughthevoltmeter,thebeeperandlightsmountedonSCOUT2.0.Fordetails,pleaserefer
to Table 2.1.
2.1 Status indication
SCOUT 2.0 has an aviation extension interface both on top and at rear end, each of which is configured with a set of power supply and a
set of CAN communication interface. These interfaces can be used to supply power to extended devices and establish communication.
The specific definitions of pins are shown in Figure 2.4.
Figure 2.3 Schematic Diagram of SCOUT 2.0 Electrical Interface on Top
SCOUT 2.0 provides three 4-pin aviation connectors and one DB9 (RS232) connector.
The position of the top aviation connector is shown in Figure 2.3.
2.2 Instructions on electrical interfaces
2.2.1 Top electrical interface
aviation connector
DB9 (RS232) connectorFigure 2.4 Definitions for Pins of Top Aviation Extension Interface
1
2
3
4
Power
CAN
Power
CAN
VCC
GND
CAN_H
CAN_L
Power positive, voltage range
23 - 29.2V, MAX.current 10A
Power negative
CAN bus high
CAN bus low
Pin No. Pin Type Function and
Definition
Remarks
1
2
3
4
Power
CAN
Power
CAN
VCC
GND
CAN_H
CAN_L
Power positive, voltage range
23 - 29.2V, maximum current 5A
Power negative
CAN bus high
CAN bus low
Pin No. Pin Type
Function and
Definition
Remarks
2.2.2 Rear electrical interface
Specific definitions for pins of Q4 are shown in Figure 2.5.
Figure 2.5 Illustration Diagram of Q4 Pins
Pin No.
2
3
5
Definition
RS232-RX
RS232-TX
GND
The extension interface at rear end is shown in Figure 2.6, where Q1 is the key switch as the main electrical switch; Q2 is the recharging
interface;Q3isthepowersupplyswitchofdrivesystem;Q4isDB9serialport;Q5istheextensioninterfaceforCANand24Vpowersupply;
Q6 is the display of battery voltage.
Figure 2.6 Rear View
Figure 2.7 Description of Front and Rear Aviation Interface Pins
1 2
3 4
Rearview
2
1
4
3
1
6 7 8 9
2 3 4 5
Q4 Q5 Q6
Q1 Q2 Q3
It should be noted that, the extended power supply here is internally controlled, which means the power supply will be actively cut off
once the battery voltage drops below the pre-specified threshold voltage. Therefore, users need to notice that SCOUT 2.0 platform will
send a low voltage alarm before the threshold voltage is reached and also pay attention to battery recharging during use.As shown in Figure 2.9, the vehicle body of SCOUT 2.0 is in parallel with X axis of the established reference coordinate system. In the remote
control mode, push the remote control stick S1 forward to move in the positive X direction, push S1 backward to move in the negative X
direction. When S1 is pushed to the maximum value, the movement speed in the positive X direction is the maximum, When pushed S1 to the
minimum, the movement speed in the negative direction of the X direction is the maximum; the remote control stick S2 controls the steering
ofthefrontwheelsofthecarbody,pushS2totheleft,andthevehicleturnstotheleft,pushingittothemaximum,andthesteeringangleisthe
largest, S2 Push to the right, the car will turn to the right, and push it to the maximum, at this time the right steering angle is the largest. In the
controlcommandmode,thepositivevalueofthelinearvelocitymeansmovementinthepositivedirectionoftheXaxis,andthenegativevalue
of the linear velocity means movement in the negative direction of the X axis; The positive value of the angular velocity means the car body
moves from the positive direction of the X axis to the positive direction of the Y axis, and the negative value of the angular velocity means the
car body moves from the positive direction of the X axis to the negative direction of the Y axis.
Lights are mounted in front and at back of SCOUT 2.0, and the lighting control interface of SCOUT 2.0 is open to the users for convenience.
Meanwhile, another lighting control interface is reserved on the RC transmitter for energy saving.
CurrentlythelightingcontrolisonlysupportedwiththeFStransmitter,andsupportforothertransmittersisstillunderdevelopment.Thereare
3kindsoflightingmodescontrolledwithRCtransmitter,whichcanbeswitchedthroughtheSWC.Modecontroldescription:theSWCleverisat
the bottom of the normally closed mode, the middle is for the normally open mode, the top is breathing light mode.
NCMODE:INNCMODE,IFTHECHASSISISSTILL,THEFRONTLIGHTWILLBETURNEDOFF,ANDTHEREARLIGHTWILLENTERBLMODETO
INDICATE ITS CURRENT OPERATING STATUS; IF THE CHASSIS IS IN THE TRAVELING STATE AT CERTAIN NORMAL SPEED, THE REAR LIGHT
WILL BE TURNED OFF BUT THE FRONT LIGHT WILL BE TURNED ON;
NO MODE: IN NO MODE, IF THE CHASSIS IS STILL, THE FRONT LIGHT WILL BE NORMALLY ON, AND THE REAR LIGHT WILL ENTER THE BL
MODE TO INDICATE THE STILL STATUS; IF IN MOVEMENT MODE, THE REAR LIGHT IS TURNED OFF BUT THE FRONT LIGHT IS TURNED ON;
BL MODE: FRONT AND REAR LIGHTS ARE BOTH IN BREATHING MODE UNDER ALL CIRCUMSTANCES.
NOTE ON MODE CONTROL:TOGGLING SWC LEVER RESPECTIVELY REFERS TO NC MODE, NO MODE AND BL MODE IN BOTTOM, MIDDLE AND
TOP POSITIONS.
FSRCtransmitterisanoptionalaccessoryofSCOUT2.0formanuallycontrolling
the robot. The transmitter comes with a left-hand-throttle configuration. The
definition and function shown in Figure 2.8. The function of the button is
defined as: SWA and SWD are temporarily disabled, and SWB is the control
modeselectbutton,dialtothetopiscommandcontrolmode,dialtothemiddle
isremotecontrolmode;SWCislightcontrolbutton;S1isthrottlebutton,control
SCOUT2.0forwardandbackward;S2controliscontroltherotation,andPOWER
is the power button, press and hold at the same time to turn on.
2.3 Instructions on remote control
FS_i6_S remote control instructions
2.4 Instructions on control demands and movements
2.5 Instructions on lighting control
Figure 2.8 Schematic Diagram of
Buttons on FS RC transmitter
A reference coordinate system can be defined and fixed on the vehicle body as shown in Figure 2.9 in accordance with ISO 8855.
Figure 2.9 Schematic Diagram of Reference Coordinate System for Vehicle Body
SWC
SWD
S2
SWB
SWA
S1
POWER
POWER
Z
Y
XThis section introduces the basic operation and development of the SCOUT 2.0 platform using the CAN bus interface.
3 Getting Started
Basic operating procedure of remote control:
3.2.1 Charging operation
3.3 Communication using CAN
3.1 Use and operation
Check the condition of SCOUT 2.0. Check whether there are
significant anomalies; if so, please contact the after-sale service
personalforsupport;
Check the state of emergency-stop switches. Make sure both
emergencystopbuttonsarereleased;
Make sure the electricity of SCOUT 2.0 chassis is powered off. Before
charging, please make sure the power switch in the rear control
condole is turned off;
Insert the charger plug into Q6 charging interface on the rear control
panel;
Connect the charger to power supply and turn on the switch in the
charger. Then, the robot enters the charging state.
Note:Fornow,thebatteryneedsabout3to5hourstobefully
recharged from 22V, and the voltage of a fully recharged
battery is about 29.2V; the recharging duration is calculated
as 30AH ÷ 10A = 3h.
Rotate the key switch to cut off the power supply; Press down emergency push button both on the left and the right of
SCOUT 2.0 vehicle body;
Rotate the key switch (Q1 on the electrical panel), and normally,
thevoltmeterwilldisplaycorrectbatteryvoltageandfrontandrear
lights will be both switched on;
Check the battery voltage. If there is no continuous
"beep-beep-beep..." sound from beeper, it means the battery
voltage is correct; if the battery power level is low, please charge
the battery;
Press Q3 (drive power switch button).
Check Startup
Shutdown Emergency stop
AfterthechassisofSCOUT2.0mobilerobotisstartedcorrectly,turnontheRCtransmitterandselecttheremote-controlmode.Then,SCOUT2.0
platform movement can be controlled by the RC transmitter.
SCOUT 2.0 IS EQUIPPED WITH A 10A CHARGER BY DEFAULT TO MEET CUSTOMERS' RECHARGING DEMAND.
SCOUT2.0providesCANandRS232interfacesforusercustomization.Userscanselectoneoftheseinterfacestoconductcommandcontrolover
the vehicle body.
3.2 Charging
3.2.2 Battery replacement
The basic operating procedure of startup is shown as follows:
SCOUT2.0 adopts a detachable battery solution for the convenience of
users. In some special cases, the battery can be replaced directly. The
operation steps and diagrams are as follows (before operation, ensure
that SCOUT2.0 is power-off):
Open the upper panel of SCOUT2.0, and unplug the two XT60 power
connectors on the main control board (the two connectors are
equivalent)andthebatteryCAN connector;
HangSCOUT2.0inmidair,unscreweightscrewsfromthebottomwitha
nationalhexwrench,andthendragthebatteryout;
Replacethebatteryandfixedthebottomscrews.
Plug the XT60 interface and the power CAN interface into the main
controlboard,confirmthatalltheconnectinglinesarecorrect,andthen
powerontotest.
Figure3.1SchematicDiagramofreplacebatterySCOUT2.0 deliver with two aviation male plugs as shown in Figure 3.2. For
wire definitions, please refer to Table 2.2.
Correctly start the chassis of SCOUT 2.0 mobile robot, and turn on DJI RC
transmitter. Then, switch to the command control mode, i.e. toggling S1 mode of
DJI RC transmitter to the top. At this point, SCOUT 2.0 chassis will accept the
command from CAN interface, and the host can also parse the current state of
chassiswiththereal-timedatafedbackfromCANbus.Forthedetailedcontentof
protocol, please refer to CAN communication protocol.
Correctly start the chassis of SCOUT 2.0 mobile robot, and turn on DJI RC transmitter. Then, switch to the command control mode, i.e.
togglingS1modeofDJIRCtransmittertothetop.Atthispoint,SCOUT2.0chassiswillacceptthecommandfromCANinterface,andthehost
canalsoparsethecurrentstateofchassiswiththereal-timedatafedbackfromCANbus.Forthedetailedcontentofprotocol,pleasereferto
CAN communication protocol.
3.3 Communication using CAN
SCOUT 2.0 provides CAN and RS232 interfaces for user customization. Users can select one of these interfaces to conduct command control
over the vehicle body.
3.3.1 CAN cable connection
3.3.2 Implementation of CAN command control
3.3.3 CAN message protocol
Sending node
Steer-by-wire chassis
Data length
Position
byte [0]
byte [1]
Receiving node
Decision-making control
unit
0x08
Function
Current status of vehicle
body
Mode control
ID
0x151
Data type
unsigned int8
unsigned int8
Cycle (ms) Receive-timeout (ms)
20ms None
Description
0x00 System in normal condition
0x01 Emergency stop mode (not enabled)
0x02 System exception
byte [2]
byte [3]
byte [4]
byte [5]
Battery voltage higher 8 bits
Battery voltage lower 8 bits
Reserved
Failure information
unsigned int16 Actual voltage × 10 (with an accuracy of 0.1V)
RefertoTable3.2[DescriptionofFailureInformation]
0-255countingloops,whichwillbeaddedonceevery
commandsent
0×00
0×00
unsigned int8
-
byte [6]
byte [7]
Reserved
Count paritybit (count)
-
unsigned int8
0×00 Standby mode
0×01 CAN command control mode
0×02 Serial port control mode
0×03 Remote control mode
Table 3.1 Feedback Frame of SCOUT 2.0 Chassis System Status
System Status Feedback Command Command Name
Figure 3.2 Schematic diagram of aviation plug male connector
Red:VCC(battery positive)
Black:GND(battery negative)
Blue:CAN_L
Yellow:CAN_H
The command of movement control feedback frame includes the feedback of current linear speed and angular speed of
moving vehicle body. For the detailed content of protocol, please refer to Table 3.3.
The control frame includes control openness of linear speed and control openness of angular speed. For its detailed
content of protocol, please refer to Table 3.4.
Note[1]: Robot chassis firmware version V1.2.8 is supported by subsequent versions, and the previous version requires
firmware upgrade to support
Note[2]: The buzzer will sound when the battery under-voltage, but the chassis control will not be affected, and the power
output will be cut off after the under-voltage fault
Table 3.2 Description of Failure Information
Battery undervoltage fault (0: No failure 1: Failure) Protection voltage is 22V
(The battery version with BMS, the protection power is 10%)
Battery undervoltage fault[2] (0: No failure 1: Failure) Alarm voltage is 24V
(The battery version with BMS, the warning power is 15%)
RC transmitter disconnection protection (0: Normal 1: RC transmitter disconnected)
No.1 motor communication failure (0: No failure 1: Failure)
No.2 motor communication failure (0: No failure 1: Failure)
No.3 motor communication failure (0: No failure 1: Failure)
No.4 motor communication failure (0: No failure 1: Failure)
Reserved, default 0
bit [0]
bit [1]
bit [2]
bit [3]
bit [4]
bit [5]
bit [6]
bit [7]
byte [4]
Byte bit Meaning
Description of Failure Information
Table 3.3 Movement Control Feedback Frame
Sending node
Steer-by-wire chassis
Date length
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Receiving node
Decision-making control unit
0×08
Function
Moving speed higher 8 bits
Moving speed lower 8 bits
Rotation speed higher 8 bits
Rotation speed lower 8 bits
Reserved
Reserved
Reserved
Reserved
ID
0x221
Data type
signed int16
signed int16
-
-
-
-
Cycle (ms) Receive-timeout (ms)
20ms None
Description
Actual speed × 1000 (with an accuracy of 0.001rad)
Actual speed × 1000 (with an accuracy of 0.001rad)
0x00
0x00
0x00
0x00
Movement Control Feedback Command Command Name
The mode setting frame is used to set the control interface of the terminal. For its detailed content of protocol, please refer to Table 3.5.
Status setting frame is use to clear the system errors. For its detailed content of protocol, please refer to Table 3.6.
Description of control mode: In case the SCOUT 2.0 is powered on and the RC transmitter is not connected, the control mode is
defaultedtostandbymode.Atthistime,thechassisonlyreceivescontrolmodecommand,anddoesnotrespondothercommands.To
use CAN for control need to switch CAN command mode at first. If the RC transmitter is turned on, the RC transmitter has the highest
authority, can shield the control of command and switch the control mode.
Table 3.4 Control Frame of movement Control Command
Sending node
Decision-making control unit
Date length
Position
byte [0]
Receiving node
Chassis node
0×08
Function
Linear speed higher 8 bits
ID
0x111
Data type
signed int16
byte [1]
byte [2]
Linear speed lower 8 bits
Angular speed higher 8 bits
Angular speed lower 8 bits byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Reserved
Reserved
Reserved
Reserved
signed int16
—
—
—
—
0x00
0x00
0x00
0x00
Control Command Command Name
Table 3.5 Control mode setting frame
Table 3.6 Status Setting Frame
Sending node
Decision-making control unit
Date length
Position
byte [0]
Receiving node
Chassis node
0×01
Function
Control mode
ID
0×421
Date type
unsigned int8
Control Mode Setting Command Command Name
Sending node
Decision-making control unit
Date length
Position
byte [0]
Receiving node
Chassis node
0×01
Function
Errors clearing command
ID
0×441
Date type
unsigned int8
Status Setting Command Command Name
Cycle (ms)
20ms
Receive-timeout (ms)
500ms
Cycle (ms)
None
Receive-timeout (ms)
None
Cycle (ms)
None
Receive-timeout (ms)
None
Description
Vehicle moving speed, unit mm/s (effective value+ -1500)
Vehicle rotation angular speed, unit mm/s (effective value+ -1500)
Description
0×00 Standby mode
0×01 CAN command mode enable
Description
0×00 Clear all failure
0×01 Clear Motor 1 failure
0×02 Clear Motor 2 failure
0×03 Clear Motor 3 failure
0×04 Clear Motor 4 failure
Description
The chassis status information will be feedback, and what’ s more, the information about motor current, encoder and temperature are
also included. The following feedback frame contains the information about motor current, encoder and motor temperature.
The motor numbers of the 4 motors in the chassis are shown in the figure below:
Table 3.7 Motor Speed Current Position Information Feedback
Figure 3.0 Schematic diagram Motor feedback ID
[Note 3] Example data: The following data is only used for testing
1.The vehicle moves forward at 0.15m/s
byte [0] byte [1] byte [2] byte [3] byte [4] byte [5] byte [6] byte [7]
0x00 0x00 0x00 0xc8 0x00 0x00 0x00 0x00
byte [0] byte [1] byte [2] byte [3] byte [4] byte [5] byte [6] byte [7]
0x00 0x96 0x00 0x00 0x00 0x00 0x00 0x00
Rear electrical panel
1
2
4
3
2.The vehicle steering 0.2rad/s
Sending node
Steer-by-wire chassis
Date length
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Receiving node
Decision-making control unit
0×08
Function
Motor speed higher 8 bits
Motor speed lower 8 bits
Motor current higher 8 bits
Motor current lower 8 bits
Position highest bits
Position second-highest bits
Position second-lowest bits
Position lowest bits
ID
0x251~0x254
Data type
signed int16
signed int16
signed int32 Current position of the motor Unit: pulse
Motor Drive High Speed Information Feedback Frame Command Name
Cycle (ms)
20ms
Receive-timeout (ms)
None
Vehicle moving speed, unit mm/s (effective value+ -1500)
Motor current Unit 0.1A
Table 3.8 Motor temperature, voltage and status information feedback
Table 3.9 Drive Status
Sending node
Steer-by-wire chassis
Date length
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Receiving node
Decision-making control unit
0×08
Function
Drive voltage higher 8 bits
Drive voltage lower 8 bits
Drive temperature higher 8 bits
Drive temperature lower 8 bits
Motor temperature
Drive status
Reserved
Reserved
ID
0x261~0x264
Data type
unsigned int16
signed int16
Cycle (ms) Receive-timeout (ms)
20ms None
Description
Current voltage of drive unit 0.1V
Unit 1°C
Unit 1°C
See the details in [Drive control status]
0x00
0x00
signed int8
unsigned int8
-
-
Motor Drive Low Speed Information Feedback Frame Command Name
Byte Bit Description
byte[5]
bit[0]
bit[1]
bit[2]
bit[3]
bit[4]
bit[5]
bit[6]
bit[7]
Whether the power supply voltage is too low (0:Normal 1:Too low)
Whether the motor is overheated (0:Normal 1:Overheated)
Whether the drive is over current (0:Normal 1:Over current)
Whether the drive is overheated (0:Normal 1:Overheated)
Sensor status (0:Normal 1:Abnormal)
Drive error status (0:Normal 1:Error)
Drive enable status (0:Normal 1:Disability)
Reserved
The front and external lights also support command control. The following table shows the control commands:
Table 3.10 Light Control Frame
Table 3.11 Light Control Feedback Frame
Sending node
Decision-making control unit
Date length
Position
byte [0]
byte [1]
Sending node
Steer-by-wire chassis
Date length
Position
byte [0]
byte [1]
Receiving node
Decision-making control unit
0×08
Function
Current lighting control enable flag
Current front light mode
Receiving node
Chassis node
0×08
Function
Light control enable flag
Front light mode
Custom brightness of front light
Rear light mode
Customize brightness for rear light
Reserved
Reserved
Parity bit (checksum)
ID
0x121
Date type
unsigned int8
unsigned int8
ID
0x231
Date type
unsigned int8
unsigned int8
Description
0x00 Control command invalid
0x01 Lighting control enable
unsigned int8
unsigned int8
[0, 100], where 0 refers to no brightness
100refers to maximum brightness[5]
[0, 100], where 0 refers to no brightness
100refers to maximum brightness[5]
0x00 NC
0x01 NO
0x02BL mode
0x03 User-defined brightness
0x00 NC
0x01 NO
0x02 BL mode
0x03 User-defined brightness
0 - 255 counting loops, which will be
added once every command sent
0 - 255 counting loops, which will be
added once every command sent
Light Control Frame
Steering Zero Setting Command Command Name
Command Name
unsigned int8
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
unsigned int8
unsigned int8
unsigned int8
unsigned int8
[0, 100], where 0 refers to no brightness
100refers to maximum brightness
[0, 100], where 0 refers to no brightness
100refers to maximum brightness
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Current custom brightness
of front light
Current custom brightness of rear light
Reserved
Reserved
Parity bit (checksum)
Current rear light mode
_
_
unsigned int8
_
_
0x00
0x00
0x00
0x00
Note [5]: The values are valid for custom mode.
0x00 NC
0x01 NO
0x02BL mode
0x03 User-defined brightness
0x00 NC
0x01 NO
0x02BL mode
0x03 User-defined brightness
Receive-timeout (ms)
None
Cycle (ms)
20ms
Description
0x00 Control command invalid
0x01 Lighting control enable
Receive-timeout (ms)
None
Cycle (ms)
20ms
Table 3.12 System Version Information Enquiry Frame
Table 3.14 Mileometer Information Feedback
Sending node
Decision-making control unit
Date length
Position
byte [0]
Sending node
Steer-by-wire chassis
Date length
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Receiving node
Chassis node
0×01
Function
Enquire system version
Receiving node
Decision-making control unit
0×08
Function
Sending node
Steer-by-wire chassis
Date length
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Receiving node
Decision-making control unit
0×08
Function
Left wheel mileometer highest bit
Left wheel mileometer second-highest bit
Left wheel mileometer second-highest bit
Left wheel mileometer lowest bit
Right wheel mileometer highest bit
Right wheel mileometer second-highest bit
Right wheel mileometer second-highest bit
Right wheel mileometer lowest bit
ID
0x411
Date type
unsigned int8
ID
0x41A
Data type
unsigned int16
unsigned int16
unsigned int16
unsigned int16
ID
0x311
Data type
signed int32
signed int32
Description
Chassis left wheel mileometer feedback
Unit:mm
Chassis right wheel mileometer feedback
Unit:mm
System Version Information Enquiry Command Command Name
System Version Information Feedback Frame
Mileometer Information Feedback Command Name
Cycle (ms)
None
Cycle (ms)
500ms
Description
Constant 0×01
Description
Higher 8 bits is the main version number,
lower 8 bits is the second version number
Higher 8 bits is the main version number,
lower 8 bits is the second version number
Higher 8 bits is the main version number,
lower 8 bits is the second version number
Higher 8 bits is the main version number,
lower 8 bits is the second version number
Receive-timeout (ms)
None
Receive-timeout (ms)
None
Cycle (ms)
20ms
Receive-timeout (ms)
None
Table 3.13 System Version Information Enquiry Frame
Command Name
The number of main control
hardware version higher 8 bits
The number of main control
hardware version lower 8 bits
The number of drive hardware
version higher 8 bits
The number of drive hardware
version lower 8 bits
The number of main control
software version higher 8 bits
The number of main control
software version lower 8 bits
The number of drive software
version higher 8
The number of drive software
version lower 8
Table 3.15 Remote Control Information Feedback
Sending node
Steer-by-wire chassis
Date length
Byte
byte[0]
byte[1]
byte[2]
byte[3]
byte[4]
byte[5]
byte[6]
byte[7]
Receiving node
Decision-making control unit
0×08
Function
SW feedback
Right joystick left and right
Right joystick up and down
Left joystick up and down
Left joystick left and right
Left knob VRA
Reserved
Count Parity bit
ID
0x241
Data type
unsigned int8
signed int8
signed int8
signed int8
signed int8
signed int8
--
unsigned int8
Description
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
Range[-100,100]
Range[-100,100]
Range[-100,100]
Range[-100,100]
Range[-100,100]
0x00
0~255 Loops counting
Description
Range 0~100
Range 0~100
Unit: 0.01V
Range[-100,100]
Unit: 0.1A
Range[-100,100]
Unit: 0.1°C
Remote Control Information Feedback Frame Command Name
Sending node
Steer-by-wire chassis
Date length
Position
byte[0]
byte[1]
byte[2]
byte[3]
byte[4]
byte[5]
byte[6]
byte[7]
Receiving node
Decision-making control unit
0×08
Function
Battery SOC
Battery SOH
Battery voltage higher 8 bits
Battery voltage lower 8 bits
Battery current higher 8 bits
Battery current lower 8 bits
Battery temperature higher 8 bits
Battery temperature lower 8 bits
ID
0x361
Data type
unsigned int8
unsigned int8
unsigned int16
signed int8
signed int16
signed int8
signed int16
BMS Data Feedback Command Name
Cycle (ms)
20ms
Receive-timeout(ms)
None
Cycle (ms)
500ms
Receive-timeout(ms)
NoneSOF frame_L CMD_TYPE CMD_ID data ... data[n] frame_id check_sum
byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 ... byte 6+n byte 7+n byte 8+n
5A A5
Start bit Frame length Command type Command ID Data field Frame ID
15
Checksum
composition
/**
3.4 Serial Communication Protocol
3.4.1 Instruction of serial protocol
It is a standard for serial communication jointly formulated by the Electronic Industries Association (EIA) of the United States in 1970
conjunction with Bell Systems, modem manufacturers and computer terminal manufacturers. Its name is "Technical Standard for Serial
Binary Data Exchange Interface Between Data Terminal Equipment (DTE) and Data Communication Equipment (DCE)". The standard
stipulates that a 25-pin DB-25 connector is used for each connector. The signal content of each pin is specified, and the levels of various
signals are also specified. Later, IBM's PC simplified RS232 into a DB-9 connector, which became the practical standard. The RS-232 port
of industrial control generally only uses three lines of RXD, TXD, and GND.
The protocol includes the start bit, frame length, frame command type, command ID, data range, frame ID, and checksum. The frame
length refers to the length excluding the start bit and the checksum. The checksum is the sum of all data from the start bit to the frame
ID; the frame ID bit is from 0 to 255 counting loops, which will be added once every command sent.
3.4.3 Serial Protocol Content
Basic Communication Parameter
Instruction of protocol
Item
Baud Rate
Parity
Data bit length
Stop bit
Parameter
115200
No test
8 bits
1 bit
* @brief serial message checksum example code
* @param[in] *data : serial message data struct pointer
* @param[in] len :serial message data length
* @return the checksum result
*/
static uint8 Agilex_SerialMsgChecksum(uint8 *data, uint8 len)
{
uint8 checksum = 0x00;
for(uint8 i = 0 ; i < (len-1); i++)
{
checksum += data[i];
}
return checksum;
}
3.4.2 Serial Connection
Use the USB to RS232 serial cable in our communication tool to connect to the serial port at the rear of the car, use the serial tool to set
thecorrespondingbaudrate,andusethesampledataprovidedabovetotest.Iftheremotecontrolisturnedon,itisnecessarytoswitch
the remote control to command control mode. If the remote control is not turned on, just send the control command directly. It should
be noted that the command must be sent periodically. If the chassis exceeds 500MS and the serial port command is not received, it will
enter the loss of connection protection. status.
Figure 3.3 Serial Parity algorithm code example16
Data type
unsigned int8
unsigned int8
unsigned int16
—
unsigned int8
—
—
Description
0×00 System in normal condition
0×01 Emergency stop mode (not enabled)
0×02 System exception
0×00 Standby mode
0×01 CAN command control mode
0×02 Serial control mode[1]
0×03 Remote control mode
Actual voltage × 10 (with an accuracy of 0.1V)
0×00
Refer to [Description of Failure Information]
0×00
0×00
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Battery voltage higher 8 bits
Battery voltage lower 8 bits
Reserved
Failure information
Reserved
Reserved
Receiving node
Decision-making control unit
0×0C
Feedback command(0×AA)
0×01
8
Function
Current status of vehicle body
Mode control
Command Name
Sending node
Steer-by-wire chassis
Frame length
Command type
Command ID
Data length
Position
byte [0]
byte [1]
System Status Feedback Frame
Byte Bit Meaning
byte[5]
bit[0]
bit[1]
bit[2]
bit[3]
bit[4]
bit[5]
bit[6]
bit[7]
Battery under-voltage failure (0: No failure 1: Failure) Protection voltage is 22V
(Battery with BMS version, protection power is 10%
Battery under-voltage alarm (0: No alarm 1: Alarm) Alarm voltage is 24V
(Battery with BMS version, alarm power is 15%
Remote control loss contact protection (0: Normal 1: Remote control loss contact)
Motor 1 communication failure (0: No failure 1: Failure)
Motor 2 communication failure (0: No failure 1: Failure)
Motor 3 communication failure (0: No failure 1: Failure)
Motor 4 communication failure (0: No failure 1: Failure)
Reserved, default 0
Protocol Content
Description of Failure Information
Note[1]: Robot chassis firmware version V1.2.8 is supported by subsequent versions, and the previous version requires firmware
upgrade to support.
Cycle (ms)
100ms
Receive-timeout (ms)
None17
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Cycle (ms)
20ms
Receive-timeout (ms)
None
Cycle (ms)
20ms
Receive-timeout (ms)
500ms
Command Name
Sending node
Steer-by-wire chassis
Frame length
Command type
Command ID
Data length
Position
byte [0]
byte [1]
Receiving node
Decision-making control unit
0×0C
Feedback command (0×AA)
0×02
8
Function
Moving speed higher 8 bits
Moving speed lower 8 bits
Rotation speed higher 8 bits
Rotation speed lower 8 bits
Reserved
Reserved
Reserved
Reserved
Description
Actual speed × 1000 (with an accuracy of
0.001rad)
Actual speed × 1000 (with an accuracy of
0.001rad)
0×00
0×00
0×00
0×00
Data type
signed int16
signed int16
-
-
-
-
Movement Control Feedback Command
Command Name
Sending node
Decision-making control unit
Frame length
Command type
Command ID
Data length
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
Receiving node
Chassis node
0×0A
Control command (0×55)
0×01
6
Function
Movement speed higher 8 bits
Movement speed lower 8 bits
Rotation speed higher 8 bits
Rotation speed lower 8 bits
Reserved
Reserved
Control Command
Movement Control Feedback Command
Movement Control Command
Data type
signed int16
signed int16
-
-
Description
Vehicle moving speed, unit: mm/s
Vehicle rotation angular speed, unit: 0.001rad/s
0x00
0x0018
Control Mode Setting Command
Cycle (ms)
None
Receive-timeout (ms)
None
Command Name
Sending node
Decision-making control unit
Frame length
Command type
Command ID
Data length
Position
byte [0]
Receiving node
Chassis node
0×05
Control command (0×55)
0×02
1
Function
Serial control mode enable
Control Mode Setting Command
Date type
unsigned int8
Description
0×00 Standby mode
0×02 Serial mode enable
Power-on enters standby mode default
Status Setting Command
Cycle (ms)
None
Receive-timeout (ms)
None
Command Name
Sending node
Decision-making control unit
Frame length
Command type
Command ID
Data length
Position
byte [0]
Receiving node
Chassis node
0×05
Control command (0×55)
0×03
1
Function
Errors clearing command
Status Setting Command
Date type
unsigned int8
Description
0×00 Clear all not serious failure
0×01 Clear motor 1 failure
0×02 Clear motor 2 failure
0×03 Clear motor 3 failure
0×04 Clear motor 4 failure19
Motor Drive High Speed Information Feedback Frame
Cycle (ms)
20ms
Receive-timeout (ms)
None
Command Name
Sending node
Steer-by-wire chassis
Frame length
Command type
Command ID
Data length
Position
byte[0]
byte[1]
byte[2]
byte[3]
byte[4]
byte[5]
byte[6]
byte[7]
Receiving node
Chassis node
0×0C
Feedback command (0×AA)
0×03~0×06
8
Function
Motor speed higher 8 bits
Motor speed lower 8 bits
Motor current higher 8 bits
Motor current lower 8 bits
Position highest bits
Position second-highest bits
Position second-lowest bits
Position lowest bits
Motor Drive High Speed Information Feedback Frame
Data type
signed int16
unsigned int16
signed int32
Description
Current speed of the motor
Unit: RPM
Motor current Unit: 0.1A
Current position of the motor Unit: pulse
Motor Drive Low Speed Information Feedback Frame
Cycle (ms)
100ms
Receive-timeout (ms)
None
Command Name
Sending node
Steer-by-wire chassis
Frame length
Command type
Command ID
Data length
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Receiving node
Decision-making control unit
0×0C
Feedback command (0×AA)
0×07~0×a
6
Function
Drive voltage higher 8 bits
Drive voltage lower 8 bits
Drive temperature higher 8 bits
Drive temperature lower 8 bits
Motor temperature
Drive status
Reserved
Reserved
signed int8
unsigned int8
-
-
Unit: 1°C
See the details in the table below
0×00
0×00
Motor Drive Low Speed Information Feedback Frame
Data type
unsigned int16
signed int16
Description
Current voltage of drive Unit: 0.1V
Unit: 1°C20
Byte Bit Description
byte[5]
bit[0]
bit[1]
bit[2]
bit[3]
bit[4]
bit[5]
bit[6]
bit[7]
Whether the power supply voltage is too low (0:Normal 1:Too low)
Whether the motor is overheated (0:Normal 1:Overheated)
Whether the drive is over current (0:Normal 1:Over current)
Whether the drive is overheated (0:Normal 1:Overheated)
Sensor status (0:Normal 1:Abnormal)
Drive error status (0:Normal 1:Error)
Drive enable status (0:Normal 1:Disability)
Reserved
Light Control Frame
Cycle (ms)
20ms
Receive-timeout (ms)
500ms
Command Name
Sending node
Decision-making control unit
Frame length
Command type
Command ID
Data length
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
Receiving node
Chassis node
0×0A
Control command (0×55)
0×04
6
Function
Light control enable flag
Front light mode
Custom brightness of front light
Rear light mode
Customize brightness for rear light
Reserved —
unsigned int8
unsigned int8
unsigned int8
unsigned int8
unsigned int8
Light Control Frame
Date type Description
0x00 Control command invalid
0x01 Lighting control enable
0x00 NC
0x01 NO
0x02 BL mode
0x03 User-defined brightness
[0, 100], where 0 refers to no brightness,
100 refers to maximum brightness[5]
0x00 NC
0x01 NO
0x02BL mode
0x03 User-defined brightness
[0, 100], where 0 refers to no brightness,
100 refers to maximum brightness
0x0021
Mileage Feedback Frame
Light Control Feedback Frame
Cycle (ms)
20ms
Receive-timeout(ms)
None
指令名称
Sending node
Steer-by-wire chassis
Frame length
Command type
Command ID
Data length
Byte
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Receiving node
Decision-making control unit
0×0C
Feedback command (0×AA)
0×a2
8
Function
Left wheel mileometer highest bit
Left wheel mileometer second-highest bit
Left wheel mileometer second-lowest bit
Left wheel mileometer lowest bit
Right wheel mileometer highest bit
Right wheel mileometer second-highest bit
Right wheel mileometer second-lowest bit
Right wheel mileometer lowest bit
Mileage Feedback Frame
Data type
signed int32
signed int32
Description
Chassis left wheel mileometer feedback,
unit:mm
Chassis right wheel mileometer feedback,
unit:mm
Cycle (ms)
500ms
Receive-timeout (ms)
500ms
Command Name
Sending node
Decision-making control unit
Frame length
Command type
Command ID
Data length
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Receiving node
Chassis node
0×0A
Control command (0×AA)
0×a1
8
Function
Current light control enable flag
Current front light mode
Custom brightness of front light
Rear light mode
Customize brightness for rear light
Reserved
Reserved
Reserved
—
—
—
unsigned int8
unsigned int8
unsigned int8
unsigned int8
unsigned int8
Light Control Feedback Frame
Date type Description
0x00 Control command invalid
0x01 Lighting control enable
0x00 NC
0x01 NO
0x02 BL mode
0x03 User-defined brightness
[0, 100], where 0 refers to no brightness,
100refers to maximum brightness[5]
0x00 NC
0x01 NO
0x02BL mode
0x03 User-defined brightness
[0, 100], where 0 refers to no brightness,
100 refers to maximum brightness
0x00
0x00
0x0022
Version Information Enquiry Frame
Cycle (ms)
None
Receive-timeout (ms)
None
Command Name
Sending node
Decision-making control unit
Date length
Command type
Command ID
Data length
Position
byte [0]
Receiving node
Chassis node
0×05
Control command (0×55)
0×05
1
Function
Enquire system version
Version Information Feedback Frame
Cycle (ms)
20ms
Receive-timeout (ms)
None
Command Name
Sending node
Steer-by-wire chassis
Frame length
Command type
Command ID
Data length
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Receiving node
Decision-making control unit
0×0C
Control command (0×AA)
0×a3
8
Function
System Version Information Feedback Frame
Data type
unsigned int16
unsigned int16
unsigned int16
unsigned int16
Description
Higher 8 bits is the main version number,
lower 8 bits is the second version number
Higher 8 bits is the main version number,
lower 8 bits is the second version number
Higher 8 bits is the main version number,
lower 8 bits is the second version number
Higher 8 bits is the main version number,
lower 8 bits is the second version number
System Version Information Enquiry Command
Date type
unsigned int8
Description
Constant 0×01
The number of main control
hardware version higher 8 bits
The number of main control
hardware version lower 8 bits
The number of drive hardware
version higher 8 bits
The number of drive hardware
version lower 8 bits
The number of main control
software version higher 8 bits
The number of main control
software version lower 8 bits
The number of drive software
version higher 8
The number of drive software
version lower 823
Remote Control Information Feedback Frame
Cycle (ms)
20ms
Receive-timeout(ms)
None
Command Name
Sending node
Steer-by-wire chassis
Frame length
Command type
Command ID
Data length
Byte
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
byte [6]
byte [7]
Receiving node
Decision-making control unit
0×0C
Feedback command (0×AA)
0×a4
8
Function
SW feedback
Right joystick left and right
Right joystick up and down
Left joystick up and down
Left joystick left and right
Left knob VRA
Reserved
Reserved
Remote Control Information Feedback Frame
Data type
unsigned int8
signed int8
signed int8
signed int8
signed int8
signed int8
--
--
Description
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
Range[-100,100]
Range[-100,100]
Range[-100,100]
Range[-100,100]
Range[-100,100]
0x00
0x00
BMS Feedback Frame
Cycle (ms)
20ms
Receive-timeout (ms)
None
Command Name
Sending node
Steer-by-wire chassis
Frame length
Command type
Command ID
Data length
Position
byte[0]
byte[1]
byte[2]
byte[3]
byte[4]
byte[5]
byte[6]
byte[7]
Receiving node
Decision-making control unit
0×0C
Feedback command (0×AA)
0×a5
8
Function
Battery SOC
Battery SOH
Battery voltage higher 8 bits
Battery voltage lower 8 bits
Battery current higher 8 bits
Battery current lower 8 bits
Battery temperature higher 8 bits
Battery temperature lower 8 bits
BMS Data Feedback
Data type
unsigned int8
unsigned int8
unsigned int16
signed int16
signed int16
Description
Range 0~100
Range 0~100
Unit: 0.01V
Unit: 0.1A
Unit: 0.1°C24
byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 � byte 6+n byte 7+n byte 8+n
0x5A 0xA5 0x0A 0x55 0x01 � � � 0x00 0x6B
The following is the content of the data range:
Start bit Frame Length Command Type Command ID Data Range Frame ID Checksum
Position
byte [0]
byte [1]
byte [2]
byte [3]
byte [4]
byte [5]
Function
Linear speed higher 8 bits
Linear speed lower 8 bits
Angular speed higher 8 bits
Angular speed lower 8 bits
Reserved
Reserved
Value
0x00
0x96
0x00
0x00
0x00
0x00
Example Data
The entire data content is: 5A A5 0A 55 01 00 96 00 00 00 00 00 F5
Other note: This protocol requires firmware version more than V1.5.12
3.5 Firmware upgrades
3.6 SCOUT 2.0 SDK
In order to help users implement robot-related development
more conveniently, a cross-platform supported SDK is
developed for SCOUT 2.0 mobile robot.SDK software package
provides a C++ based interface, which is used to communicate
with the chassis of SCOUT 2.0 mobile robot and can obtain the
latest status of the robot and control basic actions of the robot.
For now, CAN adaptation to communication is available, but
RS232-basedadaptationisstillunderway.Basedonthis,related
tests have been completed in NVIDIA JETSON TX2.
In order to facilitate users to upgrade the firmware version used
by SCOUT 2.0 and bring customers a more complete experience,
SCOUT 2.0 provides a firmware upgrade hardware interface and
correspondingclientsoftware.Ascreenshotofthisapplicationis
shown in Figure 3.3.
Before connection, ensure the robot chassis is powered off;
Connect the serial cable onto the serial port at rear end of
SCOUT 2.0 chassis;
Connect the serial cable to the computer;
Open the client software;
Select the port number;
Power on SCOUT 2.0 chassis, and immediately click to start
connection (SCOUT 2.0 chassis will wait for 3s before
power-on; if the waiting time is more than 3s, it will enter the
application); if the connection succeeds, "connected
successfully" will be prompted in the text box;
Load Bin file;
Click the Upgrade button, and wait for the prompt of upgrade
completion;
Disconnecttheserialcable,poweroffthechassis,andturnthe
power off and on again.
Upgrade preparation
Firmware upgrade software
Upgrade procedure
SERIAL CABLE × 1
USB-TO-SERIAL PORT × 1
SCOUT 2.0 CHASSIS × 1
COMPUTER (WINDOWS OPERATING SYSTEM) × 1
https://github.com/agilexrobotics/agilex_firmware
Figure 3.3 Client Interface of Firmware Upgrade
By controlling the chassis to move forward at a linear speed of 0.15m/s, the following is the specific data content.25
ROS provide some standard operating system services, such as hardware abstraction, low-level device control, implementation
of common function, interprocess message and data packet management. ROS is based on a graph architecture, so that process
of different nodes can receive, and aggregate various information (such as sensing, control, status, planning, etc.) Currently ROS
mainly support UBUNTU.
CANlight can communication module ×1
Thinkpad E470 notebook ×1
AGILEX SCOUT 2.0 mobile robot chassis ×1
AGILEX SCOUT 2.0 remote control FS-i6s ×1
AGILEX SCOUT 2.0 top aviation power socket ×1
Enable gs_usb kernel module
$ 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
$ ifconfifig -a
Install and use can-utils to test hardware
$ sudo apt install can-utils
If the can-to-usb has been connected to the SCOUT 2.0
robot this time, and the car has been turned on, use the
following commands to monitor the data from the SCOUT
2.0 chassis
$ candump can0
Please refer to:
[1]https://github.com/agilexrobotics/agx_sdk
[2]https://wiki.rdu.im/_pages/Notes/Embedded-System/-
Linux/can-bus-in-linux.html
For installation details, please refer to
http://wiki.ros.org/kinetic/Installation/Ubuntu
Setting CAN-TO-USB adaptor
Ubuntu16.04LTS(Thisisatestversion,tastedonUbuntu
18.04 LTS)
ROS Kinetic (Subsequent versions are also tested)
Git
Download ros package
$ sudo apt install ros-$ROS_DISTRO-controller-manager
$ sudo apt install ros-$ROS_DISTRO-teleop-twist-keyboard
$ sudo apt install ros-$ROS_DISTRO-joint-state-publisher-gui
$ sudo apt install libasio-dev
Clone compile scout_ros code
$ cd ~/catkin_ws/src
$ git clone https://github.com/agilexrobotics/scout_ros.git
$ git clone https://github.com/agilexrobotics/agx_sdk.git
$ cd scout_ros && git checkout scout_v2
$ cd ../agx_sdk && git checkout scout_v2
$ cd ~/catkin_ws
$ catkin_make
Please refer to: https://github.com/agilexrobotics/scout_ros
Start the based node
$ roslaunch scout_bringup scout_minimal.launch
Start the keyboard remote operation node
$ roslaunch scout_bringup scout_teleop_keyboard.launch
Start gazebo simulate node
$ roslaunch scout_bringup scout_base_gazebosim.launch
Lead out the CAN wire of the SCOUT 2.0 top aviation plug or the tail plug, and connect CAN_H and CAN_L in the CAN wire to the
CAN_TO_USB adapter respectively;
Turn on the knob switch on the SCOUT 2.0 mobile robot chassis, and check whether the emergency stop switches on both sides are
released;
Connect the CAN_TO_USB to the usb point of the notebook. The connection diagram is shown in Figure 3.4.
Development Preparation
ROS installation and environment setting AGILEX SCOUT 2.0 ROS PACKAGE download and compile
Start the ROS node
Hardware connection and preparation
Test CANABLE hardware and CAN communication
3.7 SCOUT2.0 ROS Package
Use example environment description Hardware preparation
1
2
3
4
Figure 3.4 CAN connection diagram
External power supply:
1.Red: VCC (Battery positive)
2.Black: GND (Battery negative)
CAN:
3.Yellow: CAN_H
4.Blue: CAN_LThe battery supplied with SCOUT 2.0 is not fully charged in the
factory setting, but its specific power capacity can be displayed on
the voltmeter at rear end of SCOUT 2.0 chassis or read via CAN bus
communication interface. The battery recharging can be stopped
when the green LED on the charger turns green. Note that if you
keep the charger connected after the green LED gets on, the
charger will continue to charge the battery with about 0.1A current
for about 30 minutes more to get the battery fully charged.
Pleasedonotchargethebatteryafteritspowerhasbeendepleted,
andpleasechargethebatteryintimewhenlowbatterylevelalarm
is on;
Static storage conditions: The best temperature for battery storage
is -10℃ to 45℃; in case of storage for no use, the battery must be
recharged and discharged once about every 2 months, and then
stored in full voltage state. Please do not put the battery in fire or
heat up the battery, and please do not store the battery in
high-temperature environment;
Charging: The battery must be charged with a dedicated lithium
batterycharger;lithium-ionbatteriescannotbechargedbelow0°C
(32°F) and modifying or replacing the original batteries are strictly
prohibited.
For the extended power supply on top, the current should not
exceed 6.25A and the total power should not exceed 150W;
For the extended power supply at rear end, the current should not
exceed 5A and the total power should not exceed 120W;
When the system detects that the battery voltage is lower than the
safevoltageclass,externalpowersupplyextensionswillbeactively
switched to. Therefore, users are suggested to notice if external
extensions involve the storage of important data and have no
power-off protection.
In case of any doubts during use, please follow related instruction manual or consult related technical personnel;
Before use, pay attention to field condition, and avoid mis-operation that will cause personnel safety problem;
In case of emergencies, press down the emergency stop button and power off the equipment;
Without technical support and permission, please do not personally modify the internal equipment structure.
SCOUT2.0hasplasticpartsinfrontandrear,pleasedonotdirectly
hit those parts with excessive force to avoid possible damages;
When handling and setting up, please do not fall off or place the
vehicle upside down;
For non-professionals, please do not disassemble the vehicle
without permission.
TheoperatingtemperatureofSCOUT2.0is-10℃to45℃;pleasedo
not use it below -10℃ and above 45℃ ;
The requirements for relative humidity in the use environment of
SCOUT 2.0 are: maximum 80%, minimum 30%;
Please do not use it in the environment with corrosive and
flammable gases or closed to combustible substances;
Do not place it near heaters or heating elements such as large
coiled resistors, etc.;
Except for specially customized version (IP protection class
customized), SCOUT 2.0 is not water-proof, thus please do not use
it in rainy, snowy or water-accumulated environment;
The elevation of recommended use environment should not
exceed 1,000m;
Thetemperaturedifferencebetweendayandnightofrecommend-
ed use environment should not exceed 25℃;
Regularly check the tire pressure, and make sure it is within 1.8 bar
to 2.0bar。
Ifanytireisseriouslywornoutorhasblownout,pleasereplaceitin
time.
This section includes some precautions that should be paid attention to for SCOUT 2.0 use and development.
4.1Battery 4.2 Operational environment
4.3 Electrical/extension cords
4.4 Additional safety advice
4.5 Other notes
4 Precautions
26Q: SCOUT 2.0 is started up correctly, but why cannot the RC transmitter control the vehicle body to move?
A:First,checkwhetherthedrivepowersupplyisinnormalcondition,whetherthedrivepowerswitchispresseddownandwhetherE-stop
switches are released; then, check whether the control mode selected with the top left mode selection switch on the RC transmitter is
correct.
Q: SCOUT 2.0 remote control is in normal condition, and the information about chassis status and movement can be received
correctly, but when the control frame protocol is issued, why cannot the vehicle body control mode be switched and the chassis
respond to the control frame protocol?
A: Normally, if SCOUT 2.0 can be controlled by a RC transmitter, it means the chassis movement is under proper control; if the chassis
feedback frame can be accepted, it means CAN extension link is in normal condition. Please check the CAN control frame sent to see
whether the data check is correct and whether the control mode is in command control mode. You can check the status of error flag from
the error bit in the chassis status feedback frame.
Q: SCOUT 2.0 gives a "beep-beep-beep..." sound in operation, how to deal with this problem?
A: If SCOUT 2.0 gives this "beep-beep-beep" sound continuously, it means the battery is in the alarm voltage state. Please charge the
battery in time. Once other related sound occur, there may be internal errors. You can check related error codes via CAN bus or communi-
cate with related technical personnel.
Q:Is the tire wear of SCOUT 2.0 is normally seen in operation?
A: The tire wear of SCOUT 2.0 is normally seen when it is running. As SCOUT 2.0 is based on the four-wheel differential steering design,
sliding friction and rolling friction both occur when the vehicle body rotates. If the floor is not smooth but rough, tire surfaces will be worn
out. In order to reduce or slow down the wear, small-angle turning can be conducted for less turning on a pivot.
Q: When communication is implemented via CAN bus, the chassis feedback command is issued correctly, but why does not the vehicle
respond to the control command?
A: There is a communication protection mechanism inside SCOUT 2.0, which means the chassis is provided with timeout protection when
processingexternalCANcontrolcommands.Supposethevehiclereceivesoneframeofcommunicationprotocol,butitdoesnoreceivethe
next frame of control command after 500ms. In this case, it will enter communication protection mode and set the speed to 0. Therefore,
commands from upper computer must be issued periodically.
5 Q&A
276. Product Dimensions
6.1 Illustration diagram of product external dimensions
28
3496.2 Illustration diagram of top extended support dimensions
29
180
30
18 x M4 - 6H
3.3
30
150 494
650
230 16 fully through
fully throughAgileX Robotics CO., Ltd
TEL:+86-769-22892150
WWW.AGILEX.AI
Email: sales@agilex.aiIdentifikace uložené verze
SHA-256: 44096b11911ed4ac23b78efb9115be9515c1f97b24ee4ca9942915f8591cb07d