Comments (6)
It can be in official documentaion...
Found on Discord group:
Solder HMC SDA to BMI160 SDX, and solder HMC SCL to BMI160 SCX. Do not forget solder VCC and GND.
Check chip orientation via datasheet(do not use silkscreen printing on HMC pcb, it maybe can incorrect.
For woking HMC with BMI160 you need download firmware source and build manually(do not use online firmware builders) you need prepare firmware, here is 2 links from official wiki can help you.
Setting up the Environment
Configuring the Firmware Project
After setting building environment and configure firmware you need to go next steps:
- Open
debug.h
and find
#define USE_6_AXIS true
change to
#define USE_6_AXIS false
- Next step you need to go
defines_bmi160.h
and find this line. Uncomment this :)
#define BMI160_MAG_TYPE BMI160_MAG_TYPE_HMC
These 2 lines enables magnetometer support for HMC5883L and BMI160
3. Build & Flash firmware.
4. After flashing do calibration.
if you feel with wrong magnetometer axes you can remap them:
Open defines.h
and find Axis remapping example.
Place this code after example:
#define BMI160_AXIS_REMAP_PRIMARY AXIS_REMAP_BUILD( \
AXIS_REMAP_USE_X, \
AXIS_REMAP_USE_Y, \
AXIS_REMAP_USE_Z, \
\
AXIS_REMAP_USE_XN, \
AXIS_REMAP_USE_YN, \
AXIS_REMAP_USE_Z \
)
where AXIS_REMAP_USE_XN
used for negation of X axis as example.
If you use default calibration methods(gyro calibrate 5 secs, 6 sided accelerometer calibration) you will have a more one step for calibrate your HMC. This step includes describing the infinity sign in the air for 20 seconds (with a tracker in hand)
if you finished calibration, tracker will be use magnetometer for drift correction.
I will close this issue.
from slimevr-tracker-esp.
@Tanamichi Hey there, has this significantly improved tracking? Currently as soon as you leave the calibrated position, the drift gets very bad on the chnaged axis...
from slimevr-tracker-esp.
@C9Glax, Yeah, because magnetic environment is poor at your place. I have same issue, but if i'm stay in place were i'm calibrated i have stable results..
Also i have return to origin rotation were i pressed "Full Reset" in slime server.
For now best way use trackers without HMC or QMC with BMI160.
Cheers.
from slimevr-tracker-esp.
Just to clarify:
It's better to not use HMC/QMC?
Thanks for the answer :)
from slimevr-tracker-esp.
@C9Glax Yes. For now do not use it :)
from slimevr-tracker-esp.
Okay thank you! ❤️
from slimevr-tracker-esp.
Related Issues (20)
- default rotations in `defines.h` is probably wrong HOT 1
- v0.3.3 is not reliable with BNO08X HOT 1
- Possible OPTIMIZE_UPDATES regression HOT 1
- Enterprise network support
- Fail to build from source on main branch when USE_6_AXIS is defined as false HOT 1
- v0.3.2 LED Blinking for IMU error overriden by WiFi Blinking?
- BMI160 tracker only working with extra invisible IMU HOT 8
- Tracker don't receive data [Wemos D1 Mini + MPU6050] HOT 2
- Add GET WIFISCAN and base64 WiFi credential commands #262 HOT 1
- BMI160 issues 0.3.3 and Main HOT 2
- why after Working=false,there is no any sensor data HOT 5
- package.json missing HOT 5
- Question regarding software-hardware HOT 1
- Implicit dependency not found in v0.4.0 HOT 1
- tracking issue HOT 1
- Add range command [Feature Request]
- When using 2 BNO085s (one extension) the primary IMU errors after a few minutes
- Make defines.h more powerfull
- Differentiate WiFi not found & failed to connect 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 slimevr-tracker-esp.