Skip to content

ROS Melodic docker image with PyRIDE Message Bridge and ROS Bridge for Web built-in

License

Notifications You must be signed in to change notification settings

CBAInnovationLab/docker-ros-melodic-web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROS Melodic docker image with PyRIDE Message Bridge and ROS Bridge for Web built-in

How to build the docker images

  • run docker build -t docker-ros-melodic-web .

How to use the image

  • run docker run --rm -it -p 11311:11311 -p 9090:9090 docker-ros-melodic-web to start the built-in processes and a terminal.

  • start Python in the terminal, do

>>> import PyConnect
>>> PyConnect.discover()
>>> bridge = PyConnect.PyRIDEMsgBridge
>>> bridge.sendMessageToNode('joyride_foreground', '{"type": "img", "value": "art/innovation-lab-logo.png"}') # for example
  • you can also attach a new shell with docker exec -it <container name> bash

NOTE: The chip-monitor should set ROSBRIDGE_URI to ws://localhost:9090 in its webpack.config.js.

About

ROS Melodic docker image with PyRIDE Message Bridge and ROS Bridge for Web built-in

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 55.6%
  • Shell 44.4%