Skip to content

Commit

Permalink
ff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArendJan committed Nov 28, 2024
1 parent 88af5cf commit 41a1167
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 86 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ros-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ permissions:
jobs:
build_testing:
runs-on: self-hosted
fail-fast: false
# container:
# image: ubuntu:22.04
strategy:
fail-fast: false
matrix:
ros_distro: [humble]
deb_distro: [jammy]
Expand Down
183 changes: 98 additions & 85 deletions mirte_telemetrix_cpp/config/mirte_user_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,94 +7,107 @@
version: 0.8
board: pico
max_frequency: 50
distance:
left:
name: left
modules:
servo_controller:
device: mirte
type: Hiwonder_Servo
pins:
trigger: GP9
echo: GP8
right:
name: right
device: mirte
pins:
trigger: GP7
echo: GP6
rx: 0
tx: 1
servos:
servoH1:
id: 5
min_angle: 9000
max_angle: 14000
motor_mode: true
# distance:
# left:
# name: left
# device: mirte
# pins:
# trigger: GP9
# echo: GP8
# right:
# name: right
# device: mirte
# pins:
# trigger: GP7
# echo: GP6

intensity:
left:
name: left
device: mirte
pins:
analog: GP27
digital: GP17
right:
name: right
device: mirte
pins:
analog: GP26
digital: GP16
oled:
left:
name: left
device: mirte
pins:
sda: GP10
scl: GP11
right:
name: right
device: mirte
pins:
sda: GP4
scl: GP5
servo:
left:
name: left
device: mirte
pins:
pin: GP14
right:
name: right
device: mirte
pins:
pin: GP15
# These servo's have the same pins as the ObjectDetectors. So as
# soon as they are implemented, these should be commented out
gripper:
name: gripper
device: mirte
pins:
pin: GP12
arm:
name: arm
device: mirte
pins:
pin: GP13
keypad:
yellow:
name: yellow
device: mirte
pins:
pin: GP28
motor:
left:
name: left
device: mirte
type: pp
pins:
p1: GP18
p2: GP19
right:
name: right
device: mirte
type: pp
pins:
p1: GP20
p2: GP21
oled:
oled:
device: mirte
connector: I2C1
# intensity:
# left:
# name: left
# device: mirte
# pins:
# analog: GP27
# digital: GP17
# right:
# name: right
# device: mirte
# pins:
# analog: GP26
# digital: GP16
# oled:
# left:
# name: left
# device: mirte
# pins:
# sda: GP10
# scl: GP11
# right:
# name: right
# device: mirte
# pins:
# sda: GP4
# scl: GP5
# servo:
# left:
# name: left
# device: mirte
# pins:
# pin: GP14
# right:
# name: right
# device: mirte
# pins:
# pin: GP15
# # These servo's have the same pins as the ObjectDetectors. So as
# # soon as they are implemented, these should be commented out
# gripper:
# name: gripper
# device: mirte
# pins:
# pin: GP12
# arm:
# name: arm
# device: mirte
# pins:
# pin: GP13
# keypad:
# yellow:
# name: yellow
# device: mirte
# pins:
# pin: GP28
# motor:
# left:
# name: left
# device: mirte
# type: pp
# pins:
# p1: GP18
# p2: GP19
# right:
# name: right
# device: mirte
# type: pp
# pins:
# p1: GP20
# p2: GP21
# oled:
# oled:
# device: mirte
# connector: I2C1
# encoder:
# left:
# name: left
Expand Down

0 comments on commit 41a1167

Please sign in to comment.