roboticsascode

View project on GitHub

RoboticsAsCode

Robotics as Code (RaC) is using source code to manage and deploy code and configurations to robots.

These are the ideals of RaC:

  • ROS nodes should be placed in Docker containers.
  • Docker containers should be managed by Ansible preferably as Roles.
  • Ansible configures settings such as networking

Links

Examples of RaC implementations

Notes

Example of a catkin workspace in docker

https://github.com/frankjoshua/docker-ros-bridge-suite

Demo of ROS in Jupyter Notebook

https://github.com/frankjoshua/demo-ros-cmdvel-jupyter

Example:

Add roles to requirements.yml

- src: https://github.com/frankjoshua/ansible-role-ros-master.git
- src: https://github.com/frankjoshua/ansible-role-ros-adafruitmotorhat.git

Install with ansible galaxy

ansible-galaxy install -r ./ansible/requirements.yml

Then you can use as normal ansible roles

  roles:
    - role: ansible-role-ros-master
    - role: ansible-role-ros-adafruitmotorhat

#

###

Follow me @frankjoshua77