Home › Forums › Everything about everything else › Blackbox plot issue
- This topic has 5 replies, 3 voices, and was last updated 6 years, 11 months ago by wynnsquad.
-
AuthorPosts
-
6 October, 2017 at 22:54 #39774wynnsquadParticipant
Hello,
Just got my blackbox logger and took my first few logs. Everything seems OK except that I don’t get nice lines showing the values of my copter over time. Instead I just get a bunch of little colored boxes.
Has anyone encountered this before or know what the problem might be? Its as if the sample rate is really really low and the dots are too far apart to be connected.
See a snapshot below.
Thank you!
Attachments:
6 October, 2017 at 23:01 #39776laukaParticipantYou need to lower the logging rate in the configurator. Currently it’s logging too fast for your logger or sd card.
6 October, 2017 at 23:27 #39780biggestRCEfanParticipantRepeat post: previous doesn’t show:
Wynn, The parameters I have set up in betaflight related to this are:
# get black
blackbox_rate_num = 1
Allowed range: 1 – 32blackbox_rate_denom = 1
Allowed range: 1 – 32blackbox_device = SERIAL
Allowed values: SERIAL, SPIFLASH, SDCARDblackbox_on_motor_test = OFF
Allowed values: OFF, ONI should increase _denom to 2 (I think) as I have a similar issue but not as bad. The result as I understand it will be that the sample rate is multiplied by blackbox_rate_num/blackbox_rate_denom, which will be half the sample/log rate. On the bottom status line of the enclosed image it shows Sample rate = 1/1, After this change it should show 1/2.
My blackbox config file is:
250000,26,3,0,1,1,0
baud,escape,esc#,mode,verb,echo,ignoreRXAttachments:
7 October, 2017 at 04:23 #39786wynnsquadParticipantThank you lauka and RCEfan,
I’ll fiddle with my logging rate to see if I can get it right.
I also found Here that I might be using an SD card that’s known to be unreliable so that could be contributing too. I’ll report back on my findings.
7 October, 2017 at 08:56 #39789biggestRCEfanParticipantYes Wynn, sorry I forgot that I did a similar research and found the enclosed SD card to be good for the logging application. The 1/2 sampling is working for me, removing those data drops.
Attachments:
7 October, 2017 at 21:18 #39796wynnsquadParticipantRCEfan,
Nice! Mine is working now too. First I tried just switching my SD card to a much higher quality one (similar to the one you posted above) but I didn’t get a noticeably better result. Then I cut my sample rate to 1/2. Now it started looking like the snap of your log from a few posts ago. Finally I set my baud rate to 250000 and it appears to be working as expected.
Thanks again for the help!
Attachments:
-
AuthorPosts
- The forum ‘Everything about everything else’ is closed to new topics and replies.