- Bootstrap 4, Font awesome 4, Font Awesome 5 Free & Pro snippets
- Live Server
- Nginx
- rosbridge_server
- web_video_server
The following modules are pre-loaded with their CDN sources:
- moment.min.js
- ZingChart
There may be a few others that will require npm to install
Use your favorite editor to update the file in the command below:
sudo vim /etc/nginx/sites-enabled/default
In the file, find the line
root /var/www/html;
and replace /var/www/html;
with the path to this repo. Nginx will find the index.html file in that folder.
For example:
root /home/unnas/athelas_webui;
Restart Nginx:
sudo systemctl restart nginx
To determine the IP address that the dashboard is now being hosted, use:
hostname -I
Launch the server with
roslaunch rosbridge_server rosbridge_websocket.launch
If you are adding this to an existing launch file, you can use
<include file="/opt/ros/melodic/share/rosbridge_server/launch/rosbridge_websocket.launch" />
If you are a use, connect to the same wifi as the Jetson and go to the IP address of the Jetson with any web browser (Chrome is recommended)
https://medium.com/husarion-blog/bootstrap-4-ros-creating-a-web-ui-for-your-robot-9a77a8e373f9