Giter Site home page Giter Site logo

angrybirds-2.0's People

Contributors

angelacto avatar gwong89 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

angrybirds-2.0's Issues

Fix a double free error that happens when stopping the program

From my experience, every time I use the "sendStop" program to stop our collision detection program (main), there is an error that prints this line: "ubuntu@arm:~/AngryBirds$ *** Error in `./main': double free or corruption (fasttop): 0xb2700468 *** ". The memory address referred to isn't always the same, but it often is or is very similar. This is a relatively low on our priority list since it only seems happen upon stopping the program. I don't have any evidence of this error affecting anything externally (like file streams or corrupting files in general etc.).

Make the program configurable to support one or two sensors

We recently changed main.cpp to work with 2 sensors connected to the BBB. It is not necessarily the case that we will have 2 sensors for each BBB. Making the code to be configurable either from a file or from passing an argument into the terminal. Passing an argument into the program when launching it on the terminal is preferable unless there are significantly more things we'd want configurable.

Set ADXL threshold dynamically after 30 seconds of running main

The threshold value we have for the ADXL is currently set statically in the code (hard coded). It would be better if we could gather ADXL data for 30 seconds to see what our noise is like and set the threshold some amount above the level of noise in the environment.

Add more conditionally blocked debugging

It would be nice to have debugging statements at key points in the code that can be enabled or disabled easily by some flag. The flag could be set at compile time or is passed into the main function on the terminal when executing the program. The former could be more efficient code, but requires recompiling. The latter allows for the versatility of just changing an argument when launching the program.

Generated video name should match jpeg folder date and time

We currently take a bunch of images when a collision is detected and then store them into a folder with part of the name being the date and time when the collision occurred. Later on these images are converted into a video. The way it is being processed now is that the video names contain the date and time when the video is generated. We would prefer to have the time in which the images were captured to better match it with the corresponding txt file that contains ADXL data.

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.