Mark Whitehorn
7e3d07207c
Update README.md
2017-04-10 09:37:49 +02:00
Mark Whitehorn
8b6b4ccee9
add macro PX4FMU_TASK to board_config
2017-03-23 08:28:15 +01:00
Mark Whitehorn
f7f12759cd
Revert "add timer validation call"
...
This reverts commit 30fe2aa4fb8c099028fd5ca4f50940e88eddbb08.
2017-03-23 08:28:15 +01:00
Mark Whitehorn
bbebf980d8
add timer validation call
2017-03-23 08:28:15 +01:00
Mark Whitehorn
b5169b0c7b
uncomment FMU servo readback test
2017-03-23 08:28:15 +01:00
Mark Whitehorn
9e3488af46
don't update servos if mixer_mix_threadsafe() failed to run
2017-03-23 08:28:15 +01:00
Mark Whitehorn
dd25366b86
clean up timer_set_rate and add advice on hacking counter frequency
2017-03-23 08:28:15 +01:00
Mark Whitehorn
2d5588ae02
simplify oneshot mode selection; use zero PWM rate as indicator
...
cleanup and remove unused (new) params
2017-03-23 08:28:15 +01:00
Mark Whitehorn
aa9fbbedd5
add oneshot mode capability
...
change fmu to task
increase fmu_servo task priority to max and enable true oneshot
use lowest FMU priority which minimizes jitter
constrain oneshot updates to control group 0 events
2017-03-23 08:28:15 +01:00
Mark Whitehorn
71baa4b54a
Update README.md
2017-01-09 15:42:58 -08:00
Mark Whitehorn
3d1f240351
exclude config from fmu-v1/v2 builds
2016-12-21 11:00:29 +01:00
Mark Whitehorn
c722e2733f
update s250aq config for new TPA params
2016-12-21 11:00:29 +01:00
Mark Whitehorn
8962eaa944
add new asymmetric airframe for Spedix S250AQ
2016-12-21 11:00:29 +01:00
Mark Whitehorn
48778ed3f2
bump parameter minor version
2016-12-16 18:12:17 +01:00
Mark Whitehorn
bad2dc80a4
change default THR_MDL_FAC to zero (disabled)
2016-12-16 18:12:17 +01:00
Mark Whitehorn
e5f4f50a52
add param_find for THR_MDL_FAC
2016-12-16 18:12:17 +01:00
Mark Whitehorn
381a565ce3
add THR_MDL_FAC parameter handling to FMU
2016-12-15 23:39:53 +01:00
Mark Whitehorn
08d36fe2af
move initial pwm trim update to pwm_ioctl load case
2016-12-15 00:13:59 +01:00
Mark Whitehorn
d8d9ab1bfb
switch fmu-v2 config back to old logger: config now identical to master
2016-12-10 12:56:39 +01:00
Mark Whitehorn
88126e560f
remove trim command: replaced by trim parameters
2016-12-10 12:56:39 +01:00
Mark Whitehorn
fc906a79b0
delete commented code
2016-12-10 12:56:39 +01:00
Mark Whitehorn
086043a237
remove unused variable
2016-12-10 12:56:39 +01:00
Mark Whitehorn
6257d9bde1
remove pwm "trim" command; replaced by parameter values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
86252e19e6
clean up other build targets
2016-12-10 12:56:39 +01:00
Mark Whitehorn
f0b41a0e52
change main trims to normalized values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
dbc149c224
change trim units from absolute usec to normalized values
2016-12-10 12:56:39 +01:00
Mark Whitehorn
d8528f46ce
remove DEBUG_BUILD from fmu.cpp compile flags
2016-12-10 12:56:39 +01:00
Mark Whitehorn
764101e41e
bump parameter minor version
2016-12-10 12:56:39 +01:00
Mark Whitehorn
876ab45bf3
fix errors in crazyflie and navio builds
2016-12-10 12:56:39 +01:00
Mark Whitehorn
d4c707e698
remove INAV and switch to new logger for fmu-v2 builds
...
roughly 10K bytes below the 1MiB limit
2016-12-10 12:56:39 +01:00
Mark Whitehorn
e80ef34b0d
retest FMU control latency
2016-12-10 12:56:39 +01:00
Mark Whitehorn
009a413438
fix argument order in pwm_limit_calc call, clean up
...
note that FMU does not update AUX pwm outputs if no RC signal
2016-12-10 12:56:39 +01:00
Mark Whitehorn
f3c3d1f7f9
fix rebase merge error
2016-12-10 12:56:39 +01:00
Mark Whitehorn
257e236c92
add errno to error message
2016-12-10 12:56:39 +01:00
Mark Whitehorn
5601ca19de
astyle
2016-12-10 12:56:39 +01:00
Mark Whitehorn
0ccfcab010
fmu trims still not working
2016-12-10 12:56:39 +01:00
Mark Whitehorn
82bfaf3967
debugging fmu mode_pwm4 not recognized
2016-12-10 12:56:39 +01:00
Mark Whitehorn
ea83b67bd8
add trim parameter handling
2016-12-10 12:56:39 +01:00
Mark Whitehorn
9ced4afca3
add AUX trim parameters
2016-12-10 12:56:39 +01:00
Mark Whitehorn
a0c8a78a14
use trim values to set mixer:scaler.offset
...
clamp mixer output offset to [-.2,.2] ([-2000, 2000] in mixer file)
add 8 main PWM trim parameters
add long desc to parameters and bump minor parameter version
2016-12-10 12:56:39 +01:00
Mark Whitehorn
3294d839d6
add airframe metadata
2016-12-05 10:25:54 +01:00
Mark Whitehorn
a0796c6847
add tests to auavx21 config
2016-11-29 08:03:23 +01:00
Mark Whitehorn
77a23a043f
use include statement instead of symbolic link
2016-11-11 09:50:42 +01:00
Mark Whitehorn
92ae763535
change board_config to symbolic link
2016-11-11 09:50:42 +01:00
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