Comments (13)
from t-bots.
from t-bots.
I think we need an mpsfactor per motor but it is a single global used in speedPIDCallBack. Perhaps we require a third. average mpsfactor for this function to use.
from t-bots.
I've subtracted 5 from each (positive) deadband and still not balancing. It seems that mpsfactor is making it want to move the motors pretty fast. I saw a big jump in speed after applying mpsfactor in the test program.
from t-bots.
from t-bots.
from t-bots.
It is probably the trim values that are an issue. I'm pretty sure you did not tell me the name of the bluetooth app to use (I can't extract it from our email threads anyway)
BTW if you follow the link in the GitHub emails and open these issues in the GitHub website it would mean attachments and formatting etc would work and we could then have the whole log of getting this working in one place.
from t-bots.
Agreed re mps factor passing to motor constructors, but don't expect novice programmers to guess that. Your instructions should include details of how to transfer your findings in the test program over to the finished one (I'm sure that was going to be in the final product anyway!).
I think my issue is with trim numbers and it would be easy to check this if I had the bluetooth controller fully working. I've now found the app but I'm going to open another ticket on this subject (this is not being pedantic, it so I can easily find the answer again when I come back to this in a week with a wiped memory and will help anyone else if they end up coming to this repo for their TBOT code).
from t-bots.
My mps values are a 230 and 218
from t-bots.
A couple of other things to add to the documentation:-
- The board is an Arduino Nano and the IDE needs to be told via Tools->Board
- If you choose the Arduino IDE from Ubuntu Software, you will get a Snap which is a bit rubbish since it won't have permission to access the serial port
- fix by doing
snap remove arduino-mhall119
snap install arduino-mhall119 --classic
- fix by doing
- your account will need access to the serial port, for ubuntu (and probably others):-
sudo adduser <userid> dialout
- log out and back in
from t-bots.
I've configured the controller but the trim buttons seem random as to whether they affect the associated value. I cannot get my bot to balance at all. I'm going to wait for the next release since there is no point in debugging something that you are rewriting.
from t-bots.
I've installed the new version of the firmware and adjusted my gyro trim to -4.1 and all is now working well. I have pushed my settings to a new branch so you can review them. See https://github.com/garethnisbet/T-BOTS/tree/gilesBot
Branches might be a nice way to manage the settings for each of your test robots. So you don't need to leave commented out settings in the code for each bot you are testing. I'll talk you through how if you are interested.
I'll bring my robot to work tomorrow so you can tell me if it is performing as expected (seems a little slower than I remember).
from t-bots.
from t-bots.
Related Issues (5)
- Documentation HOT 3
- Bluetooth Controller HOT 2
- Version Control HOT 3
- No need to wait after Wire.requestFrom(). HOT 3
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 t-bots.