npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

robotics

v1.0.42

Published

Robotics.dev ROS2 robot controller and video + telemetry streaming

Downloads

1,814

Readme

Robotics.dev ROS2 Robot Controller

Communicate with and control your AI-powered ROS2 robots remotely (via cloud and edge). Stream your robot's camera video and ROS2 telemetry to AI algorithms running elsewhere which in turn evaluate and send ROS2 communications back to the robot accordingly. Our goal is to create a simple yet powerful robotics developer platform where robots running on the edge do not require much computing power while making it easier for developers to build and interact with their robots.

Developer REST API documentation available at https://robotics.dev.

Requirements:

  • Ubuntu (24.04 tested. It may also work on Ubuntu 22 and/or Raspberry OS)
  • NodeJS (22.11.0 tested.)
  • ROS2 (Jazzy tested.)

Supports:

  • Raspberry Pi 3,4,5
  • Raspberry Pi Zero and Zero 2
  • Radxa X2L and X4 (via firmata)
  • Latte Panda (via firmata)
  • Any Arduino device (via firmata) attached to Intel NUC or NVidia Jetson

You need to start by giving your username (i.e. ubuntu) access to your micro controller serial ports by running the following command and rebooting:

sudo usermod -a -G dialout ubuntu
sudo reboot  

Next, install robotics NPM module globally, get your robot's ID, and add your robot to your https://robotics.dev account.

npm install -g robotics
robotics id

Note: Your robot's ID is stored in ~/.config/configstore/robotics.json

Next, connect your robot to robotics.dev, start your motors, start your camera!

robotics connect/disconnect
robotics start/stop motors
robotics start/stop camera

Your robot is now online. You can teleop remote control it from our Web site, control it with WebSocket and REST APIs, and even write AI apps to sense and control your robot from other non-ROS machines and/or LLMs in the cloud!

Robotics CLI Commands:

| Command | Options | Results | |-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------| | robotics help | | Returns this list | | robotics id | | Returns robot’s uuid | | robotics connect | -s 192.168.0.6.3001 (default = robotics.dev ) | Connects robot to cloud or hub | | robotics disconnect | | Disconnects robot to cloud or hub | | robotics start motors | —b rpi (DEFAULT) or -b firmata (Radxa, LattePanda) -p 27,22,17,18 (left to right motor pins) -e 13,2,12,11 (left to right motor encoder pins) -d /dev/ttyACM0 (overrides default device id for radxa and lattepanda) | Starts ROS2 motor controller | | robotics stop motors | | Stops ROS2 motor controller | | robotics start camera | -d /dev/video4 (Realsense RGB) (default = /dev/video0) | Starts 2D camera stream | | robotics stop camera | | Starts 2D camera stream | | robotics status | | Lists services running |