A DEMO for the cockpit of the virtual robot:
A link to the video of controlling the robot: https://drive.google.com/file/d/1fNZmQ_goI6pZimLXsUi_oXv1Iwmf9GLh/view?usp=share_link
Users are able to control the robot with Arduino in the Virtual robot navigation environment made in Unreal Engine 4.26.2. The robot is currently represented by a trapezoidal prism, with rigid body physics enabled.
Below explains:
- Role of each folders
- Get Started in Unreal engine
-
RoboNav_new_chair -- UE4 project for Chair Chair design. See "Get Started" section below before running it.
-
IMU_UE4_chair -- Arduino code for chair chair design. Upload it to Arduino before running RoboNav_new_chair.
-
RoboNav_new_wobble -- UE4 project for wobble board design.
-
IMU_UE4_wobble -- Arduino code for wobble board design. Upload it to Arduino before running RoboNav_new_wobble.
- Accel_test2 -- Arduino code. If needed, upload it to Arduino to check the hardware connection of IMU pins with Arduino pins. It will also show the accelerometer readings.
- FSR_cpp -- Arduino code. If needed, upload it to Arduino to check the force measurement of the two FSR sensors.
- Upload code in Arduino IDE
- In Unreal Engine 4, open Blueprints of TopDown Character. Change the Serial port number according to the COM Port used by Arduino.
- Click "Play" button and the game will start.
- Click left mouse to switch between the one-direction and bi-direction movement.
- Click right mouse to switch between first-person and third-person mode.