No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
Repository Summary
Description | hunter_ros2 package |
Checkout URI | https://github.com/agilexrobotics/hunter_ros2.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2024-10-11 |
Dev Status | UNKNOWN |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
hunter_base | 0.0.0 |
hunter_msgs | 0.0.1 |
README
ROS2 Packages for Hunter Mobile Base
Packages
- hunter_base: a ROS wrapper around Hunter SDK to monitor and control the robot
- hunter_msgs: hunter related message definitions
Communication interface setup
Please refer to the README of “ugv_sdk” package for setup of communication interfaces.
Note on CAN interface on Nvidia Jetson Platforms
Nvidia Jeston TX2/Xavier/XavierNX have CAN controller(s) integrated in the main SOC. If you’re using a dev kit, you need to add a CAN transceiver for proper CAN communication.
Basic usage of the ROS package
-
Clone the packages into your catkin workspace and compile
(the following instructions assume your catkin workspace is at: ~/ros2_ws/src)
$ cd ~/ros2_ws/src
$ git clone https://github.com/agilexrobotics/ugv_sdk.git
$ git clone https://github.com/agilexrobotics/hunter_ros2.git
$ cd ..
$ colcon build
- Setup CAN-To-USB adapter
- Enable gs_usb kernel module(If you have already added this module, you do not need to add it)
$ sudo modprobe gs_usb
- first time use hunter-ros2 package
$ cd ~/your_ws/src/ugv_sdk/scripts/
$ bash setup_can2usb.bash
- if not the first time use hunter-ros2 package(Run this command every time you turn off the power)
$ cd ~/catkin_ws/src/ugv_sdk/scripts/
$ bash bringup_can2usb_500k.bash
- Testing command
# receiving data from can0
$ candump can0
- Launch ROS nodes
- Start the base node for the real robot
$ ros2 launch hunter_base hunter_base.launch.py
- Then you can send command to the robot
$ ros2 topic pub /cmd_vel geometry_msgs/msg/Twist "linear:
x: 0.0
y: 0.0
z: 0.0
angular:
x: 0.0
y: 0.0
z: 0.0"
SAFETY PRECAUSION:
Always have your remote controller ready to take over the control whenever necessary.
CONTRIBUTING
No CONTRIBUTING.md found.
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.