Sha256: 5cbba8684ca46b80a1144082a2280a1132a5fbba3847564be06aa40c346055ea
Contents?: true
Size: 1.27 KB
Versions: 4
Compression:
Stored size: 1.27 KB
Contents
http://rubyforge.org/projects/roby = Fault injection plugin for Roby This is a fault injection plugin for the Roby robotic control framework. It allows to test the management of rarely occuring events by simulating the emission of those events. This plugin relies only on the core Roby library. == Usage The fault injection plugin can be used in a system to inject some spurious events randomly. To set it up, one must call Application#add_fault_model in the configuration files of the application. For instance, Roby.app.add_fault_model P3d::Track, :no_path, :blocked, Roby::FaultInjection::Rate.new(500, 0.3) Would inject events :no_path and :blocked randomly on any task of the P3d:Track model. The probability distribution used is a rate distribution with MTTF of 500s and base probability of 0.3. See Roby::FaultInjection for the description of the available probability distributions. == Enabling the plugin The plugin must be enabled in the configuration files (i.e. either in <tt>config/init.rb</tt> or in one of the robot-specific files) through a call to Roby.app.using: Roby.app.using 'fault_injection' == License: This work is licensed under the CeCiLL-B license, which is a free software license similar to the BSD license. See License.txt for details.
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
roby-0.7.1 | plugins/fault_injection/README.txt |
roby-0.7.2 | plugins/fault_injection/README.txt |
roby-0.7 | plugins/fault_injection/README.txt |
roby-0.7.3 | plugins/fault_injection/README.txt |