https://team1640.com/wiki/api.php?action=feedcontributions&user=Ben+Rajcan&feedformat=atomDEW Robotics - User contributions [en]2024-03-28T09:17:35ZUser contributionsMediaWiki 1.27.1https://team1640.com/wiki/index.php?title=DEWBOT_VI_Programming&diff=5256DEWBOT VI Programming2010-02-12T23:00:49Z<p>Ben Rajcan: /* Programmer's Journal */</p>
<hr />
<div>=FRC Team 1640 Programming Team=<br />
<br />
Journal for the Programming Team <br><br />
Build Season 2010 "Breakaway"<br />
If you are a programmer, please add/edit.<br />
Repeat above, I mean it. If you are a programmer, please, please add more. I'm sure programmers did stuff week of 1/18-1/22!<br />
<br />
==2010 DEWBOT VI Game Code==<br />
Link to 2010 DEWBOT VI Game Code Page: [[2010 DEWBOT VI Game Code]]<br />
<br />
==Programming Ideas/Goals==<br />
<br />
*Pivot Drive <br />
** Port to magnetic encoders<br />
** Recalculate math for all drives<br />
** Develop multi front chassis algorithm<br />
** Talk about innovative pivot drive usage<br />
* Vision<br />
** Develop target tracking using camera (needs to work with something else other than arcade drive)<br />
** Develop line tracking (done)<br />
** Develop ball tracking (Need to know the sensor)<br />
* Robot Safety<br />
** Develop anti flipping system<br />
* Robot Itself and Kicker<br />
** Autonomous system with customization (part way done, need to know ball traking sensor)<br />
** Program kicker <br />
** Final tower climbing system<br />
** LED for signaling<br />
** Develop camera to kicker relationship<br />
* Driver Station<br />
** Update Classmate PC<br />
** Design friendly control system with LEDs and toggle switches <br />
* Lessons/Etc.<br />
** Pivot Drive<br />
** LabVIEW<br />
** Algorithm development<br />
** Programming management<br />
** Camera System<br />
* Conclusive Paperwork<br />
** Detailed Documentation of Process and Code<br />
** Easy Driver's Manual<br />
** Nice demonstration PowerPoint<br />
<br />
==Ideas Discussed==<br />
<br />
===Vision System===<br />
<br />
====January 17, 2010====<br />
*Caged Camera for safety and protection<br />
*Spring system that just knocks back or foward<br />
**Material and shape TBA<br />
*Located in middle of robot<br />
*Rotation and Altitude control<br />
*Recalibratible camera<br />
*Reuse of camera code instead of making more<br />
*3 Goals:<br />
**Target Tracking<br />
**Driver's Aid<br />
**Field Watcher<br />
<br />
==Tasks In Progress==<br />
<br />
===January 17, 2010===<br />
*Vision system programming<br />
*Pivot Drive math recalculations<br />
*Remind Paul/Ken to update Classmate<br />
<br />
===January 29, 2010===<br />
<br />
====Goals for January 30, 2010====<br />
<br />
*Have all drive modes ported over to game code (Kenneth)<br />
*Work on XBOX Controller (Paul)<br />
*Use recalculated math from Clem in code<br />
*Develop theoretical algorithms for [Least Limit Movement Algorithm 2.0] <br />
*Develop theoretical algorithms for "Crab with a Twist of Snake" "Crab with a Twist of UFO"<br />
*Despite our mentors recommendation that we don't program the same code, we will be programming the same theoretical code. With that we will see which works best (survival of fittest) and compromise (natural selection)<br />
*Have a working drive code by night of January 30, 2010. We've moved deadline from January 31, 2010.<br />
*We need a twist control.<br />
<br />
==Tasks Accomplished==<br />
<br />
===January 17, 2010===<br />
*Assembled successful Control System<br />
*Tested out Control System<br />
*Tested out Cherry Magnetic encoders and various light sensors<br />
*Created power plug for camera<br />
*Worked out some math for pivot drive<br />
*Port most drive modes to 2010DEWBOTVI Code<br />
<br />
==Programmer's Journal==<br />
<br />
===January 16, 2010===<br />
<br />
====9pm-12am====<br />
*Set up control system<br />
*Tore apart Pivot Bot Prototype<br />
*Reimaged cRIO<br />
*Installed drivers for Classmate<br />
*Checked out Cypress First touch<br />
*Talked about camera system (look above)<br />
*Broke into vision and pivot crew<br />
*Talked about drive math<br />
*Tested out Cherry sensors<br />
*LUNCH<br />
====1pm-5pm====<br />
*Tested out more of cherry sensor<br />
*Tested out light sensors<br />
*Worked on camera<br />
*Went to RadioShack to buy H head for camera<br />
*Solder plug and plugged in into power distrabution<br />
*Realize need to update classmate<br />
<br />
===January 29, 2010===<br />
<br />
====6:00 BPC (Before Paul Came)====<br />
*Kenneth and DJ arrives.<br />
*Looked for power strips with Cole. There are none...<br />
*Tried to get LabVIEW on DJ's Mac. No success.<br />
*Started programming drive system.<br />
*Programmer's cookie break<br />
*Tried to get Max to come.<br />
*Asked Clem about math for pivot drive. Success.<br />
*Installed Cypress CD.<br />
<br />
====6:00 APC (After Paul Came)====<br />
*Paul arrived<br />
*Discussed about status quo of code.<br />
*Compromised code (survival of the fittest)<br />
*Worked on XBOX Controller input .vi (Paul) Success<br />
*Port pivot drive system over to 2010 DEWBOTVI Code<br />
*Crab and Snake done. All other modes to be done (Kenneth) Success<br />
*Paul and Kenneth decided on angle degree as base unit for crab.<br />
*Discussed the [Least Limit Movement Algorithm] and seeing how to implement it<br />
*Proposed new additional "limit" to [Least Limit Movement Algorithm], therefore upgrading it to [Least Limit Movement Algorithm 2.0beta]<br />
*DJ still trying to install LabVIEW on Mac. Doesn't work.<br />
*Paul and Kenneth worked on "Crab with a Twist"<br />
*Departed ways<br />
<br />
====After Robotics====<br />
*12:15 AM - Paul completes theoretical test of Least movement algorithm ;) Success<br />
<br />
===January 30, 2010===<br />
<br />
====Pre Arrival====<br />
*Paul worked on update Least Movement Algorithm<br />
*Kenneth worked on finalization porting and redoing math.<br />
<br />
====Arrival to Lunch====<br />
*???<br />
<br />
<br />
====Lunch to Snack Break====<br />
*Traded code, compromised<br />
*Talked about drive motors and rota motors<br />
*Have working code<br />
<br />
====Snack Break to Dinner====<br />
*Talked about autonomous<br />
*Drafted some autonomous<br />
<br />
<br />
====Dinner to Departing====<br />
*Worked on Math - Ben, Ken, Foster<br />
*Math is complete and fixed<br />
*Learned arrays to use for code<br />
===February 12, 2010===<br />
*Crab mode works!<br />
*Ken is planing on a snake mode.<br />
*Tetsed Autonomous for Teleop, couldn't get past aquiring target.<br />
*Regular Autonomous has yet to be tested (It is much different code than Autonomous for Teleop.)<br />
<br />
==January 31, 2010==<br />
<br />
===12 PM===<br />
*Paul finished Shortest Angle Algorithm<br />
<br />
===3 PM===<br />
*Kenneth and Ben finalized Snake and Auto array<br />
*Paul fixes SAM.vi<br />
<br />
===7 PM===<br />
*Ben taught DJ LabVIEW<br />
*Zain worked on his first code<br />
*Paul finalizes Drive Motor.vi, Turn Target.vi, Crab Mode 3.vi, ShortestAngleMovement.vi<br />
*Kenneth compromises all code together<br />
*Waiting for the robot...<br />
<br />
== Labview links ==<br />
[http://joule.ni.com/nidu/cds/view/p/lang/en/id/1534 FIRST Robotics Software 2010 - Windows - LabVIEW & NI Utilities] - this is the initial release, Do not use the serial number that comes in the software kit for activation. You MUST use the following Serial Number to activate LabVIEW: L13R00000<br />
<br />
[http://usfirst.org/roboticsprograms/frc/content.aspx?id=10934 Link to the FIRST FRC Software Page] that has all the programming information on the 2010 software packages. <br />
<br />
[http://zone.ni.com/devzone/cda/tut/p/id/7466 LabVIEW Tutorials] to learn some LabVIEW<br />
<br />
[http://decibel.ni.com/content/docs/DOC-8923 FRC 2010 Training Tutorials] to learn the 2010 LabVIEW<br />
<br />
[http://decibel.ni.com/content/docs/DOC-8041 FRC 2010 Driver Station] to learn the 2010 Driver Station<br />
<br />
[http://decibel.ni.com/content/community/first FIRST Community] National Instrument's FIRST Community<br />
<br />
[http://www.chiefdelphi.com/forums/forumdisplay.php?f=51 Programming Forum from Chief Delphi] - Chief Delphi Programming<br />
<br />
----<br />
[[Category:Robot]][[Category:DEWBOT VI]]</div>Ben Rajcanhttps://team1640.com/wiki/index.php?title=DEWBOT_VI_Programming&diff=4636DEWBOT VI Programming2010-01-30T21:25:03Z<p>Ben Rajcan: </p>
<hr />
<div>=FRC Team 1640 Programming Team=<br />
<br />
Journal for the Programming Team <br><br />
Build Season 2010 "Breakaway"<br />
If you are a programmer, please add/edit.<br />
Repeat above, I mean it. If you are a programmer, please, please add more. I'm sure programmers did stuff week of 1/18-1/22!<br />
<br />
==2010 DEWBOT VI Game Code==<br />
Link to 2010 DEWBOT VI Game Code Page:<br />
[[2010 DEWBOT VI Game Code]]<br />
<br />
<br />
==Programming Ideas/Goals==<br />
<br />
*Pivot Drive <br />
** Port to magnetic encoders<br />
** Recalculate math for all drives<br />
** Develop multi front chassis algorithm<br />
** Talk about innovative pivot drive usage<br />
* Vision<br />
** Develop target tracking using camera (needs to work with something else other than arcade drive)<br />
** Develop line tracking (done)<br />
** Develop ball tracking (Need to know the sensor)<br />
* Robot Safety<br />
** Develop anti flipping system<br />
* Robot Itself and Kicker<br />
** Autonomous system with customization (part way done, need to know ball traking sensor)<br />
** Program kicker <br />
** Final tower climbing system<br />
** LED for signaling<br />
** Develop camera to kicker relationship<br />
* Driver Station<br />
** Update Classmate PC<br />
** Design friendly control system with LEDs and toggle switches <br />
* Lessons/Etc.<br />
** Pivot Drive<br />
** LabVIEW<br />
** Algorithm development<br />
** Programming management<br />
** Camera System<br />
* Conclusive Paperwork<br />
** Detailed Documentation of Process and Code<br />
** Easy Driver's Manual<br />
** Nice demonstration PowerPoint<br />
<br />
==Ideas Discussed==<br />
<br />
===Vision System===<br />
<br />
====January 17, 2010====<br />
*Caged Camera for safety and protection<br />
*Spring system that just knocks back or foward<br />
**Material and shape TBA<br />
*Located in middle of robot<br />
*Rotation and Altitude control<br />
*Recalibratible camera<br />
*Reuse of camera code instead of making more<br />
*3 Goals:<br />
**Target Tracking<br />
**Driver's Aid<br />
**Field Watcher<br />
<br />
==Tasks In Progress==<br />
<br />
===January 17, 2010===<br />
*Vision system programming<br />
*Pivot Drive math recalculations<br />
*Remind Paul/Ken to update Classmate<br />
<br />
===January 29, 2010===<br />
<br />
====Goals for January 30, 2010====<br />
<br />
*Have all drive modes ported over to game code (Kenneth)<br />
*Work on XBOX Controller (Paul)<br />
*Use recalculated math from Clem in code<br />
*Develop theoretical algorithms for [Least Limit Movement Algorithm 2.0] <br />
*Develop theoretical algorithms for "Crab with a Twist of Snake" "Crab with a Twist of UFO"<br />
*Despite our mentors recommendation that we don't program the same code, we will be programming the same theoretical code. With that we will see which works best (survival of fittest) and compromise (natural selection)<br />
*Have a working drive code by night of January 30, 2010. We've moved deadline from January 31, 2010.<br />
*We need a twist control.<br />
<br />
==Tasks Accomplished==<br />
<br />
===January 17, 2010===<br />
*Assembled successful Control System<br />
*Tested out Control System<br />
*Tested out Cherry Magnetic encoders and various light sensors<br />
*Created power plug for camera<br />
*Worked out some math for pivot drive<br />
*Port most drive modes to 2010DEWBOTVI Code<br />
<br />
==Programmer's Journal==<br />
<br />
===January 16, 2010===<br />
<br />
====9pm-12am====<br />
*Set up control system<br />
*Tore apart Pivot Bot Prototype<br />
*Reimaged cRIO<br />
*Installed drivers for Classmate<br />
*Checked out Cypress First touch<br />
*Talked about camera system (look above)<br />
*Broke into vision and pivot crew<br />
*Talked about drive math<br />
*Tested out Cherry sensors<br />
*LUNCH<br />
====1pm-5pm====<br />
*Tested out more of cherry sensor<br />
*Tested out light sensors<br />
*Worked on camera<br />
*Went to RadioShack to buy H head for camera<br />
*Solder plug and plugged in into power distrabution<br />
*Realize need to update classmate<br />
<br />
===January 29, 2010===<br />
<br />
====6:00 BPC (Before Paul Came)====<br />
*Kenneth and DJ arrives.<br />
*Looked for power strips with Cole. There are none...<br />
*Tried to get LabVIEW on DJ's Mac. No success.<br />
*Started programming drive system.<br />
*Programmer's cookie break<br />
*Tried to get Max to come.<br />
*Asked Clem about math for pivot drive. Success.<br />
*Installed Cypress CD.<br />
<br />
<br />
====6:00 APC (After Paul Came)====<br />
*Paul arrived<br />
*Discussed about status quo of code.<br />
*Compromised code (survival of the fittest)<br />
*Worked on XBOX Controller input .vi (Paul) Success<br />
*Port pivot drive system over to 2010 DEWBOTVI Code<br />
*Crab and Snake done. All other modes to be done (Kenneth) Success<br />
*Paul and Kenneth decided on angle degree as base unit for crab.<br />
*Discussed the [Least Limit Movement Algorithm] and seeing how to implement it<br />
*Proposed new additional "limit" to [Least Limit Movement Algorithm], therefore upgrading it to [Least Limit Movement Algorithm 2.0beta]<br />
*DJ still trying to install LabVIEW on Mac. Doesn't work.<br />
*Paul and Kenneth worked on "Crab with a Twist"<br />
*Departed ways<br />
<br />
====After Robotics====<br />
*12:15 AM - Paul completes theoretical test of Least movement algorithm ;) Success<br />
<br />
===January 30, 2010===<br />
<br />
====Pre Arrival====<br />
Paul worked on update Least Movement Algorithm<br />
Kenneth worked on finalization porting and redoing math.<br />
<br />
====Arrival to Lunch====<br />
<br />
<br />
<br />
====Lunch to Snack Break====<br />
*Kenneth arrives <br />
<br />
<br />
====Snack Break to Dinner====<br />
<br />
<br />
<br />
====Dinner to Departing====<br />
<br />
== Labview links ==<br />
[http://joule.ni.com/nidu/cds/view/p/lang/en/id/1534 FIRST Robotics Software 2010 - Windows - LabVIEW & NI Utilities] - this is the initial release, Do not use the serial number that comes in the software kit for activation. You MUST use the following Serial Number to activate LabVIEW: L13R00000<br />
<br />
[http://usfirst.org/roboticsprograms/frc/content.aspx?id=10934 Link to the FIRST FRC Software Page] that has all the programming information on the 2010 software packages. <br />
<br />
[http://zone.ni.com/devzone/cda/tut/p/id/7466 LabVIEW Tutorials] to learn some LabVIEW<br />
<br />
[http://decibel.ni.com/content/docs/DOC-8923 FRC 2010 Training Tutorials] to learn the 2010 LabVIEW<br />
<br />
[http://decibel.ni.com/content/docs/DOC-8041 FRC 2010 Driver Station] to learn the 2010 Driver Station<br />
<br />
[http://decibel.ni.com/content/community/first FIRST Community] National Instrument's FIRST Community<br />
<br />
[http://www.chiefdelphi.com/forums/forumdisplay.php?f=51 Programming Forum from Chief Delphi] - Chief Delphi Programming<br />
<br />
----<br />
[[Category:Robot]][[Category:DEWBOT VI]]</div>Ben Rajcan