Changeset 216 in flair-src for trunk/lib/FlairSensorActuator
- Timestamp:
- Feb 15, 2018, 4:44:23 PM (7 years ago)
- Location:
- trunk/lib/FlairSensorActuator
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/CMakeLists.txt
r211 r216 25 25 ${CMAKE_CURRENT_SOURCE_DIR}/../FlairVisionFilter/src 26 26 ${CMAKE_SYSROOT}/usr/include/opencv1 27 ${CMAKE_SYSROOT}/usr/include/opencv 27 28 ${CMAKE_SYSROOT}/usr/include/vrpn 28 29 ) -
trunk/lib/FlairSensorActuator/src/NmeaGps.cpp
r214 r216 174 174 175 175 void NmeaGps::parseFrame(const char *frame, int frame_size) { 176 176 //avoid unrecognized nmea sentence (when no satelites 177 if(strncmp(frame,"$GNGGA,,",8)==0) return; 178 if(strncmp(frame,"$GNVTG,,",8)==0) return; 179 if(strstr(frame,",,,,,")!=NULL) return; 180 177 181 int result; 178 182 result = nmea_parse(&parser, frame, frame_size, &info); 179 180 183 if (result != 1) { 181 184 Warn("unrecognized nmea sentence: %s\n",frame); 182 185 return; 183 186 } 184 187 185 188 result = nmea_parse_GPGGA(frame, frame_size, &pack); 186 189 -
trunk/lib/FlairSensorActuator/src/PressureSensor.cpp
r215 r216 79 79 80 80 plot_tab = new Tab(tab, "Mesures"); 81 plot = new DataPlot1D(plot_tab->NewRow(), ObjectName(), 0, 2);81 plot = new DataPlot1D(plot_tab->NewRow(), ObjectName(), 101000, 101500); 82 82 plot->AddCurve(output->Element(0)); 83 83 } -
trunk/lib/FlairSensorActuator/src/PressureSensor.h
r215 r216 109 109 * \brief Value 110 110 * 111 * \return output value 111 * \return output value in pascal 112 112 */ 113 113 float Value(void) const;
Note:
See TracChangeset
for help on using the changeset viewer.