Track multiple axis with Gyro 6050

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
OttawaHacker
New user
Posts: 4
Joined: 23 Oct 2024, 18:00

Track multiple axis with Gyro 6050

#1 Post by OttawaHacker » 23 Oct 2024, 18:04

The 6050 plugin is fantastic and has a well designed motion detection. My only grief is that it is hard to tune the values for motion because I haven't found a way to track more than one axis at a time.
Is there any way to plot both X/Y/Z accelleration on a single graph?

TD-er
Core team member
Posts: 9360
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Track multiple axis with Gyro 6050

#2 Post by TD-er » 23 Oct 2024, 19:36

Have you tried to enable 'stats' for the taskvalues?

OttawaHacker
New user
Posts: 4
Joined: 23 Oct 2024, 18:00

Re: Track multiple axis with Gyro 6050

#3 Post by OttawaHacker » 24 Oct 2024, 01:27

Yes stats is amazing but the plugin only lets you select one value, unless I missed something. Been able to see stats for either X/Y or Z axis but not all of them.

TD-er
Core team member
Posts: 9360
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Track multiple axis with Gyro 6050

#4 Post by TD-er » 24 Oct 2024, 08:01

Ah check, then I have to look at the code to see what is possible here. If possible, then it probably needs some code change.
I've also made it more practical for the ADXL345

OttawaHacker
New user
Posts: 4
Joined: 23 Oct 2024, 18:00

Re: Track multiple axis with Gyro 6050

#5 Post by OttawaHacker » 24 Oct 2024, 16:46

that would incredible - btw the stat feature blew my mind it is so well designed... you can do all the data collection and threshold analysis straight in letscontrolit

User avatar
Ath
Normal user
Posts: 4007
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Track multiple axis with Gyro 6050

#6 Post by Ath » 03 Nov 2024, 15:28

OttawaHacker wrote: 23 Oct 2024, 18:04 The 6050 plugin is fantastic and has a well designed motion detection. My only grief is that it is hard to tune the values for motion because I haven't found a way to track more than one axis at a time.
Is there any way to plot both X/Y/Z accelleration on a single graph?
Hi @OttawaHacker,
I've created a Pull request #5151 to optionally have all 3 axis X/Y/Z values available for the selected measurement (Range acceleration, Acceleration, G-force). The values are always in X/Y/Z order. To see all 3 values you'll first have to submit the settings page with the 'Provide all 3 values (X/Y/Z)' checkbox enabled.
This setting is not currently applicable to Movement detection.

You can download a test build from this GH Actions run (You'll need a free Github account to be able to download from there).
/Ton (PayPal.me)

OttawaHacker
New user
Posts: 4
Joined: 23 Oct 2024, 18:00

Re: Track multiple axis with Gyro 6050

#7 Post by OttawaHacker » 03 Nov 2024, 17:11

Ath wrote: 03 Nov 2024, 15:28 You can download a test build
Ohhh thank you this is glorious and works perfectly! Meanwhile I also figured out that you can create multiple instances of the same device to track multiple metrics but this is significantly better.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests