Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc update and related updates #89

Merged
merged 3 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ If you are using WebRTC (Wi-Fi) protocol, close the connection with a mobile app
6. Go2 topics info in real time :white_check_mark:
7. Foot force sensors info in real time :white_check_mark:
8. Lidar stream (added pointCloud2) :white_check_mark:
9. Camera stream (Currently is not working with a new Firmware update)
9. Camera stream :white_check_mark:
10. Foxglove bridge :white_check_mark:
11. Laser Scan :white_check_mark:
12. Multi robot support :white_check_mark:
13. WebRTC and CycloneDDS support :white_check_mark:
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)
Loading