radarku / docker-mavros

Docker Container for MAVROS
5 stars 12 forks source link

Adding start delay parameter #1

Closed stevehenderson closed 1 year ago

stevehenderson commented 1 year ago

Adding a STARTDELAY environment variable built into the entry point of the container. This will cause the container to sleep before starting. This is useful for waiting for other microservices to start (gazebo, sitl) in docker-compose or kubernetes when health checks are not an option. By default this is 5 seconds.

Thanks for putting this together Kyle.

radarku commented 1 year ago

Nice add @stevehenderson - thanks!