Giter VIP home page Giter VIP logo

scr-swc-20's Introduction

scr-swc-20's People

Contributors

danielbrownmsm avatar noahzemlin avatar

scr-swc-20's Issues

add boundaries

Don't let the robot drive outside the edges of the field. Kinda like the aboutToFallOff but better and more thorough

PID Controller not working

Screw the copied/pasted class, and create a PI controller (don't really need D, never really used it anyway) based on that one screenshot on your phone. This should allow us to not miss waypoints

[2 Part Issue] Make bonus waypoints necessary

Do this by being able to turn around and head back to the bonus waypoint. We need to be consistent to be competitive, and as it is, bonus waypoint achievement is not consistent. The other part of this is #13

Move LIDAR to own node

Subscribe in robot_control_node and publish a boolean which Robot subscribes to and uses to figure out if obstructed or not (because we use bumper for reversing)

print a bunch of stuff

just to look cool. not necessary at all, and worthless, but I don't want to do actual stuff right now so here's an issue

Waypoint detection w/ camera

Need to:

  • subscribe to camera
  • pass data to function in Robot
  • take that information, and convert it to something OpenCV can use
  • search for the waypoint using template matching
  • if self.getDist() < self.threshold (temp value):
    # then use x pos of matched image minus center of the camera to PID to

Cleanup

what I need to do is written on a sheet of paper somewhere. Do it

Make more precise

By switching to Haversine formula instead of basic distance formula

Make LIDAR Better

Implement something resembling path planning. Needs to:

  • detect obstacle
  • turn angle away should be proportional to how far off we are from curr_goal (the heading, maybe?)
  • but should never be lower than the minimum required to avoid an obstacle
  • if there are obstacles only on one side (say, split self.stripped_data in half) then turn slightly away form that
  • if we are obstructed then don't drive as fast

Make LIDAR node

Path planning should use inequalities with angle + width of robot and stuff to see if we will hit something. Obstacles are stored as a list of points where they’ve been detected (x, y)

Obstacle detection w/ camera

Need to:

  • subscribe to camera
  • pass data to function in Robot
  • take that information, and convert it to something OpenCV can use
  • search for the object using template matching
  • create an array of locations of the obstacles

make obstacle detection with laser better

Add in a part where you see if most of them are low which means reverse and then if reverse return -8. And then also some better turning values if obstacle detected. And make it more consistent

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.