More Data and Better Quality Data | Android Development

in #utopian-io5 years ago (edited)

Repository

https://github.com/LakeEffectRobotics/LakeEffectScoutingApp/
https://github.com/LakeEffectRobotics/LakeEffectScoutingServerApp/

What is this

This is a scouting app developed for FIRST Robotics Team 2708. It is used to scout other robots at the competition. The data is sent from 6 client apps to the server over bluetooth throughout the course of the events. The server must manage and put everything together

Created a page to record data for the "Autonomous Period"

Previously, data for this was just recorded with boxes, but this time I decided to make the app record data with the fancy visual page.

image.png

This allows us to know exactly what happened in the autonomous period. The user selectes the location the robot is, and what action just happened. This then allows us to make path charts of all the places the robot went thoughout the whole match, and allow us to know the success rate of the robot.

This year's game has two game pieces, so the left deals with one game piece, the hatch, and the right deals with the second game piece, the cargo.

This data is saved separately from the data from the tele-operated period. This is to help determine their strength at driving without humans watching.

Speed ups

After using this app at our competitions, we found some issues that were slowing down scouts from entering data, making the time the data was collected not as accurate (because the time events happen is recorded).

I removed the confirmation dialog when the user triggers events, which was originally there to make sure the user doesn't press something by accident. This slowed down the user too much, and was not worth the trouble.

Also, the match number now auto increments, making the user not have to specify what match they are scouting, it just knows.

This will increase the quality of the data like crazy, as the user spends less time looking at the screen and more time watching the match.

Added some more decoding

In the last update, I made all the data encoded into base 64 to better keep the data in a format without special characters. This also added the benefit of making the app know if data is completely broken or not, since it will not decode properly.

Now, more areas properly decode this encoded data.

Pull Requests

https://github.com/LakeEffectRobotics/LakeEffectScoutingApp/pull/207
https://github.com/LakeEffectRobotics/LakeEffectScoutingApp/pull/208
https://github.com/LakeEffectRobotics/LakeEffectScoutingApp/pull/217
https://github.com/LakeEffectRobotics/LakeEffectScoutingApp/pull/200
https://github.com/LakeEffectRobotics/LakeEffectScoutingServerApp/pull/27
https://github.com/LakeEffectRobotics/LakeEffectScoutingServerApp/pull/28

GitHub Account

https://github.com/ajayyy

Sort:  

Thank you for your contribution. The post is of high quality where you have explained everything nicely, just one thing as a user we actually do not know what is hatch and cargo so it would have been better if you would have explained that.

The quality of the code, as usual, is very good though I personally feel a lot of if-else is used, is there a way to minimize those if else statement?.


If you would like further explanation of the given score, please ask.


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @codingdefined! Keep up the good work!

Congratulations! Your post has been selected as a daily Steemit truffle! It is listed on rank 7 of all contributions awarded today. You can find the TOP DAILY TRUFFLE PICKS HERE.

I upvoted your contribution because to my mind your post is at least 3 SBD worth and should receive 106 votes. It's now up to the lovely Steemit community to make this come true.

I am TrufflePig, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, you can find an explanation here!

Have a nice day and sincerely yours,
trufflepig
TrufflePig

Hi @ajayyy!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @ajayyy!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.19
TRX 0.13
JST 0.028
BTC 64970.70
ETH 3238.82
USDT 1.00
SBD 2.64