You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Peiran-Wei edited this page May 30, 2021
·
14 revisions
1.Environment settings:
Software and platform:
. Microsoft Windows and Mac OS
. Android Studio
. JDK1.8
. SmartCarEmulator
. ArduinoIDE
. Hivemq-ce(or any other MQTT broker)
2.Get started:
After you clone or download the whole project from our repository.
Use the Android Studio to open the “JoystickTest” file and sync the “build.gradle”file.
Next, you should start the local broker(Here I use Hivemq-ce as an example)
The default MQTThost is your local-IP and the default MQTTport is 1883.
You can set the MQTThost in the “MainActivity.java”.
Then, use the Arduino IDE to open the “joystickcar.ino”. And set the same host, port, USERNAME, and PASSWORD.
Open the SMCE(SmartCarEmulator) to compile “joystickcar.ino” and run the android studio “JoystickTest” project.