Skip to content

Quick Start

After assembling the kit and burning the system, it's time to start OriginBot.

Power-on start

(1)Turn on the main power switch, the power light of the expansion board is lit, and the power indicator of RDK X3 (Sunrise X3 pi) is lit

image-20220902154832754

(2)The lidar starts to rotate (if connected)

(3)Wait for 5~10s for the start to be successful

Info

The RDKX3 released after 2.x has both lights on at the same time after powering on.

Remote connection

(1) Start the SSH software and log in to OriginBot remotely

Info

If you are in an Ubuntu environment on the PC side, you can also use the following command in the terminal to implement ssh remote login (note to change the IP address to the actual address; if you are using a virtual machine, you need to set the network to bridge mode): ssh root@192.168.31.246

image-20220902155122903

(2)Enter the username and password: root(username),root(password)

(3)Remote login is successful

image-20220902155325842

Example run

Let's start with the example of running a robot remote control to familiarize ourselves with the basic operation of the robot.

After the SSH connection is successful, enter the following command to start the robot chassis drive:

$ ros2 launch originbot_bringup originbot.launch.py
Hint

After successful startup, the buzzer of the robot controller can be heard for 0.5 seconds.

image-20220902155741884

Start another SSH remote terminal and run the following command to start the keyboard control node:

$ ros2 run teleop_twist_keyboard teleop_twist_keyboard

image-20220902160009166

According to the prompts in the terminal, you can control the movement of the robot forward, backward, left and right, or you can refer to the prompts to dynamically adjust the movement speed of the robot.

2995580f9fc5123d2cdab7dc9b225fc

Hint

If the robot starts the automatic parking function, the robot will automatically stop after releasing the button for 0.5 seconds, and if the automatic parking function is turned off (default), the robot will not automatically stop after releasing the button, and must click "k" to control the parking.

Power off and shut down

If you need to shut down the robot, you can enter the following command in the terminal to close the software system:

$ halt

After waiting for about 5 seconds, you can turn off the power switch on the robot controller, and the robot shutdown is completed.

Attention

Turning off the power switch directly can also turn off the power and shut down, but it is possible to damage the files that the software system is reading and writing, causing unexpected problems with the system.

At this point, we have preliminarily started OriginBot, and we can refer to “Basic Use” and “Application Functions” to continue in-depth development.

图片1