1.0.62 • Published 3 months ago

robotics v1.0.62

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Robotics.dev ROS2 Robot Controller

Connect, Code, and Control ROS robots remotely via peer-to-peer (P2P) connectivity, Teleop remote control, Node.JS and Python SDKs, REST APIs, and VS Code Copilot AI. Deploy your new Robotics.dev P2P apps anywhere (cloud, edge, or on your 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 (18.20.7 tested on Rpi5 and 22.11.0 tested or x86.)
  • ROS2 (Jazzy tested.)

Supports:

  • Raspberry Pi Zero and Zero 2
  • Raspberry Pi 3,4,5
  • 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, add your robotics.dev API token (from the website's API documentation page) to your robot.

robotics set --token=1234...6789

Next, connect your robot to robotics.dev, start your motors, and 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!

Checkout our P2P NodeJS Robotics Develoepr SDK at https://www.npmjs.com/package/robotics-dev.

Checkout our P2P Python Robotics Develoepr SDK at https://pypi.org/project/robotics-dev/.

If you would like to leverage the robotics speak API, install espeak on Linux:

sudo apt install espeak

Robotics CLI Commands:

CommandOptionsResults
robotics helpReturns this list
robotics idReturns robot’s uuid
robotics connect-s 192.168.0.6.3001 (default = robotics.dev )Connects robot to cloud or hub
robotics disconnectDisconnects robot to cloud or hub
robotics set --token=1234...6789 or robotics set --id=1234...6789Sets developer token or robot's id
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 motorsStops ROS2 motor controller
robotics start camera-d /dev/video4 (Realsense RGB) (default device = /dev/video0) -r widthxheight (default resolution = 320x240) -f 15 (fps)Starts 2D camera stream
robotics stop cameraStarts 2D camera stream
robotics statusLists services running
1.0.19

6 months ago

1.0.2

7 months ago

1.0.18

6 months ago

1.0.1

7 months ago

1.0.17

6 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.62

3 months ago

1.0.61

3 months ago

1.0.60

3 months ago

1.0.22

6 months ago

1.0.21

6 months ago

1.0.20

6 months ago

1.0.26

6 months ago

1.0.25

6 months ago

1.0.24

6 months ago

1.0.23

6 months ago

1.0.29

6 months ago

1.0.28

6 months ago

1.0.27

6 months ago

1.0.33

6 months ago

1.0.32

6 months ago

1.0.31

6 months ago

1.0.30

6 months ago

1.0.37

6 months ago

1.0.36

6 months ago

1.0.35

6 months ago

1.0.34

6 months ago

1.0.39

6 months ago

1.0.38

6 months ago

1.0.40

6 months ago

1.0.44

5 months ago

1.0.43

5 months ago

1.0.42

6 months ago

1.0.41

6 months ago

1.0.48

5 months ago

1.0.47

5 months ago

1.0.46

5 months ago

1.0.45

5 months ago

1.0.49

5 months ago

1.0.51

5 months ago

1.0.50

5 months ago

1.0.55

4 months ago

1.0.11

7 months ago

1.0.54

5 months ago

1.0.10

7 months ago

1.0.53

5 months ago

1.0.52

5 months ago

1.0.59

3 months ago

1.0.15

6 months ago

1.0.58

3 months ago

1.0.14

6 months ago

1.0.57

4 months ago

1.0.13

6 months ago

1.0.56

4 months ago

1.0.12

7 months ago

1.0.0

12 months ago