Commit Graph

7538 Commits

Author SHA1 Message Date
Beat Küng f40afac448 logger: fix 'Undefined symbols for architecture x86_64' on clang for _min_write_chunk 2016-05-14 11:27:07 +02:00
Beat Küng 3dade23e39 logger: fix _min_write_chunk comparison and set file descriptor after closing it 2016-05-14 11:27:07 +02:00
Beat Küng 8b5a325644 logger: remove _log_buffer from Logger, initialize it in the writer instead
it's not used in the logger, so don't store it there. It is accessed via
LogWriter::write.
This also makes sure the buffer size is >= _min_write_chunk and handles
allocation failure properly.
2016-05-14 11:27:07 +02:00
Beat Küng 04f38b9197 fix Logger::add_topic: 0 is a valid file descriptor 2016-05-14 11:27:07 +02:00
Beat Küng d0d2664efa logger: use %zu to print type size_t, use PX4_INFO instead of printf 2016-05-14 11:27:07 +02:00
Beat Küng dd22445768 Logger::add_topic: error handling if orb_subscribe or _subscriptions.push_back fail 2016-05-14 11:27:07 +02:00
Beat Küng e9f257c15f logger: fix wrong default buffer size in usage string 2016-05-14 11:27:07 +02:00
Beat Küng 84015e5c01 logger: proper error handling if writer thread creation fails 2016-05-14 11:27:07 +02:00
Mark Whitehorn 72263eaa97 correct msg_size offset to 3 for all records (must be same) 2016-05-14 11:27:07 +02:00
Mark Whitehorn 9dbbe8cd8d log changes to parameters 2016-05-14 11:27:07 +02:00
Mark Whitehorn e5e523aa9e size_t is different in posix build 2016-05-14 11:27:07 +02:00
Mark Whitehorn fb4d72df86 write git and hw version records to log 2016-05-14 11:27:07 +02:00
Mark Whitehorn 90ce04654d fix posix build 2016-05-14 11:27:07 +02:00
Mark Whitehorn 02b6d25414 non-posix NuttX feature? 2016-05-14 11:27:07 +02:00
Mark Whitehorn 8a77fec9c8 still need this workaround to avoid hardfault 2016-05-14 11:27:07 +02:00
Mark Whitehorn db858a853a run astyle 2016-05-14 11:27:07 +02:00
Mark Whitehorn 1b483bcc2a correctly report failure to allocat log_buffer 2016-05-14 11:27:07 +02:00
Mark Whitehorn f07c93651f clean up file open/close logic 2016-05-14 11:27:07 +02:00
Mark Whitehorn 56cc9bd377 my topics 2016-05-14 11:27:07 +02:00
Daniel Agar dcdeefd5ea new logger 2016-05-14 11:27:07 +02:00
Daniel Agar 9a0e962cbf uorb autogeneration 2016-05-14 11:27:07 +02:00
Mark Whitehorn 728de5f87b clean up file open/close logic 2016-05-14 11:27:07 +02:00
Daniel Agar 4e0129275d new logger 2016-05-14 11:27:07 +02:00
Daniel Agar eb29b33620 use gcc attributes to align and pack 2016-05-14 11:27:07 +02:00
Daniel Agar 76387b1693 uorb autogeneration 2016-05-14 11:27:07 +02:00
Paul Riseborough 3aa2297497 ekf2: Add parameters to control output filter 2016-05-14 11:24:41 +02:00
Julian Oes 3a8d242576 dataman: get path for Snapdragon right 2016-05-14 11:21:44 +02:00
Daniel Agar e186821692 vtol_att_control_params.c param metadata 2016-05-13 21:15:38 -04:00
Daniel Agar b1d8c46bb2 uavcan_params.c param metadata 2016-05-13 21:15:38 -04:00
Daniel Agar 0ee801df20 system_params.c param metadata 2016-05-13 21:15:38 -04:00
Daniel Agar 119fa8ed1b sensor_params.c param metadata 2016-05-13 21:15:34 -04:00
Daniel Agar 0042c8ed12 sdlog2.c param metadata 2016-05-13 21:03:40 -04:00
Daniel Agar e43751c219 params.c param metadata 2016-05-13 21:03:40 -04:00
Daniel Agar e08e8fa24f position_estimator_inav_params.cpp param metadata 2016-05-13 21:03:40 -04:00
Daniel Agar be3348d770 mission_params.c param metadata 2016-05-13 21:03:40 -04:00
Daniel Agar 439ccc99ce params.c param metadata 2016-05-13 21:03:39 -04:00
Daniel Agar d6cf441bac mTecs_params.c param metadata 2016-05-13 21:03:39 -04:00
Daniel Agar a54a51a9d5 fw_pos_control_l1_params.c param metadata 2016-05-13 21:03:39 -04:00
Daniel Agar 80ef893d23 attitude_estimator_q_params.c param metadata 2016-05-13 21:03:39 -04:00
Daniel Agar be3f0ac175 attitude_estimator_ekf_params.c param metadata 2016-05-13 21:03:39 -04:00
Daniel Agar 27cd3af7fb mavlink fix missing MavlinkStreamNavControllerOutput (#4538) 2016-05-14 00:39:17 +02:00
Lorenz Meier 7d66435546 Commander: Fix the takeoff and land commands. Fixes #4516 2016-05-13 22:05:46 +02:00
CarlOlsson 88800b9e36 added tas_innov_gate to params 2016-05-13 13:55:57 +02:00
korotkoves 1a992c2d02 fix code style for Travis 2016-05-13 13:24:30 +02:00
korotkoves 7f9ab9b7cb fix code style for Travis 2016-05-13 13:24:13 +02:00
korotkoves 22e3ce7d7a simulator udp port from command line 2016-05-13 13:23:20 +02:00
Daniel Agar 27fc739f7d load_mon use STACK_MAIN 2016-05-13 13:01:42 +02:00
Daniel Agar 51298c1eb1 remove unused 2016-05-13 13:01:42 +02:00
Daniel Agar d85e7732b4 fix param_test 2016-05-13 13:01:42 +02:00
Daniel Agar 008354f935 testing cleanup 2016-05-13 13:01:41 +02:00