Changes between Version 2 and Version 3 of PiBotDev


Ignore:
Timestamp:
Sep 20, 2016, 11:54:43 PM (9 years ago)
Author:
aborgwardt
Comment:

Some more formatting...

Legend:

Unmodified
Added
Removed
Modified
  • PiBotDev

    v2 v3  
    33This is a description of the development environment used by one of the mentors (Mr. Alan Borgwardt) for initial PiBot development / prototyping in Fall 2016.
    44
    5 Windows 10
     5* Windows 10
    66
    7 Eclipse Mars 2 (eclipse-java-mars-2)
     7* Eclipse Mars 2 (eclipse-java-mars-2)
    88
    9 JDK 8 (jdk-8u102-windows)
     9* JDK 8 (jdk-8u102-windows)
    1010
    11 Bonjour (used for Pi Zero Ethernet-over-USB support)
     11* Bonjour (used for Pi Zero Ethernet-over-USB support)
    1212
    13 Pi4J (pi4j-1.1.zip)
    14     http://pi4j.com/install.html[[BR]]
    15 - Read the first paragraph (re: Pi .vs. dev host installation)[[BR]]
    16 - Follow the 'download' link in the first paragraph[[BR]]
    17 - Download pi4j-1.1.zip[[BR]]
    18 - Extract zip[[BR]]
    19 - Add jar files from extracted lib folder to Eclipse project
     13* Pi4J (pi4j-1.1.zip)
     14  * http://pi4j.com/install.html[[BR]]
     15  * Read the first paragraph (re: Pi .vs. dev host installation)[[BR]]
     16  * Follow the 'download' link in the first paragraph[[BR]]
     17  * Download pi4j-1.1.zip[[BR]]
     18  * Extract zip[[BR]]
     19  * Add jar files from extracted lib folder to Eclipse project
    2020    NOTE: This is for development workstation. Pi Zero's Raspian Jessie already has PI4J included, which, I think, is what gets used when running on Pi Zero. (Although, launching on Pi Zero from Windows/Eclipse with Pi Plugin *may* use the jars from the Eclipse project???)
    2121
    22 LaunchPi Plugin
    23 
    24     - Open Eclipse
    25     - Select menu item: "Help|Install New Software..."
    26     - In the "Work with:" text box, enter the following URL:
    27         https://raw.githubusercontent.com/tsvetan-stoyanov/launchpi/master/org.launchpi.us/target/site/site.xml
    28     - Select the "LaunchPI" item from the "Uncategorized" entry
    29     - Proceed through the wizard to add/install this plugin
     22* LaunchPi Plugin
     23  * Open Eclipse
     24  * Select menu item: "Help|Install New Software..."
     25  * In the "Work with:" text box, enter the following URL:
     26    * https://raw.githubusercontent.com/tsvetan-stoyanov/launchpi/master/org.launchpi.us/target/site/site.xml
     27  * Select the "LaunchPI" item from the "Uncategorized" entry
     28  * Proceed through the wizard to add/install this plugin
    3029
    3130    NOTE: For more about this plugin, visit the URL:
    32         http://tsvetan-stoyanov.github.io/launchpi/
     31        http://tsvetan-stoyanov.github.io/launchpi/
    3332
    3433    NOTE: When the Pi Zero is connected to the USB port on my Windows system, it is automatically identified as hostname 'raspberrypi.local'.
    3534
    36 PuTTY
     35* PuTTY
    3736
    3837    I use PuTTY to SSH into the Pi Zero from Windows:
     
    4241        username: pi
    4342        password: raspberry
    44 WinSCP
     43* WinSCP
    4544
    4645    I use WinSCP transfer files between Windows and the Pi Zero.
     
    4948
    5049
    51 Run a program at startup of Pi/Raspian:
     50* Run a program at startup of Pi/Raspian:
    5251
    5352    Check out the following URLs for examples and reference information:
     
    6160
    6261    Create an LSB style init script for launching a PiBot autonomous startup app.[[BR]]
    63     I copied rc.local as a starting point and modified it to run my desired - PiBot app as follows:
    64 - sudo cp /etc/init.d/rc.local /etc/init.d/pibot_auto
    65 - sudo vi /etc/init.d/pibot_auto
    66 - Revise the header block to describe PiBot autonomous app
    67 - Revise the do_start() to launch the PiBot autonomous app
    68 - Save and exit editor
    69 - Test/debug the script until it works as desired using these commands:
    70 - sudo /etc/init.d/pibot_auto start
    71 - sudo /etc/init.d/pibot_auto stop
    72 - sudo /etc/init.d/pibot_auto restart
     62*   I copied rc.local as a starting point and modified it to run my desired - PiBot app as follows:
     63  * sudo cp /etc/init.d/rc.local /etc/init.d/pibot_auto
     64  * sudo vi /etc/init.d/pibot_auto
     65  * Revise the header block to describe PiBot autonomous app
     66  * Revise the do_start() to launch the PiBot autonomous app
     67  * Save and exit editor
     68  * Test/debug the script until it works as desired using these commands:
     69  * sudo /etc/init.d/pibot_auto start
     70  * sudo /etc/init.d/pibot_auto stop
     71  * sudo /etc/init.d/pibot_auto restart
    7372    When working as desired, register script to run at startup/shutdown:
    74 - sudo update-rc.d pibot_auto defaults
     73  * sudo update-rc.d pibot_auto defaults
    7574    If the script is changed (edited) after registering, a ‘reload’ may be necessary as follows:
    76 - sudo systemctl daemon-reload
     75  * sudo systemctl daemon-reload
    7776    To unregister the script (i.e., stop it from running at startup/shutdown):
    78 - sudo update-rc.d -f pibot_auto remove
     77  * sudo update-rc.d -f pibot_auto remove
    7978
    8079
    81 - Configuring WIFI on Pi Zero:
     80* Configuring WIFI on Pi Zero:
    8281
    8382Set up wifi on the Pi Zero