-
Notifications
You must be signed in to change notification settings - Fork 1
blossom dev
Guy Hoffman edited this page Nov 4, 2017
·
1 revision
This Wiki should get you up and running from the software perspective.
-
Install the latest Raspbian
-
Upgrade the OS:
sudo apt-get update sudo apt-get upgrade sudo apt-get install software-properties-common sudo apt-get install python-software-properties
**Note: ** Right now WiringPI doesn't work with the latest kernel (4.9), but it works with kernel 4.4. To solve this you need to downgrade the kernel using the following command: sudo rpi-update b2de18efa673f3337dae0defd394306f2191437c
-
Disable onboard Pi3 Bluetooth and restore UART0/ttyAMA0 over GPIOs 14 & 15:
sudo nano /boot/config.txt
Add to the end of the file
dtoverlay=pi3-disable-bt
We also need to run to stop BT modem trying to use UART
sudo nano .bashrc
Add to the end of the file
sudo systemctl disable hciuart
More info: http://www.tldp.org/HOWTO/Serial-HOWTO-4.html , http://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/
- Download and install IntelliJ IDEA
- Download and Install Java SE SDK (Last found here, but you can search "Java SE Development Kit Downloads")
- Clone the RMS and RMS Java Extension Bitbucket Repos
- In IntelliJ, choose "Import Project" and navigate to the
rms-java-extension
directory.- When it asks you to "Import Gradle Project", say Yes.
- When it asks you to add your changes to Mercurial, say "No".
- Sat "Yes" to everything else.
- Clone the Blossom GitHub Repos
- In IntelliJ, choose "Open Project" and navigate to the
rms-java-extension
directory.
- Configure the remote robot IP in the
build.gradle
- The
deployBlossom
task injavaExt
should build ok, including copying of the new JAR over to the Raspberry Pi
-
.gradle/ something cache
not found --> Close IntelliJ, remove therms-java-extension/.gradle/
directory completely and re-open IntelliJ - Can't import module ("Project already registered") --> Remove the
<GradleProjectSettings>
item from