Welcome to Transbot SE repository
3.3.Install Transbot library
Install Transbot SE driver library
Install Transbot SE driver library1. Declaration before installing the driver library2. Download the Python driver library file3. Transfer files3.1jetson start installation3.2 Raspberry Pi 5start installation4. Check version6. Basic usage of driver library
1. Declaration before installing the driver library
Transbot SE factory image system has already installed the latest driver library, so there is no need to install it again. You only need to install the driver library if you are not using the factory image or if the driver library has updated content.
The driver library storage path that comes with the factory system: ~/Transbot/py_install
Please refer to the following steps for how to install the driver library. Here, the installation of V3.1.0 version is taken as an example.
2. Download the Python driver library file
We have provided Transbot SE Python library -- py_install.zip.

Or you can download this file on our website, [Download]--[Transbot SE Library].
3. Transfer files
3.1jetson
You can transfer file into Jetson NANO system by WinSCP software. This software download link: https://winscp.en.softonic.com/

start installation
Open the terminal of Jetson Nano and enter the following command to decompress it.
Enter the desktop and check whether the file exists. The target file is in the red box.
cd ~/Desktop && lsunzip files
xxxxxxxxxxunzip py_install.zip
Note: The entire documentation routine uses the py_install.zip compressed package placed on the desktop of the Jetson Nano system as an example. If you store the compressed package in a different path, please enter the corresponding directory according to the actual path to operate.
Go to the folder of the driver library
xxxxxxxxxxcd py_installRun the installation command. If you see the installation version number prompted at the end, the installation is successful. This command will overwrite the previously installed Transbot_Lib driver library.
xxxxxxxxxxsudo python3 setup.py install
3.2 Raspberry Pi 5
You can transfer file into Jetson NANO system by WinSCP software. This software download link: https://winscp.en.softonic.com/

start installation
Open the Raspberry Pi terminal, check whether the file exists, and move the driver library to the Raspberry Pi's temp directory
xxxxxxxxxxls
xxxxxxxxxxmv py_install.zip temp/

Enter docker
Note: If you have a terminal that automatically starts docker, you can directly enter the temp directory in docker to view it. There is no need to manually start docker
Start docker manually
xxxxxxxxxx./run_docker.sh
Enter the temp directory to see if the file exists
xxxxxxxxxxcd
xxxxxxxxxxcd temp/ && ls

Unzip driver files
xxxxxxxxxxunzip py_install.zip

Note: The entire documentation routine uses the py_install.zip compressed package on Raspberry Pi 5 as an example. If you store the compressed package in a different path, please enter the corresponding directory according to the actual path to operate.
Go to folder
xxxxxxxxxxcd py_install
Run the installation command. If you see the installation version number prompted at the end, the installation is successful. This command will overwrite the previously installed Transbot_Lib driver library.
xxxxxxxxxxpython3 setup.py install


4. Check version
Enter the following command in the terminal to check the version number of Transbot-Lib. If you see that the version number is the same as the one prompted above, it is enough.
xxxxxxxxxxpip3 list | grep Transbot
Note: The name of the Transbot SE driver library is Transbot_Lib, but the name found in the python pip list is Transbot-Lib. This does not affect the actual use. Transbot_Lib is still used to import the library in the program.
xxxxxxxxxxfrom Transbot_Lib import Transbot6. Basic usage of driver library
Source code path: Transbot/Samples/1.test_transbot.ipynb