Giter VIP home page Giter VIP logo

golfbot's Introduction

Does it compile?

type PersonalInformation = { name: string; description: string; mail: string }
let myContactDetails =  {
    name = "Mikael Fangel"
    description = "I'm studying software engineering at DTU and I am currently doing an intership"
    mail = "[email protected]"
}

type Interest = string
let myInterest: Interest List = [ "Linux"; "Security"; "NixOS"; "Functional Programming" ]

type LevelOfConfidence = Advanced | Intermediate | Beginner
type SkillSet = { programmingLanguages: (LevelOfConfidence * string List) List
                  technologies: (LevelOfConfidence * string List) List }
let mySkillSet = {
    programmingLanguages = [
        (Advanced, [ "Java"; "C"])
        (Intermediate, [ "F#"; "Kotlin"; "Go"; "VBA" ])
        (Beginner, [ "R"; "Python"; "Bash"; "Awk"; "Nix"; "Elixir" ])
    ]
    technologies = [
        (Advanced, [ "Linux" ])
        (Intermediate, [ "Docker"; "SIEM" ])
        (Beginner, [])
    ]
}

type URL = string
let myGist: URL = "https://gist.github.com/MikaelFangel"

golfbot's People

Contributors

andersenchristian avatar dependabot[bot] avatar greve2001 avatar madsoedk avatar mikaelfangel avatar s194582 avatar yech199 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

golfbot's Issues

Implement failsafes

  • Handle if the robot's main crash, and the client should reconnect
  • Make robot stop completely, if everything goes bad.
  • Handle if the client crashes.
  • Handle if we lose connection to robot.

Integration test of vision and robot together

  • Find markers and attach to robot
  • Test precision and distortion effects
  • Get angle from normal coordinates
  • Run robot, with difference in angles
  • Test if the robot has issues rotating on the course

Multiple robot objects

I have an issue using the course object, because for each frame a new Robot object is instantiated, and I therefore cannot use the Robot object to stream. I tried to solve this, by only having a single Robot object, but would resolve in error on the vision-part. There is different robot objects store in both detectionController and robotDetector

Program Robot to Move Forward/Backwards

  • Make the robot drive forwards
  • Make the robot drive backwards
  • Make the robot drive at adjustable speeds
  • Make the robot stop
  • Implement individual adjustments
  • Add error handling
  • Write tests

Vision improvement II

Improvement to vision from last iteration. Better accuracy in detection to balls, courseframe and cross.

  • Detect orange ball with hsv filter
  • Add hsv filter to better detect white balls -> ended up doing binary threshold instead because of the orange ball
  • Explore use of findContours vs HoughCircles -> maybe later, not necessary atm, because the threshold filter improved reliability alot
  • How does the robot affect the detection -> We need to cover white colors of the robot to not false detect
  • Better detection middle cross -> waiting to solve this for later
  • Explore camera distortion -> not needed at the moment

Create visual detection for golf balls and course frame

  • Research opencv
  • Detect 1 or multiple balls
  • Detect course frame
  • Calculate coordinate system
  • Test precision and camera distortion effects

We might need to look into camera distortion to solve the mapping of coordinaters from pixels to irl measurements

Correct Camera view to Actual Course Layout

We need to make sure that there is next to little loss in precision from what the camera sees to how the course is really layed out.

  • (DROPPED) Correct camera lens distortion, if needed
  • Map coordinate system to course, instead of camera frame

Robot can rotate based on degrees

  • Robot can rotate based on an input based on degrees
  • The gRPC protocol includes the interface for the function
  • Implement error handling

Convert vision to java

We need to convert our vision algorithms to java and collect everything we have made to a single file or some other single structure.

Fine-tune color recognition

We need to adjust the color threshold and make it more stable.
Additionally we need to make us able to tune the parameters at runtime in the setup phase.

Make a commands queue

Make a method to either send multiple commands that is queue or let the client know when a function has finished. This should allow us to execute subsequent commands immediately.

Fine tune driving and turning with streaming

  • Research optimization of streaming, so we can stream more messages pr second
  • Fine tune driving
  • Fine tune rotation and possible also use streaming to turn accurately
  • Address high coupling on client side

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.