- The
ForceGenerator
class simulates an ideal force generator.
force_generator.cpp, force_generator.hpp
: Definitions and declarations of the classforce_generator.ini
: Initialization fileplot_force_generator.py
: An example of a Python script to plot force_generator output
- Set the parameters in
force_generator.ini
.force_magnitude_standard_deviation_N
: Standard deviation of force magnitudeforce_direction_standard_deviation_deg
: Standard deviation of force direction- Other parameters
- Parameters for the
Component
class
- Parameters for the
- Create an instance by using the initialization function
InitForceGenerator
- Use the
SetForce*
function to set the ordered force.- Users can select the coordinate of the ordered force.
- The
MainRoutine
function adds output noise to the ordered force and calculates generated force.
- NA
- NA
- The output result obtained by the default initial settings.
- The figure is generated by the Python script.