Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pydy.models import n_link_pendulum_on_cart | |
| sys = n_link_pendulum_on_cart(2) | |
| sys.coordinates | |
| sys.eom_method.q | |
| sys.eom_method.u | |
| sys.states | |
| import sympy as sm | |
| x = sm.Matrix(sys.states) | |
| x | |
| sys.eom_method.forcing |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int tempPin = A1; | |
| int fanPin = 11; | |
| double tempMeasurement; | |
| double tempError; | |
| int fanPWM; | |
| double pconst = 20; | |
| double desTemp = 27; | |
| void setup() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Code written before setup() and loop() are global varables. | |
| // define pins for: tempPin, fanPin, tempMeas, tempError, fanPWM, K, tempDes. | |
| // Which variables should be ints and which floats/doubles? | |
| // Code written in setup() for pin configuration | |
| // setup tempPin, fanPin, and Serial.begin | |
| void setup() { | |
| // tempPin | |
| pinMode(,); | |
| // fanPin |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.