andybarry / simflight

Simulation environment for flight systems
Other
42 stars 35 forks source link

Logfile Example #1

Closed weiweikong closed 7 years ago

weiweikong commented 8 years ago

Hi, would it be possible to share some .mat files for testing the project, because that the setup of the code need logfile_name linking to the specific log data.

realtime_path = '/home/abarry/realtime/';
logfile_path = '/home/abarry/rlg/logs/2015-09-17-field-test/odroid-gps2/';

logfile_name = 'lcmlog_2015_09_17_04.mat';

Thanks

andybarry commented 8 years ago

Sure, what are you trying to look at? The system identification, simulation, or something else?

weiweikong commented 8 years ago

I would prefer to know more detail about the Trajectory Libraries, TVLQR feedback control and Online Planning, which based on this simulation environment. Or maybe some more introduction about the code would be better.

Also, I just finished watching your defense video, but there are still some details not mentioned during the talk. Is your thesis file online available?

Merry Christmas! ~

andybarry commented 8 years ago

Merry Christmas! I uploaded some log files and added links to the README. Take a look and let me know if it's what you were looking for. I'll upload the final pdf for my thesis in the next few days.

weiweikong commented 8 years ago

Would it be possible to give a short step-by-step introduction to load and test the log files for visual perception, trajectory planning and onboard control?

andybarry commented 8 years ago

Sorry, some of the .m files were mixed in with my other repo "flight." I moved them into this repo and changed a few things so that you can do almost everything without that repo.

I updated the README with some examples. Look at the beginning of do_pem.m and see if loading the logs works.

There are not images posted online yet -- I'll open another issue for that.

Let me know if the examples work and/or what else I should add.

weiweikong commented 8 years ago

Thanks for your update. There are some further errors.

andybarry commented 8 years ago

realtime_path is the path to my other repo: https://github.com/andybarry/flight but I added some code which should mean that you don't need it. The Error initializing LCM types. If you want to use the HUD visualizer, you need to run error is telling you that you don't have that path, so it's disabling some functionality that you probably don't need (using a HUD visualizer in addition to the normal visualizer).

LCM: Disabling IPV6 support
LCM: TTL set to zero, traffic will not leave localhost.

are super-standard LCM warnings that you'll always see when using something with LCM in Matlab. Don't worry about those at all.

The stereo vision part isn't impemented in this repo (or in MATLAB). You'll find that in C++ over in my flight repo. Look here:

https://github.com/andybarry/flight/blob/master/sensors/stereo/pushbroom-stereo.hpp and https://github.com/andybarry/flight/blob/master/sensors/stereo/pushbroom-stereo-main.hpp

andybarry commented 8 years ago

Since you asked before, my thesis is now online: http://abarry.org/Barry16.pdf

andybarry commented 7 years ago

Datafiles are now online.