Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

ros (8) Versions 0.3.0

Installs/Configures ros

Policyfile
Berkshelf
Knife
cookbook 'ros', '~> 0.3.0', :supermarket
cookbook 'ros', '~> 0.3.0'
knife supermarket install ros
knife supermarket download ros
README
Dependencies
Quality 33%

ros

Build Status
Cookbook Version
License

This cookbook installs ROS.

Supported Platforms

  • Ubuntu 14.04

Usage

Include ros in your cookbooks metadata file, and make use of the ros provider:

Resources

ros

The ros resource installs a named version of ROS.

Attributes

  • release - Name of release to install. Default: Name of Resource Instance
  • config - Supported values are desktop-full, desktop, ros-base, and ros-core. Default: ros-base
  • apt_uri - URI to apt repository for ROS Debian/Ubuntu packages. Default: 'http://packages.ros.org/ros/ubuntu'
  • apt_components - Array of apt repo components. Default: ['main']
  • apt_key - URI to repository signing key. Default: 'https://raw.githubusercontent.com/ros/rosdistro/master/ros.key'
  • sys_profile - Boolean to create symlink of setup.sh into /etc/profile.d - Default: true

Actions

  • :install - Default Action
  • :remove

Usage

ros 'indigo' do
  config 'ros-desktop'
  action [:install, :upgrade]
end

catkin

The catkin resource is responsible for creating a catkin workspace. This resource must currently be called prior to using catkin_package.

Attributes

  • user - Owner of catkin workspace. Default: node['current_user']
  • release - Required option to define which version of ROS to bind the workspace.
  • workspace - Path of workspace you wish to create. Default: Name of Resource Instance
  • workspace_src_dir - Path of src directory in the workspace. _Default:"#{workspace}/src"`_
  • ros_path - This is the path to where ros is installed. Default: /opt/ros/#{release}
  • ros_cmd - Path to env.sh script. This is used to ensure commands are envoked with the correct environment settings. The default is typically the install directory in the workspace, however if the install directory is not present it will use the env.sh in the ros_path.

Actions

  • :create - Default Action
  • :remove
Usage
catkin_package 'roslint' do
  source_uri 'https://github.com/ros/roslint'
end

catkin_package

The catkin_package resouce allows you to idempotently build and install catkin packages from git sources.

Attributes

  • source_uri - URI to Git repository. Default: Name of Resource Instance
  • revision - Git tag, branch, or revision to checkout. Default: "#{release}-devel"

Actions

  • :install - Default Action
Usage

Installing a package from a flat repository:
ruby
catkin_package 'roslint' do
source_uri 'https://github.com/ros/roslint'
revision 'master'
end

Installing a package from a nested directory sturcture:
ruby
catkin_package 'rosserial_arduino' do
source_uri 'https://github.com/ros-drivers/rosserial.git'
end

ros_service

The ros_service resource utilizes supervisord to manage roscore and nodes as
system services, and creates the appropriate supervisord configuration.

Attributes

  • service_name - Name of node, driver, or service you wish to have autostart. Default: Name of Resource Instance
  • options - String of arguments passed to node or driver. Default: NilClass

Actions

  • enable - Default Action
  • disable
  • start
  • stop
  • restart
  • reload
Usage

Managing roscore:
ruby
ros_service 'roscore'

Starting a driver:
ruby
ros_service 'xv_11_laser_driver' do
options 'neato_laser_publisher _port:=/dev/ttyUSB0'
end

Sponsors

Hosting sponsorship is provided by supporters like you. We use DigitalOcean
and your support by signing up with the following reference code you will get
$10 in free credit, and the first $25 of your usages are graciously contributed
to compute time for this project. We appreciate your support!

https://www.digitalocean.com/?refcode=775b6507a7eb

License and Authors

Author:: Ryan Hass (ryan@invalidchecksum.net)

Copyright (c) 2015, Ryan Hass

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

apt >= 2.6.1
poise ~> 2.2.3
locale >= 0.0.0
build-essential >= 0.0.0
supervisor >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.3.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.3.0 failed this metric

FC122: Use the build_essential resource instead of the recipe: ros/libraries/catkin.rb:55
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.3.0 passed this metric

Testing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.3.0 passed this metric