75 std::vector<std::pair<double,double> > m_lstExclusionAngles; //!< A list of pairs of angles <init,end> such as all sensor ranges falling in those forbiden angles will be marked as invalid.
76
77
78protected:
79 /** The I/O channel (will be NULL if not bound).
83 /** Should be call by derived classes at "loadConfig" (loads exclusion areas AND exclusion angles).
84 * This loads a sequence of vertices of a polygon given by its (x,y) coordinates relative to the vehicle, that is, taking into account the "sensorPose".
85 * - exclusionZone%u_x
86 * - exclusionZone%u_y
87 * for %u=1,2,3,...
88 * All points within the 2D polygon will be ignored, for any Z, unless an optional entry is found:
89 * - exclusionZone%u_z=[z_min z_max]
90 * In that case, only the points within the 2D polygon AND the given range in Z will be ignored.
91 *
92 * The number of zones is variable, but they must start at 1 and be consecutive.
125 /** Get the last observation from the sensor, if available, and unmarks it as being "the last one" (thus a new scan must arrive or subsequent calls will find no new observations).
136 /** Specific laser scanner "software drivers" must process here new data from the I/O stream, and, if a whole scan has arrived, return it.
137 * This method MUST BE CALLED in a timely fashion by the user to allow the proccessing of incoming data. It can be run in a different thread safely.
144 /** Enables the scanning mode (which may depend on the specific laser device); this must be called before asking for observations to assure that the protocol has been initializated.
145 * \return If everything works "true", or "false" if there is any error.
146 */
147virtualbool turnOn() = 0;
148
149 /** Disables the scanning mode (this can be used to turn the device in low energy mode, if available)
150 * \return If everything works "true", or "false" if there is any error.
151 */
152virtualbool turnOff() = 0;
153
154
155 }; // End of class
156 } // End of namespace
157 } // End of namespace
158
159
160#endif
Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013