I would recommend using this plugin instead: https://wordpress.org/plugins/cpt-bootstrap-carousel/
It works well with the built-in Twitter Boostrap 3 in Roots.oi theme (Responsive) and it comes along with a CPT named carousel.
Looking in your code:
The get_post_gallery_images() function only returns the url and it doesn’t contain any Gallery Image Title content.