-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from abizovnuralem/camera_for_v111
feat: Camera images from v1.1.1 firmware
- Loading branch information
Showing
10 changed files
with
110 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[submodule "go2_video"] | ||
path = go2_video | ||
url = https://github.com/tfoldi/ros2_go2_video | ||
[submodule "go2_robot_sdk/external_lib/aioice"] | ||
path = go2_robot_sdk/external_lib/aioice | ||
url = https://github.com/legion1581/aioice.git | ||
branch = go2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
image_width: 1920 | ||
image_height: 1080 | ||
camera_name: front_camera | ||
camera_matrix: | ||
rows: 3 | ||
cols: 3 | ||
data: [1310.77826, 0. , 1018.71143, | ||
1. , 1320.25059, 637.37672, | ||
1., 0. , 1. ] | ||
distortion_model: plumb_bob | ||
distortion_coefficients: | ||
rows: 1 | ||
cols: 5 | ||
data: [-0.415971, 0.158898, -0.015395, -0.008031, 0.000000] | ||
rectification_matrix: | ||
rows: 3 | ||
cols: 3 | ||
data: [1., 0., 0., | ||
0., 1., 0., | ||
0., 0., 1.] | ||
projection_matrix: | ||
rows: 3 | ||
cols: 4 | ||
data: [992.26007, 0. , 996.08995, 0. , | ||
1., 1221.72864, 639.55771, 0. , | ||
1., 0. , 1. , 0. ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import sys | ||
import os | ||
import logging | ||
from ament_index_python import get_package_share_directory | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
libs_path = os.path.join( | ||
get_package_share_directory('go2_robot_sdk'), | ||
'external_lib' | ||
) | ||
sys.path.insert(0, os.path.join(libs_path, 'aioice')) | ||
sys.path.insert(0, os.path.join(libs_path)) | ||
|
||
logger.info('Patched aioice added to sys.path: {}'.format(sys.path)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule go2_video
deleted from
794d70