Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of Memory Error While Compass Calibration - Here2 CANBus #12536

Closed
miracatici opened this issue Jul 22, 2019 · 5 comments
Closed

Out of Memory Error While Compass Calibration - Here2 CANBus #12536

miracatici opened this issue Jul 22, 2019 · 5 comments
Labels

Comments

@miracatici
Copy link

Hello I'm trying to use Here2 GPS module with UAVCAN library. In my first attempt, I flash Pixhawk Cube Black FCU with 1.9.2 stable release binary file via QGC. After flashing, UAVCAN is enabled with Auto-Config mode. After that I did soft reboot (Parameters > Tools > Reboot Vehicle). When reboot is done, GPS status is ok. When I try to calibrate compass sensor, an error is occurred. "Error : out of memory".

Some of the issiues seems to be related. First suggestion is using manual node id configuration instead of auto configuration. However, if I select manual configuration in UAVCAN tab, none of the sensors on the canbus line is appeared. I think this is related with wrong node id. I couldn't find Here2 CANBus Node ID. (Auto configuration says 125 but it doesn't work.)

Is there anyone who faced similar problem? Thanks in advance.

@julianoes julianoes added the bug label Jul 23, 2019
@julianoes
Copy link
Contributor

@bkueng any advice what to do to avoid running out of RAM?

@stale
Copy link

stale bot commented Oct 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Oct 21, 2019
@jzazbert
Copy link

If this is still relevant... To free up memory, disable any unused mavlink streams, and make sure log from boot is OFF. Use your primary radio to calibrate instead of USB also can save a bunch of RAM. These are all tricks we use to deal with low RAM on cube. Most of these things can be reenabled after calibration.

@stale stale bot removed the stale label Dec 20, 2019
@julianoes
Copy link
Contributor

Thanks for the note @jzazbert, I'll close this for now.

@DronecodeBot
Copy link

This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:

https://discuss.px4.io/t/compass-calibration-error-out-of-memory/35322/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants