Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ifurusato/kros-core

KROS Core provides the core functionality of a K-Series Robot Operating System (KROS), a Raspberry Pi based robot written in Python 3.
https://github.com/ifurusato/kros-core

python3 robot-framework robotics robotics-programming robots

Last synced: about 1 month ago
JSON representation

KROS Core provides the core functionality of a K-Series Robot Operating System (KROS), a Raspberry Pi based robot written in Python 3.

Awesome Lists containing this project

README

        

-----------------------------------------
README - Microcontrollers on the KR01
-----------------------------------------

The KR01 currently hosts two microcontrollers:

1. an ESP32-based TinyPICO used as an external clock, and,

mounted at: /dev/ttyUSB0
open with: rshell -p /dev/ttyUSB0
script installed: ./main_ext_clock_esp32.py

2. an Itsy Bitsy RP2040, handling the three front bumpers, the mast,
back port and starboard digital infrared sensors. This communicates
over UART to Tx/Rx on the Pi.

mounted at: /dev/ttyACM0
open with: rshell -p /dev/ttyACM0
script installed: ./main_hihp_rp2040.py
libraries at: ./upy/

3. a second RP2040, this time a QT Py RP2040 as an external clock
as an alternative to the TinyPICO.

mounted at: /dev/ttyACM1
open with: rshell -p /dev/ttyACM1 --buffer-size=32 --baud=115200
script installed: ./main_qtpy_rp2040.py

4. if a Pyboard is connected it shows up as:

mounted at: /dev/ttyACM0
open with: rshell -p /dev/ttyACM0
installed at: /pyboard/flash
or: /pyboard/flash

Note that on your own computer the actual tty used may differ.

To connect to the microcontroller, use rshell with the board's port as an argument.

When in rshell, the executable script can be found at: /pyboard/main.py

The 'edit' command will by default open vim.

Timeouts in rshell
------------------

If you have trouble copying files due to a timeout, use the following
command arguments:
```
rshell -p /dev/ttyXXXX --buffer-size=32 --baud=115200
```

NeoPixel Support
----------------

A NeoPixel support library in MicroPython on the RP2040 may be found at:

https://github.com/blaz-r/pi_pico_neopixel

The neopixel.py file should be copied to /pyboard/ on the microcontroller.

#EOF