This PR enables simple web page control of ros based missions. The website has a large go and stop button with user feedback on clicking. These have been verified to broadcast a std_msgs/String to either /mission_start or /emergency_stop.
When run using docker-compose and docker run the webpage is available at localhost:3000/html/main.html
When run as part of kubernetes by applying kubernetes.yaml, the webpage is available at localhost:30000/html/main.html (note the extra 0).
Note that when running locally using docker, port 9090 is required for ros web bridge traffic. Due to kubernetes port allowances, this has been remapped to 30001. The webpage attempts to always first connect to localhost:9090 but on failure will assume it may be running in kubernetes and will attempt to connect to localhost:30001.
Yeah thats fair, easiest way to sort that is just to grab bootstrap as offline library. But this is likely to be updated not too far in the future though.
This PR enables simple web page control of ros based missions. The website has a large go and stop button with user feedback on clicking. These have been verified to broadcast a
std_msgs/String
to either/mission_start
or/emergency_stop
. When run using docker-compose and docker run the webpage is available atlocalhost:3000/html/main.html
When run as part of kubernetes by applyingkubernetes.yaml
, the webpage is available atlocalhost:30000/html/main.html
(note the extra 0). Note that when running locally using docker, port 9090 is required for ros web bridge traffic. Due to kubernetes port allowances, this has been remapped to 30001. The webpage attempts to always first connect to localhost:9090 but on failure will assume it may be running in kubernetes and will attempt to connect to localhost:30001.