SensorFusion icon indicating copy to clipboard operation
SensorFusion copied to clipboard

Initalisation

Open Nick-C130 opened this issue 2 years ago • 5 comments

Hi, im using this as a part of a rocket datalogger and as such need as few sensors as possible. i have forgone a magnetometer under the understanding that only accelerometers and gryos are needed. Is there a way to use just the accelerometer data to get initial pitch and yaw. I understand that roll cannot be gathered from just accelerometer data and am fine with that. I dont mind how the axis are oriented so long as up is up and i have 2 sideways directions if that makes sense. Thanks

Nick-C130 avatar Aug 02 '23 01:08 Nick-C130

Hello, Correct, at least you need accelerometer and gyroscope. Only the accelerometer won't work with this library. Anyway the change in weight is really minimal and you will get far away better result with data from both sensors combined

Il Mer 2 Ago 2023, 03:08 Nick-C130 @.***> ha scritto:

Hi, im using this as a part of a rocket datalogger and as such need as few sensors as possible. i have forgone a magnetometer under the understanding that only accelerometers and gryos are needed. Is there a way to use just the accelerometer data to get initial pitch and yaw. I understand that roll cannot be gathered from just accelerometer data and am fine with that. I dont mind how the axis are oriented so long as up is up and i have 2 sideways directions if that makes sense. Thanks

— Reply to this email directly, view it on GitHub https://github.com/aster94/SensorFusion/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBUBTW5SYTPUNHLTSH5GI3XTGR7PANCNFSM6AAAAAA3AQ4B7M . You are receiving this because you are subscribed to this thread.Message ID: @.***>

aster94 avatar Aug 02 '23 05:08 aster94

Hi, thanks for the reply, I have accelerometers and gyros just not a magnetometer. The AHRS works fine however always initialises at pure vertical, I'm hoping to use the accelerometers to get its orientation before flight if that makes sense. Thanks

Nick-C130 avatar Aug 02 '23 05:08 Nick-C130

I don't have experience with high accelerations. I will be very curious about your result with the rocket, please once you have data and a video feel free to share

Il Mer 2 Ago 2023, 07:53 Nick-C130 @.***> ha scritto:

Hi, thanks for the reply, I have accelerometers and gyros just not a magnetometer. The AHRS works fine however always initialises at pure vertical, I'm hoping to use the accelerometers to get its orientation before flight if that makes sense. Thanks

— Reply to this email directly, view it on GitHub https://github.com/aster94/SensorFusion/issues/14#issuecomment-1661536286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBUBTWI7NIAIOIJSRCKQA3XTHTMLANCNFSM6AAAAAA3AQ4B7M . You are receiving this because you commented.Message ID: @.***>

aster94 avatar Aug 02 '23 06:08 aster94

Have you got any idea how to initialise the orientation without a magnetometer?

Nick-C130 avatar Aug 02 '23 06:08 Nick-C130

Yes, see the examples

Il Mer 2 Ago 2023, 08:21 Nick-C130 @.***> ha scritto:

Have you got any idea how to initialise the orientation without a magnetometer?

— Reply to this email directly, view it on GitHub https://github.com/aster94/SensorFusion/issues/14#issuecomment-1661569049, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBUBTXYCVPBWUDBECKITXLXTHWXPANCNFSM6AAAAAA3AQ4B7M . You are receiving this because you commented.Message ID: @.***>

aster94 avatar Aug 02 '23 07:08 aster94