-
Notifications
You must be signed in to change notification settings - Fork 32
Updates to Defining an Environment #60
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
Updates to Defining an Environment #60
Conversation
The visualization was causing the following: ERROR: LoadError: UndefVarError: Visualizer not defined I moved it to after the dependencies are loaded
Added the DojoEnvironments.visualize. I don't think that visualize is exported from DojoEnvironments and was causing errors.
The P gain and the simulation time needed to be increased to match the desired performance.
NOTE:
```
storage = simulate!(mechanism, 20.0, controller!,
record=true,
verbose=true);
```
This outputs NAN values for mu
Quad example
Updated the gain and simulation time
Added necessary packages, fixed variable name mismatches, and other small bug fixes for a working example.
Codecov Report
@@ Coverage Diff @@
## main #60 +/- ##
===========================================
- Coverage 87.67% 48.12% -39.56%
===========================================
Files 94 94
Lines 4966 4958 -8
===========================================
- Hits 4354 2386 -1968
- Misses 612 2572 +1960
Continue to review full report at Codecov.
|
docs/src/define_environment.md
Outdated
| For this example we need the following setup: | ||
| ```julia | ||
| using Pkg | ||
| Pkg.activate(joinpath(@__DIR__, "..")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should not be necessary, and if they are we need to fix those.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are correct it was not necessary. I will remove that.
addressing comment from pull request
Updated code and documentation for Defining an Environment example.
This included adding necessary packages, defining variables and consistent variable names.
Now ant environment example works by blindly copy and pasting all lines to new julia script.