Comments (1)
Idea for this:
- In the struct for the Motorcontroller have a value for current speed and current motor direction.
Then we can track the motor speed and when we ask what the speed is we can read the struct?
Also would make implementing a motor_brake function easy as the function would check the current direction, put the motor in the opposite direction and reduce the speed to 1 (for braking) and then zero.
from mte380.
Related Issues (14)
- Refactor movement functionality out of main.c
- Refactor course correction code out of main.c
- ToF sensor continuous ranging with interrupts
- Write/integrate IMU driver
- Use engine braking to stop
- Get printf working HOT 1
- Add linter
- Refactor helper macros/related into their own module HOT 1
- TOF Data averaging
- General course correction improvements
- First reading from continuous ranging ToF sensor is always 8192
- More accurate course correction
- Data logging
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 mte380.