/// <summary>
    /// Prints status information received from the robot.
    /// </summary>
    private void OnReceiveRobotStatus(Barrett.CoAP.MsgTypes.RobotStatus status)
    {
        Barrett.Logger.Debug(Barrett.Logger.INFO, "Handedness: {0}", status.handedness);
        Barrett.Logger.Debug(Barrett.Logger.INFO, "Outerlink: {0}", status.outerlink);
        Barrett.Logger.Debug(Barrett.Logger.INFO, "IsPatientConnected?: {0}", status.patient);
        switch (status.handedness)
        {
        case Barrett.CoAP.MsgTypes.RobotHandednessEnum.Left:
            startPos = Vector <float> .Build.DenseOfArray(startPosLeft);

            break;

        case Barrett.CoAP.MsgTypes.RobotHandednessEnum.Right:
            startPos = Vector <float> .Build.DenseOfArray(startPosRight);

            break;

        default:
            // leave unset so program circle will not run
            break;
        }
    }
 /// <summary>
 /// Prints status information received from the robot.
 /// </summary>
 private void OnReceiveRobotStatus(Barrett.CoAP.MsgTypes.RobotStatus status)
 {
     Barrett.Logger.Debug(Barrett.Logger.INFO, "Handedness: {0}", status.handedness);
     Barrett.Logger.Debug(Barrett.Logger.INFO, "Outerlink: {0}", status.outerlink);
     Barrett.Logger.Debug(Barrett.Logger.INFO, "IsPatientConnected?: {0}", status.patient);
 }