1
0
Fork 0

markdown cleanup

This commit is contained in:
Kevin Matz 2019-07-30 14:50:56 -04:00
parent a506e6b815
commit b4efec3fc2
1 changed files with 22 additions and 16 deletions

View File

@ -23,6 +23,7 @@ Whilst an expansive scope, the principal development and implementation happened
## Hardware Components
| part | cost |
|-|-|
| [Arduino Uno](https://store.arduino.cc/usa/arduino-uno-rev3/) | $22 |
@ -35,30 +36,35 @@ This BOM is one possible configuration. Substitute parts are available, and any
## Activities
* Control the arm interactively.
```
> ./armCtl.py
command# go jib 90
command# wait
command# go home
```
* Script a simple sequence of moves.
```bash
# my_script.txt
go jib 90
wait
go home
> ./armCtl.py my_script.txt
```
```bash
# my_script.txt
go jib 90
wait
go home
> ./armCtl.py my_script.txt
```
* Write a Python3 script for complex movements.
```python
#!/usr/bin/env python3
import armCtl
command(text)
```python
#!/usr/bin/env python3
import armCtl
r.target = [90,120,10,95,90,90]
r.move()
while r.isMoving():
print(r.angle)
```
command(text)
r.target = [90,120,10,95,90,90]
r.move()
while r.isMoving():
print(r.angle)
```