Skip to content

Commit

Permalink
Merge pull request #89 from abizovnuralem/small_updates
Browse files Browse the repository at this point in the history
Doc update and related updates
  • Loading branch information
abizovnuralem authored Sep 29, 2024
2 parents 235c737 + f3b9065 commit 8427ac2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ If you are using WebRTC (Wi-Fi) protocol, close the connection with a mobile app
14. Creating a PointCloud map and store it :white_check_mark:
15. SLAM (slam_toolbox) :white_check_mark:
16. Navigation (nav2) :white_check_mark:
17. Object detection
17. Object detection (coco) :white_check_mark:
18. AutoPilot

## Your feedback and support mean the world to us.
Expand Down Expand Up @@ -91,17 +91,6 @@ cd ..
```
Pay attention to any error messages. If `pip install` does not complete cleanly, various features will not work. For example, `open3d` does not yet support `python3.12` and therefore you will need to set up a 3.11 `venv` first etc.

Install `rust` language support following these [instructions](https://www.rust-lang.org/tools/install). Then, install version 1.79 of `cargo`, the `rust` package manager.
```shell
rustup install 1.79.0
rustup default 1.79.0
```

`cargo` should now be available in the terminal:
```shell
cargo --version
```

Build `go2_ros_sdk`. You need to have `ros2` and `rosdep` installed. If you do not, follow these [instructions](https://docs.ros.org/en/humble/Installation.html). Then:
```shell
source /opt/ros/$ROS_DISTRO/setup.bash
Expand Down
2 changes: 1 addition & 1 deletion coco_detector/coco_detector/coco_detector_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self):
self.get_parameter('detection_threshold').get_parameter_value().double_value
self.subscription = self.create_subscription(
Image,
"/go2_camera/color/image",
"/camera/image_raw",
self.listener_callback,
10)
self.detected_objects_publisher = \
Expand Down
11 changes: 8 additions & 3 deletions go2_robot_sdk/go2_robot_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
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))
if os.path.exists(os.path.join(libs_path, 'aioice','__init__.py')):
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))
else:
logger.error("aioice submodule is not initalized. please init submodules recursively")
exit(-1)

0 comments on commit 8427ac2

Please sign in to comment.