2023-12-27 21:18:53 +08:00

31 lines
628 B
Markdown

# README.md
### Notice
support motor: GO-M8010-6 motor、A1 motor、 B1 motor
gcc >= 5.4.0 (for x86 platform)
gcc >= 7.5.0 (for Arm platform)
run gcc --version command to check your gcc version
### Build
```bash
mkdir build
cd build
cmake ..
make
```
### Run
If the compilation is successful, many C++ example executable files will be generated in the build folder. Then run the examples with 'sudo', for example:
```bash
sudo ./example_a1_motor
```
If you need to run the Python example, please enter the "python" folder. Then run the examples with 'sudo', for example:
```python
sudo python3 example_a1_motor.py
```