Exemplo n.º 1
0
        private void RaiseNewPoseEvent()
        {
            var handler = NewPose;

            if (handler != null)
            {
                Pose newPose = new Pose(m_RobotPose.Location, m_RobotPose.Heading);
                var  e       = new PoseEventArgs(newPose);
                handler(this, e);
            }
        }
Exemplo n.º 2
0
		private void RaiseNewPoseEvent()
		{
			var handler = NewPose;
			if (handler != null)
			{
				Pose newPose = new Pose(m_RobotPose.Location, m_RobotPose.Heading);
				var e = new PoseEventArgs(newPose);
				handler(this, e);
			}
		}