TrackLine Task

Description

This tasks directs the vehicle along a line from P1 to P2. Underlying the task is a constantly varying waypoint which leads the vehicle along the line. The goal way point is determined by finding the perpendicular intersection from the line to the vehicle location. This gives the nears point on the line to the vehicle. This point is then advanced LEADm towards P2. If the resulting goal point (which continually changes) is outside P1 or P2 then the closest way point is choosen as the goal. Note LEAD needs to be big enough to give smooth performance. If oscillator performance results increase LEAD

Publishes

Subscribes

Configuration Block

Example Block

Task = TrackLine
{
	Name = East
	Priority = 3
	InitialState = ON
	TimeOut = 200
	FinishFlag = EndMission
	Thrust = 6
	P1 = 2,0,0
	P2 = 2,6,0
	Radius = 1	
	Lead = 1
	LOGPID = true
}


The MOOS © P. Newman 2001-2002