New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/3drx/webrtc-ros-bridge

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/3drx/webrtc-ros-bridge

  • v0.0.2
  • Source
  • Go
  • Socket score

Version published
Created
Source

webrtc-ros-bridge

Tests

Prerequisites

  • ROS2 humble, merge installed (tested on debian 12 with ROS2 humble build from source with command colcon build --merge-install)
  • libvpx-dev (deb package)
  • go mod tidy to get all go deps
    • Note that it's expected to see errors of not finding package github.com/3DRX/webrtc-ros-bridge/rclgo_gen, since it's part of the codegen using github.com/tiiuae/rclgo, you can just ignore it.

Build

Source your ros2 workspace setup.sh, and then

make

Dev

For editor use, it's better to source ./cgo-flags.env before opening editor for language server to work.

Run

wrb cli can be configured to be either the sender or the receiver, the config is load from a json file specified by wrb <path_to.json>.

[!IMPORTANT]
Don't forget to remove comments in json.

Sender

{
    "mode": "sender",
    "addr": "localhost:8080",
    "topics": [
        {
            "name_in": "image_raw", // input image topic name
            "name_out": "image_out", // doesn't really matter
            "type": "sensor_msgs/msg/Image"
        }
    ]
}

Receiver

{
    "mode": "receiver",
    "addr": "localhost:8080",
    "topics": [
        {
            "name_in": "image_raw", // doesn't really matter
            "name_out": "image", // output image topic name
            "type": "sensor_msgs/msg/Image"
        }
    ]
}

Acknowledgment

  • pion. It's awesome.
  • webrtc_ros. Infact, the receiver of this project is compatable with webrtc_ros server node.
  • ros2
  • tiiuae/rclgo. The ROS client library for golang.

FAQs

Package last updated on 13 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc