Skip to content

Commit

Permalink
add config for f16 (#242)
Browse files Browse the repository at this point in the history
add the config for the robot f16.
  • Loading branch information
Johannes-Thiel authored Nov 29, 2024
1 parent e5094d0 commit 2e566f2
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/f16_config_rb43/camera.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
configuration = {
'parameters': {
'width': 1920,
'height': 1080,
'auto_exposure': True,
},
}
66 changes: 66 additions & 0 deletions config/f16_config_rb43/hardware.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
configuration = {
'wheels': {
'version': 'double_wheels',
'name': 'wheels',
'left_back_can_address': 0x100,
'left_front_can_address': 0x000,
'right_back_can_address': 0x300,
'right_front_can_address': 0x200,
'is_left_reversed': True,
'is_right_reversed': False,
'odrive_version': 6,
},
'y_axis': {
'version': 'none',
},
'flashlight': {
'version': 'none',
},

'z_axis': {
'version': 'none',
},
'estop': {
'name': 'estop',
'pins': {'1': 34, '2': 35},
},
'bms': {
'name': 'bms',
'on_expander': True,
'rx_pin': 26,
'tx_pin': 27,
'baud': 9600,
'num': 2,
},
'battery_control': {
'name': 'battery_control',
'on_expander': True,
'reset_pin': 15,
'status_pin': 13,
},
'status_control': {
'name': 'status_control',
},
'bluetooth': {
'name': 'fieldfriend-f16',
},
'serial': {
'name': 'serial',
'rx_pin': 26,
'tx_pin': 27,
'baud': 115200,
'num': 1,
},
'expander': {
'name': 'p0',
'boot': 25,
'enable': 14,
},
'can': {
'name': 'can',
'on_expander': False,
'rx_pin': 32,
'tx_pin': 33,
'baud': 1_000_000,
},
}
11 changes: 11 additions & 0 deletions config/f16_config_rb43/params.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
configuration = {
'motor_gear_ratio': 12.52,
'thooth_count': 15,
'pitch': 0.033,
'wheel_distance': 0.74,
'antenna_offset': 0.35,
'work_x': -0.06933333,
'work_y': 0.0094166667,
'drill_radius': 0.025,
'tool': 'none',
}
4 changes: 4 additions & 0 deletions config/f16_config_rb43/robotbrain.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
configuration = {'robot_brain': {
'flash_params': ['nand', 'orin', 'v05']
},
}

0 comments on commit 2e566f2

Please sign in to comment.