angelacto / angrybirds-2.0 Goto Github PK
View Code? Open in Web Editor NEWRev2
Home Page: http://e4e.ucsd.edu/projects
Rev2
Home Page: http://e4e.ucsd.edu/projects
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.).
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.
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.