Simulator
In 2019-2021 we made a major effort to develop an interface to a simulator. We targeted the sophisticated CARLA simulator for automated vehicles. We built a bridge PCB hosting three Arduino Dues:
- An Arduino Due with standard code for DBW plugs into one of the slots.
- An Arduino Due for localization (since replaced by Jetson Nano and Pixhawk) plugs into another slot.
- The third slot is a router. It feeds the output of the other two microprocessors into a simulator on a PC and sends the sensor output to the Dues.
The simulator enables people to contribute to the software without having the trike hardware. Unfortunately, we found that the interface to CARLA is difficult to master and the simulator requires an unusually powerful computer. It is on https://github.com/elcano/Simulator. The simulator was dropped for several years.
In 2026 we brought back the simulator board, but made the router into a simple simulator. Tell it how much throttle is applied and it tells you how fast the trike is going. Give it a steering command and it tells you where the trike winds up. The router can use its USB connection to a PC to display simple 2D graphics. The simplified simulator is on https://github.com/elcano/Bridge.
We no longer use Arduino for localization, but the bridge board has a CAN connection that can go to the Jetson Nano.
Side View
Open View
Hero View
Trike Chassis