HEX Base
The Screen
The screen will show current battery level, control mode, and other information.
If you need to change settings, touch the icon at right middle of the screen.
In network info page, you can see the current network status. Swipe from left screen edge to right to go back.
In settings page, you can change the settings of the vehicle.
In network settings page, you can change the network settings of the vehicle.
We will make some examples to show how to configure the internet.
Warning
WiFi connection is there only for debugging purpose. It is forbidden to commnicate API via WiFi.
All Wifi connection unavoidably have a risk of random delays, which is fatal for real-time control.
YOU MUST USE ETHERNET CONNECTION FOR REAL-TIME CONTROL. YOU HAVE BEEN WARNED.
Example 1: You want the onboard computer to connect to WiFi called "HexFellow" with password "12345678", using automatic IP distribution.
Example 2: You want the onboard computer to connect to WiFi called "HexFellow" with password "12345678", using static IP address 192.168.1.100.
Example 3: You want the onboard computer to boardcast a WiFi (AP) called "HexFellowAp" with password "verygoodpsk", with IP address 192.168.1.1.
Example 4: You want the external ethernet port to connect to the internet, using DHCP.
Example 5: You want the external ethernet port to connect to the internet, using static IP address 192.168.1.100.
(Find a usb keyboard, and plug it to the onboard computer, then type in texts)
The Remote
You can use the remote to control the vehicle.
As a safety feature, only when both LB and RB are pressed, the vehicle will start moving. (In case you drop the remote to the ground, the vehicle will not move.)
The remote control has highest priority except for the emergency stop button. So when you want to control using the API, you have to turn off the remote control first.
Here is an example video to show how to use the remote.
In case you want vehicle to stop immediately, you can press both RT and LT at the same time.
Changing PCW Layouts for CustomPcWVehicle
If the vehicle type is Custom, you can change wheel layouts.
Controling using API
You can use websocket to read everything from the vehicle.
The API is at https://github.com/hexfellow/proto-public-api
We also offer a python demo, using the API. https://github.com/hexfellow/hex_vehicle_python_lib