Releases: isl-org/OpenBot
v0.2.0
The following summarizes the changes compared to the previous release v0.1.1.
Full Changelog: v0.1.1...v0.2.0
Android Apps
Robot
- Persistent app settings, thanks @francisduvivier for #126 and @sanyatuning for #127
- Refactoring to make the app more modular and prepare for new GUI, thanks @dhruv2295 for #128, #134 and #141
- Refactor vehicle interface, #129
- Update UI to show vehicle stats, #130
- Support for smartphone controller app, thanks @izivkov for #131
- Send data to controller app, thanks @izivkov for #133
- Automatically download standard ML models via Gradle, #135
- Receive autopilot models from WebApp, thanks @sanyatuning for #144
- Change speed modes from game controller, #146
- Fix setting drive mode from UI, thanks @francisduvivier for #148
The app has the following known issues:
- Incorrect mapping of common BT game controllers (e.g. Xbox, PS4, Nvidia Shield, etc.) may occur on Android versions before Pie (9.0), see this article for more info. On the bright side, Android 11 supports many more controllers, see this article for more infos.
Controller
- New companion app that can be installed on another phone to control the OpenBot, thanks @izivkov for #137
You can download the apks from the resources below and install them on your phone directly. Note, that the app is signed only with a debug key. Alternatively, you can build the app yourself.
Documentation
- Update Chinese docs, thanks @wangruoyao for #139
- Add documentation for controller app, thanks @izivkov for #140
- Add cool OpenBot projects, #145
- Refactor documentation to separate robot and controller apps, #149
CAD Files
- Fix STL files for glue body, #150
Policy
- Restructure policy dir, create python package openbot, thanks @sanyatuning for #125
- Add react based frontend for policy server, thanks @sanyatuning for #132
- Download models from server, thanks @sanyatuning for #144
v0.1.1
The following summarizes the changes compared to the previous release v0.1.0.
Full Changelog: v0.1.0...v0.1.1
Documentation / CI
- Added several images/screenshots and more detailed descriptions
- Chinese translation for most of the docs, thanks @leegang for #84
- Added shields with stats, thanks @eagleanurag for #81
- Readme tweaks, thanks @custom-build-robots for #110 and @wangruoyao for #94
- Automatically generate debug apks as artifacts and for releases, thanks @francisduvivier for #73, #74
Firmware
- Major refactoring to make code more readable and compact
- Removed NewPing library due to many reported issues (e.g. interference on pin 8, pin 3 and 11 not usable as PWM, etc.)
- Use PinChangeInterrupt to allow for interrupts on all pins by parsing port interrupts
- Implemented interrupt based ultrasonic sensor readings
- Implemented interrupt based speed sensor readings for all hardware configurations
- All main features/sensors can enabled/disabled with flags so the firmware only contains the functionalities needed and is as fast and extensible as possible
- Improved NO_PHONE_MODE
- Added OLED support to display vehicle state on the robot, thanks @custom-build-robots for #92
Android App
- Added switch to toggle front/back camera, thanks @vkuehn for #115
- Fixed #78: person following will now work correctly in any orientation of the phone
- Added upload service for automatic log upload to http server, thanks @sanyatuning for #121
The app has the following known issues:
- Some users with very old smartphones have reported incorrect mapping of the game controller
- Only BT controllers detected as gamepad work (e.g. Xbox, PS4, Nvidia Shield, etc.)
You can download the apk from the resources below and install it on your phone directly. Note, that the app is signed only with a debug key. Alternatively, you can build the app yourself. If you want to deploy your own model, this is currently necessary.
Policy
- Added python http server to receive logs from app and visualize them in browser, thanks @sanyatuning for #121
v0.1.0
This is the first release. Several people were able to complete all parts of the project. The project is evolving and things may change a lot. The following summarizes current features and known issues for the different components.
Full Changelog: https://github.com/isl-org/OpenBot/commits/v0.1.0
3D-printed body
There are 3 different versions available, the regular body, the slim body and the glueable body. Depending on the build plate size of your 3D printer, at least one of those models should work. There are no known issues, but in the DIY version it is a bit challenging to fit all the wiring into the body.
Assembly
The repo includes instructions for a DIY build which is recommended for building a single robot to try out the project. In order to reduce the wiring and make assembly easier, a custom PCB is also available.
Custom PCB
There are two PCBs available, V1 and V2. Both versions of the PCB are supported by the Arduino firmware. However, there is no reason to order PCB V1 anymore, since PCB V2 has the same features and several (mostly minor) improvements:
- Move the right speed sensor to pin D3 to enable interrupt functionality
- Add Power LED for main battery
- Update some components which are more commonly available
- Update voltage divider to 20k/10k for better precision
- Change motor connectors to upright version for easier access
Both PCBs have one known issue: When the ultrasonic sensor is used, the NewPing library causes an issue at pin 8. As a result, the right indicator light is very dim.
Firmware
The firmware has the following features:
- support for three configurations: DIY, PCB_V1 and PCB_V2
- receive control commands from Android application (USB serial)
- produce low-level controls (PWM) for the vehicle
- toggle left and right indicator signals
- wheel odometry based on optical speed sensors
- estimate battery voltage via voltage divider
- estimate distance based on sonar sensor
- send sensor readings to Android application (USB serial)
The firmware currently only supports the Arduino Nano microcontroller. However, porting it to other microcontrollers should be straight-forward. There are no known issues.
Android App
The app has the following features:
- BT game controller interface for manual control of OpenBot
- 3 different vehicle speeds (Slow - 50%, Normal - 75%, Fast - 100%)
- Run neural network for person following
- Run neural network for autonomous navigation
- Data logger to collect datasets for training of autonomous driving policy
The app has the following known issues:
- If the phone is mounted in the wrong orientation, the person following will drive in the opposite direction
- On some phones (e.g. Asus Zenfone Max Pro (M2) ZB631KL) the front and rear camera are reversed (see issue #15)
- Some users with very old smartphones have reported incorrect mapping of the game controller
- Only BT controllers detected as gamepad work (e.g. Xbox, PS4, Nvidia Shield, etc.)
You can download the apk from the resources and install it on your phone directly. Note, that the app is signed only with a debug key. Alternatively, you can build the app yourself. If you want to deploy your own model, this is currently necessary.
The app was tested across 10 different smartphones from the past two years and works on all of them.
Jupyter Notebook
The notebook has the following features:
- Data preprocessing and augmentation
- Train neural networks for autonomous navigation (predefined models available)
- Monitor training progress in tensorboard (live) and plot the evolution of several metrics (after training)
- Visualize training data with labels and corresponding policy prediction
- Convert the trained policy to a tflite model for deployment in the Android application
There are no known issues, but training a driving policy requires a lot of resources and may slow down or even freeze your machine. It is recommended to use a high-end laptop or workstation with large amount of RAM and dedicated GPU, especially when training with larger batch sizes. The documentation is currently also not very detailed.
What's Changed
- Fix STL link by @a-to-the-5 in #3
- Add logo by @dvdhfnr in #4
- Update README.md by @travis-millet in #5
- Translate Readme to Chinese by @leegang in #9, #12, #14, #58
- PCBv2 by @thias15 in #35
- Windows bugfix by @thias15 in #36
- Cheaper switch by @zhaoyshine in #42
- Add HAS_SONAR definition by @sloretz in #48
- Add Glueable body for even smaller build volumes by @sloretz in #50
- Adjust slim body, organize files by @thias15 in #52
- Add info about WCH340 driver by @thias15 in #53
- Add the standard minimum build plate dimensions by @francisduvivier in #55
- Update info about REAME_CN by @zhaoyshine in #59
- Update firmware and documentation by @thias15 in #60
- Add some workflow automation by @thias15 in #64
- Remove chmod +x build step by @francisduvivier in #63
- Fix style and automate style checking by @thias15 in #67
- Update project workflows by @thias15 in #69
- Enable android build action with gradle build cache and path filter by @francisduvivier in #68