Commit Graph
100 Commits
Author SHA1 Message Date
Mark Whitehorn 40f2c4a8e4 add new board config for fmu-v3 2016-11-11 09:50:42 +01:00
Mark Whitehorn 9603794b9d set verbose flag for Dcm.renormalize test 2016-11-05 11:05:25 +01:00
Mark Whitehorn 03beeb2e55 update matrix submodule 2016-11-05 11:05:25 +01:00
Mark Whitehorn fc73ab5e40 add unit test for Dcm.renormalize() 2016-11-05 11:05:25 +01:00
Mark Whitehorn 25be7aa7cf incorporate Bill Premerlani's fast rotation handling from MatrixPilot 2016-11-03 23:03:03 +01:00
Mark Whitehorn 4cc97aa705 fix another bug in fmu mode 2016-10-24 18:22:18 +02:00
Mark Whitehorn a56d50599d subscribe to vehicle_command topic and implement RX_PAIR command
add spektrum satellite bind command to fmu

open fmu file descriptor to issue ioctl
2016-10-08 16:19:45 +02:00
Mark Whitehorn 9500b7f01f update submodule 2016-10-04 12:54:58 +02:00
Mark Whitehorn ec1609350f fix jMAVSim body-fixed XYZ Euler Angles 2016-10-04 12:54:58 +02:00
Mark Whitehorn 95f899fee7 always publish simulator groundtruth attitude 2016-09-19 13:07:02 +02:00
Mark Whitehorn 8f64825297 switch to new logger for posix_sitl_default 2016-09-19 13:05:14 +02:00
Mark Whitehorn ca9ac1c807 add default simulator groundtruth topic only for SITL builds 2016-09-19 13:05:14 +02:00
Mark Whitehorn f24b199775 add HIL_STATE message handler and publish to uORB
add missing break

uorb topics generator: add multi-topics to the list of all topics

topic names with '# TOPICS <name>' were previously not in orb_get_topics().
This means the logger could not find them.

Affects for example actuator_controls_0.

px_generate_uorb_topic_files.py: add multitopics to generate_topics_list_file_from_files method

switch simulated attitude to new topic: vehicle_attitude_groundtruth

logger: add input_rc topic. needed for web plotting

input_rc.msg: remove timestamp_publication, use timestamp instead

mixer.cpp: warnx -> PX4_ERR

logger: initialize timer_call to 0 (hrt_call_every reads some fields)

position_setpoint_triplet topic: set the timestamp when publishing

px_generate_uorb_topic_files.py: add multitopics to generate_topics_list_file_from_files method

add vehicle_attitude_groundtruth to default topics

change to hil_state_quaternion
2016-09-19 13:05:14 +02:00
Mark Whitehorn a054fb1e04 fix altitude setpoint bug (#5409) 2016-09-03 12:33:36 +02:00
Mark Whitehorn bad6f0032c change board rotation to zero (#5392) 2016-08-27 22:56:08 +02:00
Mark Whitehorn 545152f676 remove "transitional support" (#5378) 2016-08-24 23:05:39 +02:00
Mark Whitehorn 75c95955fc Update 4050_generic_250 (#5343) 2016-08-19 22:20:27 +02:00
Mark Whitehorn 1b5964dc42 Update 4009_qav250 (#5344) 2016-08-19 22:19:47 +02:00
Mark Whitehorn f1a1c9d7da add breakpoint and slope params for TPA 2016-08-17 23:15:36 +02:00
Mark Whitehorn 5c78af0f36 simple linear throttle PID attenuation test 2016-08-17 23:15:29 +02:00
Mark Whitehorn bbe3525377 fix VTOL vehicle_status timestamp (#5252)
* fix VTOL vehicle_status timestamp

* run astyle
2016-08-05 17:00:12 +02:00
Mark Whitehorn 422cf7e21c assign timestamp in vtol vehicle_rates_setpoint message (#5227) 2016-08-04 08:22:33 +02:00
Mark Whitehorn 981353f439 fix bug in RC scan for SUMD input 2016-07-16 16:35:03 +01:00
Mark Whitehorn 09227526b6 enable use of GPS time for new logger folder/file naming (#5010) 2016-07-10 11:15:27 +02:00
Mark Whitehorn 40a7bd009f implement Spektrum bind function for Pixracer R14 (#4887) 2016-06-23 23:27:51 +02:00
Mark Whitehorn 0bf7c39356 remove extraneous topic list file 2016-06-10 08:51:54 +02:00
Mark Whitehorn f129b86d1b reduce logbuffer size to 12K due to lack of RAM 2016-06-10 08:51:54 +02:00
Mark Whitehorn 0ca63fa379 move default topics into logger.cpp; add on/off command
look for alternate topic list at
/fs/microsd/etc/logging/logger_topics.txt
on and off commands have the same effect as arm/disarm
2016-06-10 08:51:54 +02:00
Mark Whitehorn 2bd15f1698 fix string handling issues and simplify parser 2016-06-10 08:51:54 +02:00
Mark Whitehorn f250911776 read topics to log from a text file 2016-06-10 08:51:54 +02:00
Mark Whitehorn 0a27d14f6c robustify S.port and D telemetry detection (#4731) 2016-06-09 23:33:57 +02:00
Mark Whitehorn 84761a9b8e add parameter for arm/disarm "hysteresis" 2016-05-22 10:26:00 +02:00
Mark Whitehorn e7add076b5 typo in comment 2016-05-22 10:26:00 +02:00
Mark Whitehorn 87e5499ad2 stop spamming console with timeout warnings 2016-05-19 22:16:29 +02:00
Mark Whitehorn c626f5b001 shorten pwm init and ramp times 2016-05-19 22:14:29 +02:00
Mark Whitehorn c7e7026f47 remove code obsoleted by move of log buffer 2016-05-14 11:27:07 +02:00
Mark Whitehorn 4e50f271d6 use C99 print format for size_t 2016-05-14 11:27:07 +02:00
Mark Whitehorn 26596dbe15 fix infinite loop when not logging 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 89294317a1 reduce log buffer to 24K 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
Mark Whitehorn 728de5f87b clean up file open/close logic 2016-05-14 11:27:07 +02:00
Mark Whitehorn 672042e051 not enough RAM for 32K buffer: reduce to 20K 2016-05-14 11:27:07 +02:00
Mark Whitehorn b429fbc024 update generic 250 racing quad parameters 2016-05-10 22:33:19 +02:00
Mark Whitehorn 1a5040b9d2 only call fsync in NUTTX builds 2016-04-25 21:51:09 +02:00
Mark Whitehorn 6f20b9e1df fix unused variable error 2016-04-25 21:51:09 +02:00
Mark Whitehorn 4cf427510e fix problem with log_file_path and add msg timestamps 2016-04-25 21:51:09 +02:00
Mark Whitehorn 37bd291446 fix regression which broke rattitude mode 2016-04-22 08:40:40 +02:00
Mark Whitehorn f097e118df assign timestamp 2016-04-19 21:19:44 +02:00
Mark Whitehorn ebacd4c1de add missing check for stop command in idle state 2016-04-11 17:54:39 +02:00
Mark Whitehorn 817c0eafbc add low battery warning and comment out the "resolved" messages 2016-04-05 19:13:49 -07:00
Mark Whitehorn b4520f538e report sensor init failure 2016-04-05 19:13:49 -07:00
Mark Whitehorn 2f057939ad fix bug in handling of missing default current scaling parameter 2016-04-02 21:40:34 +01:00
Mark Whitehorn c37cf7abd4 remove broken configgpio call; tested OK on R14 2016-03-21 22:01:20 +01:00
Mark Whitehorn 192c2a32c8 unconfigure GPIO_PPM_IN before reconfiguring 2016-03-21 22:01:20 +01:00
Mark Whitehorn 6b997f9e91 fix error in use of union 2016-03-19 11:22:37 +04:00
Mark Whitehorn 7dde4cb55b fix sensor_combined_s temperature indexing error 2016-03-19 11:22:37 +04:00
Mark Whitehorn 8e4a1ca36e change large mag offset from error to warning 2016-03-11 13:58:26 -07:00
Mark Whitehorn c49e576d60 reduce output scaling as workaround for broken output limits 2016-03-01 09:21:58 +01:00
Mark Whitehorn b57e8793f5 clarify left/right and elevon assignments 2016-03-01 09:21:58 +01:00
Mark Whitehorn d61f935bb1 fix sign of roll in elevons mixer 2016-03-01 09:21:58 +01:00
Mark Whitehorn beab5ec3d7 reduce output scaling as workaround for broken output limits 2016-03-01 09:21:58 +01:00
Mark Whitehorn 1551898f5a fix typo in comment 2016-03-01 09:21:58 +01:00
Mark Whitehorn 53ed61790d fix typo in comment 2016-03-01 09:21:58 +01:00
Mark Whitehorn 5ee6dad7ea clarify left/right and elevon assignments 2016-03-01 09:21:58 +01:00
Mark Whitehorn ad54f0149c fix sign of roll in elevons mixer 2016-03-01 09:21:58 +01:00
Mark Whitehorn 98a4dd6a4a run astyle 2016-03-01 09:02:14 +01:00
Mark Whitehorn bebe8b0a78 init frsky_state properly 2016-03-01 09:02:14 +01:00
Mark Whitehorn ab596e3711 scan indefinitely for FrSky RX, report state in status 2016-03-01 09:02:14 +01:00
Mark Whitehorn 607053cfbc decrease stack allocation to 1100 2016-03-01 09:02:14 +01:00
Mark Whitehorn 52465d07b9 run astyle 2016-03-01 09:02:14 +01:00
Mark Whitehorn 8186139dad reduce D-type stack usage and static allocations 2016-03-01 09:02:14 +01:00
Mark Whitehorn 6d2927cd7a allocate structs on the heap; exit daemon if no FrSky receiver detected 2016-03-01 09:02:14 +01:00
Mark Whitehorn 95d328f57c remove commented code and change to sensor_baro topic to filter altitude 2016-03-01 09:02:14 +01:00
Mark Whitehorn 6d509835eb clean up uORB code 2016-03-01 09:02:14 +01:00
Mark Whitehorn 0960e1a820 make structs static and decrease stack size, run astyle 2016-03-01 09:02:14 +01:00
Mark Whitehorn 6fa6e72250 add sPort GPS telemetry 2016-03-01 09:02:14 +01:00
Mark Whitehorn fcfe64ee5a enable disarmed PWM and rework safety switch disable logic 2016-02-29 12:29:30 -07:00
Mark Whitehorn 29b0520263 enable PWM with safety switch off 2016-02-29 12:29:30 -07:00
Mark Whitehorn 04a9eada1e disable safety switch if CBRK_IO_SAFETY is on 2016-02-27 11:25:56 +01:00
Mark Whitehorn beb9707933 fix fmuv1 compile error 2016-02-27 11:25:56 +01:00
Mark Whitehorn 426903c617 run astyle 2016-02-27 11:25:56 +01:00
Mark Whitehorn b6231c718b reduce safety switch sampling to ~10Hz and clean up 2016-02-27 11:25:56 +01:00
Mark Whitehorn ef2a7bda53 add fmuv4 safety switch handling 2016-02-27 11:25:56 +01:00
Mark Whitehorn 5a7d31f7a9 fix typo in comment 2016-02-27 11:25:56 +01:00
Mark Whitehorn 7c91aaee64 add generic 250 quad_x config tuned for acro mode 2016-02-19 08:58:19 +01:00
Mark Whitehorn d5d3b63dc8 delete parameter MPC_HOLD_Z_DZ 2016-02-17 15:23:16 +01:00
Mark Whitehorn 8cd4b57c6b add parameters for adjusting ALTCTL deadband 2016-02-17 15:22:28 +01:00
Mark Whitehorn ead3eeda6c expand description of MPC_THR_HOVER parameter 2016-02-17 15:22:28 +01:00
Mark Whitehorn 5de7c7e426 zero altctl deadband 2016-02-17 15:22:28 +01:00
Mark Whitehorn 159abb9b00 add parameter for hover throttle setting
and tighten z deadband
2016-02-17 15:22:28 +01:00