EasyJ4FRC

所属分类:人工智能/神经网络/深度学习
开发工具:JavaScript
文件大小:22536KB
下载次数:0
上传日期:2015-05-26 21:37:07
上 传 者sh-1993
说明:  EasyJ4FRC,使用块编程工具Blockly轻松编程您的FRC机器人
(EasyJ4FRC,Easily program your FRC robot with the block programming tool Blockly)

文件列表:
COPYING (10174, 2015-05-06)
appengine (0, 2015-05-06)
appengine\app.yaml (3188, 2015-05-06)
appengine\apple-touch-icon.png (3984, 2015-05-06)
appengine\favicon.ico (5430, 2015-05-06)
appengine\index.yaml (471, 2015-05-06)
appengine\index_redirect.py (64, 2015-05-06)
appengine\redirect.html (3309, 2015-05-06)
appengine\report.py (1678, 2015-05-06)
appengine\robots.txt (33, 2015-05-06)
appengine\storage.js (5612, 2015-05-06)
appengine\storage.py (2610, 2015-05-06)
apps (0, 2015-05-06)
apps\_soy (0, 2015-05-06)
apps\_soy\COPYING (11358, 2015-05-06)
apps\_soy\SoyMsgExtractor.jar (11030911, 2015-05-06)
apps\_soy\SoyToJsSrcCompiler.jar (11030912, 2015-05-06)
apps\_soy\soyutils.js (90807, 2015-05-06)
apps\blockfactory (0, 2015-05-06)
apps\blockfactory\blocks.js (21911, 2015-05-06)
apps\blockfactory\factory.js (16365, 2015-05-06)
apps\blockfactory\index.html (4789, 2015-05-06)
apps\blockfactory\preview.html (592, 2015-05-06)
apps\blockfactory\preview.js (2312, 2015-05-06)
apps\code (0, 2015-05-06)
apps\code\code.js (7344, 2015-05-06)
apps\code\icons.png (546, 2015-05-06)
apps\code\index.html (704, 2015-05-06)
apps\code\readonly.html (813, 2015-05-06)
apps\code\style.css (1598, 2015-05-06)
apps\code\template.soy (11399, 2015-05-06)
apps\common.css (1963, 2015-05-06)
apps\common.js (26996, 2015-05-06)
apps\common.soy (8325, 2015-05-06)
apps\frcjava (0, 2015-05-06)
... ...

EasyJ4FRC ========= Easily program your FRC robot with the block programming tool Blockly My goal is to allow FRC Rookies and new programmers to get their feet wet with some Java code using the WPI Robotics Library. ## Demo A recent build of the EasyJ4FRC environment is available here: [EasyJ4FRC Demo](http://easyj.team5122.com/) ## Prerequisites You'll need: - Python 2.7+ (but not Python3) - Webserver with PHP ## Building & Hacking 1. Create a directory to work in I'll call mine `working` 2. Download a copy of [EasyJ4FRC](https://github.com/TechplexEngineer/EasyJ4FRC/archive/master.zip) and 3. unzip it into a folder within `working`, I'll call mine `EasyJ4FRC` 3. Download a copy of the [Closure library](https://github.com/google/closure-library/archive/master.zip) 4. unzip `master.zip` it into a folder in `working`, it must be called `closure-library-read-only` 4. Go into the `EasyJ4FRC` folder and try running the build script(build.py) now. This will generate the conpressed version of Blockly. 5. Make the `working` folder web accessible. Apache if you are on linux, or XAMPP otherwhise. You'll need PHP 5. Now using your web server, open `apps/robotbuilder/index.php` and begin hacking! Note: I have only tested these instructions on Linux. ## Credits EasyJ4FRC is based on [Google Blockly](http://code.google.com/p/blockly/). [Blockly Demo](https://blockly-demo.appspot.com/static/apps/index.html) ### Todos - [x] Custom input checkers (ie: Joystick button valid values are 1-12) [EasyJ.Checker.\*] - [x] Change the root block to be two function blocks teleop & auto - [x] Loadable Demos - [x] Help Pages - [x] About page - [ ] Settings Page - Alter package [x] - Alter Robot Class [x] - Ensure entered package and class are valid - [ ] Command Base - multiple class tabs - add new subsystems - add new commands - [x] Easier deploys (update toolbox, update path) (rsync in make) - [x] Fix digital & analog 'Get' blocks - [ ] Test, Test, Test - Make sure the blocks generate good code - [ ] Add more blocks - Gyro [x] - Variables - Lists - Subroutines - Accelerometer - Smart Dashboard - Pneumatics [x] - Compressor [x] - Solenoids [x] - Pressure switch (part of compressor object) - Digital Output [x] - Relay [x] - Encoder - I2C - PID - Servo - Iterative Robot [x] - Ultrasonic - Watchdog? - [ ] Make types more like Java types (double, float, int, long ...) - [x] Save/Load (localstorage) - Google Drive? - Gist? - To file? - [x] Could we dump out a netbeans project? - [ ] make a desktop version - [x] make a cool logo - [x] handle variable rename - [x] hide blocks until variable exists (disable instead of hide) - [x] set warning on orphanned blocks - [ ] change "Declare" to "Create" - [ ] Add more examples - [ ] add tool tips for blocks - [ ] add help url for blocks - [ ] remove old logic checking value blocks - [x] ensure blockly default blocks have the next and previous statment type properly specified - [ ] Setup warning on non-init blocks - [ ] Once the declare block has been used the modifier blocks are enabled. THe problem is the modifier blocks have a new variable option. Actually It probably shouldn't exist on any of the modifier blocks. We need a way to make sure that the modifier blocks are set to one of the variables which exists because of a decleare block. One possible solution is to have value ports and create blocks in the menu for each variable. - [ ] need a test procedure for the code - [ ] It would be nice to handle port assiginments better, so that the same port can not be multiply selected - [ ] Should the robot drive block which creates 4 motor controller objects add the MC objects to the variable dropdown so that they can be independently accessed? - [x] remove the compresor block - [x] make all of the declare blocks the same color so that it is more obvious where they go. - [ ] Add a description to the save system - [ ] allow fields to have their own tool tips

近期下载者

相关文件


收藏者