GCPositionControlDelegate Protocol Reference

Conforms to NSObject
Declared in GCPositionControlDelegate.h

Overview

This protocol defines an interface for delegates of a GCPositionControl object to be notified when a movement control command has either completed or been overridden by another command.

A GCPositionControlDelegate instance is specified for each call to Galileo methods that update the target position, such as setTargetPosition:notifyDelegate:waitUntilStationary:.

– controlDidReachTargetPosition required method

Notifies the delegate when Galileo reaches the specified target position.

- (void)controlDidReachTargetPosition

Discussion

This method will only be called if a new position is reached. If the target position is set to its current position then no movement occurs and controlDidReachTargetPosition is not called.

Declared In

GCPositionControlDelegate.h

– controlDidOverrideMovement

Notifies the delegate when the target position is updated before the old position is reached.

- (void)controlDidOverrideMovement

Declared In

GCPositionControlDelegate.h