Comments (3)
Yes,
It is essentially a "math-based" rather than a "physics-based" simulator. Changes in motor speed occur instantaneously, and there is no skidding of the wheels. Motor behavior is the same regardless of whether in RUN_USING_ENCODER or RUN_WITHOUT_ENCODER mode.
It would be pretty easy to modify the DcMotorImpl class to simulate some inertia, and add a slider in the UI to control it. I'll look at that.
I'm not sure how much it would improve the difference between simulator and real robot, as it wouldn't account for differing loads on the different wheels, and the effect of skidding. But, it would be interesting to try.
from virtual_robot.
Just created a new branch, "inertia", and implemented the suggested change in it. I think it works as expected; give it a try. Not yet merged into the master branch.
from virtual_robot.
Merged "inertia" branch into master.
from virtual_robot.
Related Issues (20)
- Centerstage game released. Will the field and game be updated? HOT 2
- Telemetry behavior needs to follow FTC SDK more closely HOT 3
- Consider adding Amazon Corretto to JDK options HOT 1
- Virtual Controller joystick/trigger behavior HOT 6
- DigitalChannel and AnalogInput sensors are not showing up in the Config Display HOT 1
- Unable to run program (no configuration) HOT 6
- Add support for remote fields... HOT 6
- Add Differential swerve HOT 7
- I have a question-
- Error When Inititializing HOT 1
- Deadlock issue involving VirtualBot, BNO055IMUImpl, and GyroSensorImpl classes
- Virtual gamepad - snap back issue HOT 4
- pull_request_68 branch
- Application immediately crashes HOT 5
- Can't load process HOT 10
- left_motor in config not defined HOT 4
- Feature Request: Add Gradle Support HOT 2
- i'cant select the gamepad before or after init
- Error building with RR files HOT 3
- Road Runner Quickstart Instructions possibly outdated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtual_robot.