Announcement

Collapse
No announcement yet.

Book (FREE PDF or paperback at Amazon) - Learn Java for FTC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Book (FREE PDF or paperback at Amazon) - Learn Java for FTC

    You can download the PDF of the book for FREE at:
    https://github.com/alan412/LearnJavaForFTC

    If you would prefer a paper copy, you can buy a bound paperback copy at Amazon:
    https://www.amazon.com/dp/B08DBVKXLZ

    Please give me comments (on the GitHub site) about things that can be improved. Any time I upload changes, Amazon will print from those changes within 72 hours (and typically within 24) and obviously the soft copy gets updated immediately.

    I hope this is helpful to other teams as well!

    --Alan
    Coach FTC #16072, Quantum Quacks

  • #2
    I took a look through your book and like it. I am a C# developer by trade and have been learning Java via teaching a couple kids to program for the robot. The one area I would suggest improvement is in the area of state machines.

    I would love to work with you to show how I would improve the state machine implementation. In short, it follows the original pattern much closer in that each state is represented by a class that will signal changing to the next state when it has reached its desired state.

    Comment


    • #3
      ftcsachse0 - I would love to work with you. On my team, we actually do that where every "Action" has a "run" method that returns true when it is done. Here is a list of the actions we had for Skystone: https://github.com/ftc16072/Skystone...amcode/actions

      I would appreciate suggestions for how to simply explain it.

      Thanks,

      Alan

      P.S. As you might guess, I am an embedded developer by trade and my only Java has been mentoring FRC and now FTC.

      Comment


      • #4
        ftcsachse0 - PM me your e-mail and we'll continue the conversation there.

        Comment

        Working...
        X