#!/usr/bin/env bash

##Summary: Run Loki camera at 90 frames per second.
##Overview:
##  This program will start the raspicam node at 90 frames per second.

# Start the node:
roslaunch ubiquity_launches n_raspicam.launch \
  robot_base:=loki frame_rate:=90 quality:=10 &

# Give the node a chance to start:
sleep 5

# Now start capturing images:
rosservice call /raspicam/camera/start_capture

# Wait until somebody stops us:
sleep 999999999

