Comments (2)
I was wondering if you thought if it would be a good idea to initialize the motors in their own file and declare them in a header file using extern
Why? There's no need to do this as you can declare motors locally whenever you need them.
None of the objects the PROS API exposes have any internal state that might require them to be global (all the objects do is wrap a port number, and any device configuration is passed off to vexOS). I understand that a lot of people like to go this route, but my feeling is that it's out of the scope of the tutorial.
In addition, I was wondering if we could add a simple autonomous for the clawbot to showcase motors not only moving using move_velocity and move, but maybe something like move_relative.
Good idea. We can do that.
For Arcade Control, my team calls that split arcade control
I've seen the term "split arcade" used enough that I think this would be okay as well. (Though maybe @baylessj has more to say on that)
from pros-docs.
For the first one, do you think we should make a different page talking about both the routes (extern vs locally).
For the autonomous, should I make it just drive straight?
from pros-docs.
Related Issues (20)
- PROS Docs Issues/PRS
- Reflect changes on kernel documentation for rotation docs.
- The multithreaded's synchronization section is wrong. HOT 2
- Set up a staging environment for PRs and such
- Swap the order of C and C++ examples
- Create docs for IMU Reset Functions
- Clarify "Installing for Windows" Page
- Typo in C++ Optical Sensor get_rgb()
- Update hot/cold linking article.
- Kernel 3.5.0 Docs Work HOT 2
- PROS CLI documentation is poor
- Filesystem tutorial sample code does not read or write to "example.txt" HOT 2
- Definition of optical_raw_s_t given in docs is incorrect
- Record an updated GIF of the editor for the background of the homepage
- Update API Home Page
- PROS CLI template commands is wrong HOT 1
- Update Documentation for Kernel 3.8
- Fix GPS docs to have doubles in the example:
- Cquery is deprecated for Mac M2 / Arm HOT 1
- Swap the Docs for V5 around HOT 2
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 pros-docs.