Commit b70424ff authored by ttwards's avatar ttwards
Browse files

Merge branch 'master' of https://github.com/ttwards/motor

parents 500a5675 d54cb988
Loading
Loading
Loading
Loading

README.md

0 → 100644
+48 −0
Original line number Diff line number Diff line
# Zephyr RTOS电机驱动
## 该项目希望以设备树形式描述机器人
### 最终的效果将如example.dts所示
目前我们仅完成了RM M3508电机的驱动
## TODO List
- 完成RM M3508,M2006电机驱动 
- 完成小米,达喵电机驱动
- 完成运动解算设备
- ......
#### 目前想法还并不是很成熟,球球大佬建议
## 如何在我的开发板上运行?(以Robomaster Developement Board C为例)
### Initialization

The first step is to initialize the workspace folder (``my-workspace``) where
the ``example-application`` and all Zephyr modules will be cloned. Run the following
command:

```shell
# initialize my-workspace for the example-application (main branch)
west init -m https://github.com/ttwards/motor --mr master my-workspace
# update Zephyr modules
cd my-workspace
west update
```
### Building and running

To build the application, run the following command:

```shell
cd motor
west build -b $BOARD motor
```

where `$BOARD` is the target board. Here you can use `robomaster_board_c`

A sample debug configuration is also provided. To apply it, run the following
command:

```shell
west build -b $BOARD blinky -- -DOVERLAY_CONFIG=debug.conf
```

Once you have built the application, run the following command to flash it:

```shell
west flash
```
If everything goes well, the LED on the board should be blinking

README.md.eng

0 → 100644
+5 −0
Original line number Diff line number Diff line
# Motor Drivers for Zephyr RTOS
### I am totally against Linus's dictatorial behaviour of wiping out the Linux Maintainer on 10.23 on the basis of nationality.
## This a project supported by various members in SUSTech ARES the robot club.
### We are attempting to describe the robot in a device tree model.
### This helps cut down costs processing the relationships between chassis, motor or so.