View Single Post
  #1   Spotlight this post!  
Unread 03-02-2016, 12:37
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,032
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Initial release of MagicBot framework

In the spirit of "release early, release often", I'm happy to announce the first version of MagicBot, which is bundled with robotpy-wpilib-utilities 2016.3.0.

MagicBot is an opinionated framework for creating Python robot programs for the FIRST Robotics Competition. It is envisioned to eventually be an easier to use pythonic alternative to the Command framework.

This initial release tackles the following problems:
  • Reduced boilerplate associated with creating multiple component objects and passing them around
  • Providing a solid foundation for developing robot programs structured in a particular way
  • Automatic integration of the autonomous mode chooser

Future problem areas I intend to tackle:
  • Automatic NetworkTable value publishing
  • Generalized state machine via decorators (similar to StatefulAutonomous)

It's still lightly tested, not complete by any means, and I still have a few more ideas to add to it. However, what's there will probably work.

Read more | Simple example program

Feedback and bug reports welcome!
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote