Giter VIP home page Giter VIP logo

Comments (14)

TheDevMinerTV avatar TheDevMinerTV commented on July 19, 2024

Seems like we're running out of memory here :/

from slimevr-tracker-esp.

Eirenliel avatar Eirenliel commented on July 19, 2024

weren't memory optimized for 9250 already?

from slimevr-tracker-esp.

TinyOra avatar TinyOra commented on July 19, 2024

weren't memory optimized for 9250 already?

Yep , it can be used alone , but if my main IMU is 20948, and 9250 as aux, i can't finish calibration process

from slimevr-tracker-esp.

TinyOra avatar TinyOra commented on July 19, 2024

I made a separate tracker for the chest, But the feet are difficult :<

from slimevr-tracker-esp.

LETS-BEE avatar LETS-BEE commented on July 19, 2024
  • 9250 main, 6500 aux too. can't finish calibration process.

from slimevr-tracker-esp.

Eirenliel avatar Eirenliel commented on July 19, 2024

So we need to reduce memory usage of Magneto...

from slimevr-tracker-esp.

deiteris avatar deiteris commented on July 19, 2024

Magneto library doesn't consume much memory with recent changes. The problem is most likely that DMP image is allocated on stack and takes a lot of space. We should try allocating it on heap and freeing when not needed.

from slimevr-tracker-esp.

unlogisch04 avatar unlogisch04 commented on July 19, 2024

With changing to pgmspace i could free about 14'304 byte heap on ESP8266.
No change on ESP32 i think this was already fine before. #138

from slimevr-tracker-esp.

Eirenliel avatar Eirenliel commented on July 19, 2024

Should be fixed. Reopen if the issue persists with the latest main.

from slimevr-tracker-esp.

TinyOra avatar TinyOra commented on July 19, 2024

Should be fixed. Reopen if the issue persists with the latest main.

After this fixed, new issue produced :
When finished calibration, it will work fine with 20948, but if you restart tracker, 9250 will not work anymore(just like you never do a calibration process)
Now the 9250 need recalibrate every time restart the tracker, otherwise it will not work (20948 is working fine)

[OK] Port opened
[DEBUG] [ICM20948Sensor:0] DMP initialized
[DEBUG] [ICM20948Sensor:0] Using 9 axis configuration
[DEBUG] [ICM20948Sensor:0] Enabled DMP sensor for sensor orientation
[DEBUG] [ICM20948Sensor:0] Set Quat9 to 100Hz frequency
[DEBUG] [ICM20948Sensor:0] FIFO Enabled
[DEBUG] [ICM20948Sensor:0] DMP Enabled
[DEBUG] [ICM20948Sensor:0] Reset DMP
[DEBUG] [ICM20948Sensor:0] Reset FIFO
[INFO ] [MPU9250Sensor:1] Connected to MPU9250 (0x71) at address 0x69
[DEBUG] [MPU9250Sensor:1] Enabling DMP...
[DEBUG] [MPU9250Sensor:1] DMP ready! Waiting for first interrupt...
[INFO ] [WiFiHandler] Setting up WiFi
[INFO ] [WiFiHandler] Loaded credentials for SSID potato and pass length 8
[DEBUG] [WiFiHandler] Status: 7
[NOTICE] OTA updates allowed
.[ERROR] [ICM20948Sensor:0] Sensor timeout I2C Address 0x68
...[INFO ] [WiFiHandler] Connected successfully to SSID 'potato', ip address 192.168.1.30

Logs seems to be normal except i got a "Sensor timeout", but in fact, the 20948 is working fine
I had tried it on the other 20948 Main trackers, same issue

from slimevr-tracker-esp.

TinyOra avatar TinyOra commented on July 19, 2024

Should be fixed. Reopen if the issue persists with the latest main

I had done some more tests, I noticed it has some probability that it will work, not completely out of work
The details is in discord
https://discord.com/channels/817184208525983775/912982617010352159/959802967928754176

Sorry to bother you so much, thanks for a lot

from slimevr-tracker-esp.

unlogisch04 avatar unlogisch04 commented on July 19, 2024

seems a different issue with the configuration storage (eeprom). PR #134 should fix that anyway.

from slimevr-tracker-esp.

Eirenliel avatar Eirenliel commented on July 19, 2024

#134 in main, see if this works

from slimevr-tracker-esp.

TinyOra avatar TinyOra commented on July 19, 2024

#134 in main, see if this works

It's work ,thanks

from slimevr-tracker-esp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.