tag identification

Quick use

1. Power on DOGZILLA

First, we turn on the switching power supply of the mechanical dog and start the mechanical dog

WechatIMG125

After starting, we can view the IP address on the small screen of the robot dog.

2. Start DOGZILLA chassis

PI4 version steps:

Then use the ssh terminal to connect to the robot dog.

Note: The IP address used when writing this tutorial: 192.168.2.102 User name: pi Password: yahboom The actual IP address shall prevail when used.

Open the shell tool. The shell tool I use here is FinalShell. Enter username, password, port, connection name and other information.

image-20230428175429331

Select ssh connection to create a new ssh connection

image-20230428180010378

Here the username is pi, the password is yahboom, and the ip address is the IP address of the real robot dog.

image-20230428180238626

Select the ssh connection you just created here.

image-20230428180624535

Enter the command in the terminal to start the chassis task.

image-20230807121812728

PI5 version steps:

After the mechanical dog is started, use the vnc software to remotely connect to the mechanical dog through the IP address on the OLED (For specific steps, please see "Remote Login Operation").

image-20240428181518347

Then ctrl+c closes the large program and enter the following command to enter docker:

image-20240428181812147

Then enter the following commands in the docker terminal to start the car radar, imu, and mechanical dog joint status nodes.

image-20240429143124703

3. Start the image publishing node

PI4 version steps:

First enter two commands in the terminal

Then enter the following command in the terminal

image-20230616102544926

Then enter the following command

image-20230712142254890

Reopen a terminal and enter the command:

image-20230712145425475

PI5 version steps:

Enter in the root directory of the Raspberry Pi and enter the same terminal

image-20240429182907065

Then enter the following command

image-20240429183523085

Reopen the same docker terminal and enter the command:

image-20240429183656980

5. Set the recognition color through the web interface

The steps are the same for PI4 and PI5 versions:

Open the virtual machine and enter the user name yahboom and the password yahboom.

image-20230423142903590

Click on the folder to open the cartoros2 folder.

image-20230423144528828

image-20230423145127514

Open the terminal under the folder

image-20230423145325137

Then enter the following command

image-20230423150152571

Then start rosbridge and enter the following command

image-20230616104339252

Find the blank.html file in the eb folder in the updated directory of this tutorial and open it with Google Chrome.

Note: The IP address of rosbridge needs to be set here. Obtain the IP address of the virtual machine, then open the blank.html file, modify the IP address of line 363 and save it, as shown in the figure below.

image-20230712152944629

 

image-20230712150807839

image-20230712153009658

 

As shown in the picture below, use your mobile phone to display a QR code. Here is the WeChat QR code. You can see the picture transmitted by the camera and the recognized QR code data.

image-20230712142813758-1689143885721

 

You can see the printed QR code data in the finalshell terminal, where (center_x, center_y) is the center position of the QR code, (point1_x, point1_y), (point2_x, point2_y), (point3_x, point3_y), (point4_x ,point4_y) are the four fixed point coordinates of the QR code.

image-20230712152317712