From 4a5d7f5e06f07609a0d67209995930d153ff47d6 Mon Sep 17 00:00:00 2001 From: Sylvain Joyeux Date: Mon, 19 Feb 2018 16:41:36 -0300 Subject: [PATCH] update to the `syskit gen` CLI interface instead of the deprecated `roby init` --- source/basics/getting_started.html.md | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/source/basics/getting_started.html.md b/source/basics/getting_started.html.md index 2de5b31..afaf868 100644 --- a/source/basics/getting_started.html.md +++ b/source/basics/getting_started.html.md @@ -31,19 +31,15 @@ Let's create a new bundle. In your Rock's workspace do ~~~ acd cd bundles -roby init syskit_basics +syskit gen app syskit_basics cd syskit_basics ~~~ This creates a Roby application, Roby being the underlying application framework -and execution engine that Syskit is based on. To be able to use Syskit in this new -application, we must explicitly load it in `config/init.rb` by adding +and execution engine that Syskit is based on. In addition, it loads and sets up +Syskit in the applications `config/init.rb`. -~~~ruby -Roby.app.using 'syskit' -~~~ - -We can now verify that the generated application at loads with +We can now verify that the generated application loads with ~~~ $ syskit run @@ -167,14 +163,6 @@ newly-created `config/robots/gazebo.rb` configuration file to add: ~~~ruby Robot.init do - ## You can load plugins here - # Roby.app.using 'fault_injection' - # Roby.app.using 'syskit' - - ## Change the scheduler - require 'roby/schedulers/temporal' - Roby.scheduler = Roby::Schedulers::Temporal.new - # The rock-gazebo bridge requires models from the 'common_models' bundle. # It already depends on it, but we need to manually add the bundle to the # Roby search path