Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more function and signal generator blocks #62

Merged
merged 22 commits into from
Dec 9, 2022

Conversation

kwehage
Copy link
Collaborator

@kwehage kwehage commented Dec 6, 2022

Adds new function blocks:

  • Summation block: adds two or more signals together
  • Multiplication block: multiplies two or more signals together
  • Exponential block: raises a constant to the value of a signal
  • Power block: raises a signal to a constant power
  • Sigmoid logistic function

Adds new signal generator blocks:

  • Uniform random generator
  • Gaussian random generator

Closes #10

Copy link
Contributor

@alex-brinkman alex-brinkman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, I like the implementation! Before we close, can I ask you add 2 more things:

  • Update the doc/fastcat_device_config_parameters.md to document the new YAML parameters.
  • Add an instance of these to the example_configs/one_of_every_device_offline.yaml so we can have a known working example of each

src/fastcat_devices/function.cc Outdated Show resolved Hide resolved
Kristopher Wehage added 2 commits December 6, 2022 11:40
@kwehage
Copy link
Collaborator Author

kwehage commented Dec 8, 2022

@alex-brinkman I think this is ready to go, let me know if you see anything else.

@alex-brinkman
Copy link
Contributor

I agree, nice work!

@alex-brinkman alex-brinkman merged commit 65b01f6 into nasa-jpl:master Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding fastcat function: EXPONENTIAL
2 participants