At the end of this project, you will be able to simulate the behavior of the drone and robots. You will be able to set the pickup location and the final destination of the robot, and afterward the drone will come and pick up the robot toward their destination. Not only the transportation simulation but you will be able to decide what to do with the robot's behavior when the passenger arrived at ther destination or if the drone is too late to pickup.
This directory contains the support code needed to visualize the drone simulation system.
-
README.md
-
.gitignore
-
app
folder, which contains:-
graph_viewer
: producing graph visualization -
transit_service
: visualization
-
-
libs
folder, which contains:-
routing
: finding the paths -
trainsit
: entities properties
-
-
dependencies
Here is a quick overview of how to run the visualization (If you are using ssh, navigate to ssh category below):
```bash
# Go to the project directory
cd /path/to/repo/project
# Build the project
make -j
# Run the project (./build/web-app <port> <web folder>)
./build/bin/transit_service 8081 apps/transit_service/web/
```
Navigate to http://127.0.0.1:8081 and you should see a visualization.
Navigate to http://127.0.0.1:8081/schedule.html and you should see a page to schedule the trips.
Below are instructions that detail how to build and run in several different environments.
-
SSH into a CSE Lab Machine using port forwarding for the UI
Note: If port
8081
is not available, choose a different port (e.g. 8082, 8083, etc...)ssh -L 8081:127.0.0.1:8081 x500@csel-xxxx.cselabs.umn.edu
Example:
ssh -L 8081:127.0.0.1:8081 kaung006@csel-kh1250-05.cselabs.umn.edu
-
Compile the project (within ssh session)
cd /path/to/repo/project make -j
-
Run project (within ssh session)
./build/bin/transit_service 8081 apps/transit_service/web/
-
Navigate to http://127.0.0.1:8081 and you should see a visualization.
-
Navigate to http://127.0.0.1:8081/schedule.html and you should see a page to schedule the trips.
You will be able to schedule the robots for a ride in this page http://127.0.0.1:8081/schedule.html.
Type passenger name, select start and end destination, and press Schedule Trip
button to schedule a trip.
Now go to 3D Visualization page and select the view of the entities on top right corner.
You will be able to watch the simulation of the drone and the passenger here http://127.0.0.1:8081.
On top right corner, you can change your camera view into locking the entities.