hyp-ed / hyped-2018 Goto Github PK
View Code? Open in Web Editor NEWSpaceX Hyperloop Pod Competition 2018
Home Page: https://hyp-ed.com
License: Apache License 2.0
SpaceX Hyperloop Pod Competition 2018
Home Page: https://hyp-ed.com
License: Apache License 2.0
State machine should not access anything other than module_status
in kIdle
state (until all the modules indicate they have been initialised). For example here it accesses nav data as well as comms run_length
.
More generally, it might be a good idea to restructure the code so that the checks performed depend on current state since many checks are irrelevant in many states.
We need to specify the compilation flag for C++ standard in the Makefile. Currently we need at least C++11 (for the data exchange class).
Should we add some other flags as well (e.g. -Wall
, -O3
)?
Communications.run_length
in the shared data structureNavigation.distance
Communications.run_length
test:
start up the system, it should not go straight to FailureStopped due to checkNavigation()
test comment
Someone please fix these compiler warnings:
src/utils/io/i2c.cpp: In member function ‘void hyped::utils::io::I2C::read(uint32_t, uint8_t*, uint16_t)’:
src/utils/io/i2c.cpp:94:7: warning: unused variable ‘ret’ [-Wunused-variable]
int ret = i2c::readHelper(fd_, rx, len);
^
src/utils/io/i2c.cpp: In member function ‘void hyped::utils::io::I2C::write(uint32_t, uint8_t*, uint16_t)’:
src/utils/io/i2c.cpp:106:7: warning: unused variable ‘ret’ [-Wunused-variable]
int ret = i2c::writeHelper(fd_, tx, len);
^
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.