Skip to content

Commit

Permalink
Merge pull request #5 from Flova/main
Browse files Browse the repository at this point in the history
Redirect users to the ROS-Sports repo
  • Loading branch information
jgueldenstein authored Jan 3, 2023
2 parents e88c80e + 14d4ea8 commit 1a8591b
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 969 deletions.
45 changes: 2 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,3 @@
# v-hsc-ros-bridge
# IMPORTANT

## Introduction
This repository provides a ROS package named `ros_bridge` that can be used to communicate with the Webots server while using the Player/Client API.

It requests and receives sensor data (specified in the `src/ros_bridge/resources/devices.json`) over specific topics and subscribes to actuator command messages(only position control available at the moment). Node `webots_controller` is responsible for these operations.

This node is currently available only for ROS 2.

## Usage

Clone the repository:

`git clone https://github.com/robocup-hl-tc/v-hsc-ros-bridge.git`

To access to the ROS2 commands in a bash, source ROS with this command:

`source /opt/ros/$ROS_DISTRO/setup.bash`

(replace $ROS_DISTRO with your ROS distribution, e.g. foxy)

Move to the repository:

`cd v-hsc-ros-bridge`

You can install the dependencies using:

`rosdep install -i --from-path src --rosdistro foxy -y`

build the package with this command:

`colcon build`

In the root of the repository, source your overlay using:

`. install/local_setup.bash`

Run the node using this command:

`ros2 run ros_bridge webots_controller --ros-args -p host:="127.0.0.1" -p port:=10001`

(you can replace host and port with your preferred ones)

Done, now you can access sensor data and publish commands to be performed on the robot.
This repository moved to https://github.com/ros-sports/hlvs_player!
62 changes: 0 additions & 62 deletions src/ros_bridge/CMakeLists.txt

This file was deleted.

110 changes: 0 additions & 110 deletions src/ros_bridge/include/ros_bridge/robot_client/robot_client.hpp

This file was deleted.

125 changes: 0 additions & 125 deletions src/ros_bridge/misc/messages.proto

This file was deleted.

Loading

0 comments on commit 1a8591b

Please sign in to comment.