it seems that you are missing the Bela_BNO055.cpp
file in your project? It's here
belaonurhead render.cpp
giuliomoro thanks for that, not sure how i missed that. ive added it it to the project and now get this error. do you know what i should replace 'cout' with?
Thanks again.
i have commented 'cout' out to see if it will run. i now get this error.
Thanks.
actually here you have a more up-to-date version of the project.
OG93 i now get this error.
That seems like the IMU is not connected or not correctly identified? Can you run this command in the console
i2cdetect -y -r 1
?
What result does it give?
OG93 i have commented 'cout' out to see if it will run.
A better fix for the error about cout
would be to add #include <iostream>
at the top and then use std::cout
instead of cout
.
giuliomoro Thanks so much, it's working perfect now.
giuliomoro would it be possible to point me in the direction of a manual on how to upload libpd patches onto the bela and have them run from startup?
To upload a patch, just drag and drop it on top of the IDE. To run on startup, go to the settings tab of the IDE, and at the top you have "Run project on boot". Select your project there, reboot and it should all go fine!
giuliomoro So the patch will run on bela without a computer then? Just an external power supply?
- Edited
giuliomoro Thank you for being so helpful!
giuliomoro Having a similar issue....I'm detecting the address of the IMU at 29, which is correct. Wondering why the data can't be sent over to the PD patch _main. I'll include the responses I'm getting.
I have the button routed on my Bela MINI, but I would prefer to not have to even include the button orientation. Is there a way to remove these aspects of the code, to make it not relevant?
Thanks a ton
Marshymarsh ...I'm detecting the address of the IMU at 29
the code assumes the address is 0x28
. You would need to change the line
if(!bno.begin()) {
in libpd-render-with-IMU.cpp
to
if(!bno.begin(1, 0x29)) {
in your case.
Marshymarsh t I would prefer to not have to even include the button orientation.
what do you mean?