Changeset 27 in flair-dev for trunk/doc/Flair/_uav_state_machine_8h_source.html
- Timestamp:
- Jul 18, 2016, 4:16:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/Flair/_uav_state_machine_8h_source.html
r26 r27 284 284 <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordtype">void</span> Run(<span class="keywordtype">void</span>);</div> 285 285 <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordtype">void</span> StopMotors(<span class="keywordtype">void</span>);</div> 286 <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  </div>287 <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <a class="code" href="classflair_1_1meta_1_1_uav.html">meta::Uav</a> *uav;</div>288 <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <a class="code" href="classflair_1_1 sensor_1_1_target_controller.html">sensor::TargetController</a> *controller;</div>289 <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  </div>290 <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <a class="code" href="classflair_1_1core_1_1_quaternion.html">core::Quaternion</a> currentQuaternion;</div>291 <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <a class="code" href="classflair_1_1core_1_1_ vector3_d.html">core::Vector3D</a> currentAngularSpeed;</div>292 <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  </div>293 <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_ahrs_data.html">core::AhrsData</a> *ComputeReferenceOrientation(<span class="keywordtype">void</span>);</div>294 <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  </div>295 <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordtype">void</span> ComputeOrientation(<span class="keywordtype">void</span>);</div>296 <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keywordtype">void</span> Compute Altitude(<span class="keywordtype">void</span>);</div>297 <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  </div>298 <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordtype">void</span> ComputeTorques(<span class="keywordtype">void</span>);</div>299 <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  < a class="code" href="classflair_1_1core_1_1_euler.html">core::Euler</a> currentTorques, savedDefaultTorques;</div>300 <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  < span class="keywordtype">bool</span> needToComputeDefaultTorques;</div>301 <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  </div>302 <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordtype">void</span> ComputeThrust(<span class="keywordtype">void</span>);</div>303 <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordtype"> float</span> currentThrust, savedDefaultThrust;</div>304 <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordtype"> bool</span> needToComputeDefaultThrust;</div>305 <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  </div>306 <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <a class="code" href="classflair_1_1gui_1_1_push_button.html">gui::PushButton</a> *button_kill, *button_take_off, *button_land,</div>307 <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  *button_start_log, *button_stop_log;</div>308 <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <a class="code" href="classflair_1_1gui_1_1_grid_layout.html">gui::GridLayout</a> *buttonslayout;</div>309 <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <a class="code" href="classflair_1_1gui_1_1_ double_spin_box.html">gui::DoubleSpinBox</a> *desiredTakeoffAltitude, *desiredLandingAltitude;</div>310 <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  AltitudeMode_t altitudeMode;</div>311 <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  OrientationMode_t orientationMode;</div>312 <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  ThrustMode_t thrustMode;</div>313 <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  T orqueMode_t torqueMode;</div>314 <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordtype">bool</span> flagBatteryLow;</div>315 <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordtype">bool</span> flag ConnectionLost;</div>316 <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordtype">bool</span> flagC riticalSensorLost;</div>317 <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordtype">bool</span> flag ZTrajectoryFinished;</div>318 <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordtype">bool</span> safeToFly;</div>319 <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  < a class="code" href="classflair_1_1filter_1_1_nested_sat.html">filter::NestedSat</a> *uRoll, *uPitch;</div>320 <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <a class="code" href="classflair_1_1filter_1_1_ pid.html">filter::Pid</a> *uYaw;</div>321 <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <a class="code" href="classflair_1_1filter_1_1_pid _thrust.html">filter::PidThrust</a> *uZ;</div>322 <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  </div>323 <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <a class="code" href="classflair_1_1meta_1_1_meta_dual_shock3.html">MetaDualShock3</a> *joy;</div>324 <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <a class="code" href="classflair_1_1 filter_1_1_trajectory_generator1_d.html">filter::TrajectoryGenerator1D</a> *altitudeTrajectory;</div>325 <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  };</div>286 <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keywordtype">bool</span> IsValuePossible(<span class="keywordtype">float</span> value,std::string desc);</div> 287 <div class="line"><a name="l00264"></a><span class="lineno"> 264</span> </div> 288 <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <a class="code" href="classflair_1_1meta_1_1_uav.html">meta::Uav</a> *uav;</div> 289 <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <a class="code" href="classflair_1_1sensor_1_1_target_controller.html">sensor::TargetController</a> *controller;</div> 290 <div class="line"><a name="l00267"></a><span class="lineno"> 267</span> </div> 291 <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <a class="code" href="classflair_1_1core_1_1_quaternion.html">core::Quaternion</a> currentQuaternion;</div> 292 <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">core::Vector3D</a> currentAngularSpeed;</div> 293 <div class="line"><a name="l00270"></a><span class="lineno"> 270</span> </div> 294 <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_ahrs_data.html">core::AhrsData</a> *ComputeReferenceOrientation(<span class="keywordtype">void</span>);</div> 295 <div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div> 296 <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keywordtype">void</span> ComputeOrientation(<span class="keywordtype">void</span>);</div> 297 <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordtype">void</span> ComputeAltitude(<span class="keywordtype">void</span>);</div> 298 <div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div> 299 <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordtype">void</span> ComputeTorques(<span class="keywordtype">void</span>);</div> 300 <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <a class="code" href="classflair_1_1core_1_1_euler.html">core::Euler</a> currentTorques, savedDefaultTorques;</div> 301 <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keywordtype">bool</span> needToComputeDefaultTorques;</div> 302 <div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div> 303 <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordtype">void</span> ComputeThrust(<span class="keywordtype">void</span>);</div> 304 <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordtype">float</span> currentThrust, savedDefaultThrust;</div> 305 <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordtype">bool</span> needToComputeDefaultThrust;</div> 306 <div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div> 307 <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <a class="code" href="classflair_1_1gui_1_1_push_button.html">gui::PushButton</a> *button_kill, *button_take_off, *button_land,</div> 308 <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  *button_start_log, *button_stop_log;</div> 309 <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <a class="code" href="classflair_1_1gui_1_1_grid_layout.html">gui::GridLayout</a> *buttonslayout;</div> 310 <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <a class="code" href="classflair_1_1gui_1_1_double_spin_box.html">gui::DoubleSpinBox</a> *desiredTakeoffAltitude, *desiredLandingAltitude;</div> 311 <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  AltitudeMode_t altitudeMode;</div> 312 <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  OrientationMode_t orientationMode;</div> 313 <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  ThrustMode_t thrustMode;</div> 314 <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  TorqueMode_t torqueMode;</div> 315 <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordtype">bool</span> flagBatteryLow;</div> 316 <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordtype">bool</span> flagConnectionLost;</div> 317 <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordtype">bool</span> flagCriticalSensorLost;</div> 318 <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordtype">bool</span> flagZTrajectoryFinished;</div> 319 <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordtype">bool</span> safeToFly;</div> 320 <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <a class="code" href="classflair_1_1filter_1_1_nested_sat.html">filter::NestedSat</a> *uRoll, *uPitch;</div> 321 <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <a class="code" href="classflair_1_1filter_1_1_pid.html">filter::Pid</a> *uYaw;</div> 322 <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <a class="code" href="classflair_1_1filter_1_1_pid_thrust.html">filter::PidThrust</a> *uZ;</div> 323 <div class="line"><a name="l00300"></a><span class="lineno"> 300</span> </div> 324 <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <a class="code" href="classflair_1_1meta_1_1_meta_dual_shock3.html">MetaDualShock3</a> *joy;</div> 325 <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <a class="code" href="classflair_1_1filter_1_1_trajectory_generator1_d.html">filter::TrajectoryGenerator1D</a> *altitudeTrajectory;</div> 326 326 <div class="line"><a name="l00303"></a><span class="lineno"> 303</span> };</div> 327 327 <div class="line"><a name="l00304"></a><span class="lineno"> 304</span> };</div> 328 <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="preprocessor">#endif // UAVSTATEMACHINE_H</span></div> 328 <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> };</div> 329 <div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="preprocessor">#endif // UAVSTATEMACHINE_H</span></div> 329 330 <div class="ttc" id="classflair_1_1core_1_1io__data_html"><div class="ttname"><a href="classflair_1_1core_1_1io__data.html">flair::core::io_data</a></div><div class="ttdoc">Abstract class for data types. </div><div class="ttdef"><b>Definition:</b> io_data.h:77</div></div> 330 331 <div class="ttc" id="classflair_1_1meta_1_1_uav_state_machine_html_a734a11e3bbedd8dd1726b2c450353da5"><div class="ttname"><a href="classflair_1_1meta_1_1_uav_state_machine.html#a734a11e3bbedd8dd1726b2c450353da5">flair::meta::UavStateMachine::SignalEvent</a></div><div class="ttdeci">virtual void SignalEvent(Event_t event)</div><div class="ttdoc">Used to signal an event. </div></div> … … 370 371 <ul> 371 372 <li class="navelem"><a class="el" href="dir_33c2ee9b1665499374b4225c427cf176.html">igep</a></li><li class="navelem"><a class="el" href="dir_f1fe274389177bd7e17de7949c4ffada.html">flair-src</a></li><li class="navelem"><a class="el" href="dir_3ef62148cf94871b4b6ee5d6e3a989c1.html">lib</a></li><li class="navelem"><a class="el" href="dir_e44722efdb10e7ceda2dbbaecca58ed3.html">FlairMeta</a></li><li class="navelem"><a class="el" href="dir_ed462f49eec2f2c269d321a045b86103.html">src</a></li><li class="navelem"><b>UavStateMachine.h</b></li> 372 <li class="footer">Generated on Fri Jul 1 2016 07:23:45for Flair by373 <li class="footer">Generated on Mon Jul 18 2016 06:45:46 for Flair by 373 374 <a href="http://www.doxygen.org/index.html"> 374 375 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
Note:
See TracChangeset
for help on using the changeset viewer.