Commit Graph
58 Commits
Author SHA1 Message Date
Anton Matosov 890c415ff2 Set acro to allowed max values 2017-06-07 12:20:05 +05:30
Anton Matosov f692b87232 Replace tab with space between param name and value to prevent bricking 2017-06-07 12:20:05 +05:30
Anton Matosov 3a17c07b1e Implement RC and DL failsafe action handling for multirotors
Move RC and DL failsafe actions handling from navigator to commander (credits to @AndreasAntener)
Separate manual kill switch handling via manual_lockdown to prevent override and release of software lockdown by RC switch

Other changes:
Add failsafe tune
Fix LED blinking for Pixracer
Return back support for rc inputs in simulator but now it is configurable via cmake
2016-12-27 00:38:13 +01:00
Anton Matosov 6d3116e30b Implement the way to run posix simulator directly from IDE without the need to reconfigure command lines, but use runner created via CMake
Steps to debug:
 * Run gazebo (or any other sim) server and client viewers via the terminal: `make posix_sitl_default gazebo_none_ide`
 * In your IDE select `px4_<mode>` target you want to debug (e.g. `px4_iris`)
 * Start debug session directly from IDE

This approach significantly reduces the debug cycle time because simulator (e.g. gazebo) is always running in background and you only re-run px4 process which is very light.
2016-12-26 15:38:25 +01:00
Anton Matosov fff4934743 Implement the way to run posix simulator directly from IDE without the need to reconfigure command lines, but use runner created via CMake
Steps to debug:
 * Run gazebo (or any other sim) server and client viewers via the terminal: `make posix_sitl_default gazebo_none_ide`
 * In your IDE select `px4_<mode>` target you want to debug (e.g. `px4_iris`)
 * Start debug session directly from IDE

This approach significantly reduces the debug cycle time because simulator (e.g. gazebo) is always running in background and you only re-run px4 process which is very light.
2016-12-10 12:48:53 +01:00
Anton Matosov a2c0391bcc Rework TPA to have per-component setup and use more stable and intuitive function
This also adds a ZMR250 config.
2016-12-10 12:42:47 +01:00
Anton Matosov 90c049d8ec Fix formatting 2016-11-19 15:14:46 +01:00
Anton Matosov cd40512505 Add mag2, acc2 and gyro2 sensors params to make sure backup/restore is reliable 2016-11-19 15:14:46 +01:00
Anton Matosov 96fc66ff7d Add force param_find for missing sensor parameters to fix load/save loss of calibration data 2016-11-19 15:14:46 +01:00
Anton Matosov e284a28e25 Fixed formatting 2016-11-19 15:14:18 +01:00
Anton Matosov 4edd12c44a Make PWM_RATE configurable via QGroundControl 2016-11-19 15:14:18 +01:00
Anton Matosov 0734db1740 Ignore all CLion related files as they are all generated from cmake 2016-11-15 11:10:22 +01:00
Anton Matosov 3414fc1c7c Setup default CLion ignores 2016-11-15 11:10:22 +01:00
Anton Matosov f8e471d95c Implemented Quaternion position for Gimbal (not tested) 2015-03-06 18:57:38 -08:00
Anton Matosov e5a73f0795 Disambiguate comment of main mixer 2015-03-06 18:57:38 -08:00
Anton Matosov 38171121fb Fixed comments 2015-03-06 18:57:38 -08:00
Anton Matosov e191958ce6 Made aux output pwm rate, min, max, disarmed and failsafe values configurable the same way as for the main outputs 2015-03-06 18:57:38 -08:00
Anton Matosov 7bf6c3bae8 Increased update rate to get rid of glitches in servo movements 2015-03-06 18:57:38 -08:00
Anton Matosov c5bb12be3b Disabled logging of the each componsated value 2015-03-06 18:57:38 -08:00
Anton Matosov c76839df73 Implemented yaw componsation 2015-03-06 18:57:38 -08:00
Anton Matosov 610a714e85 Added sublime build system that uploads just built product
Renamed existing build system to be more verbose
2015-03-06 18:57:37 -08:00
Anton Matosov 3db6d08b5c Enabled attitude compensation by default as that is all the gimbal driver is about 2015-03-06 18:57:37 -08:00
Anton Matosov db6ad147d5 Removed extra space 2015-03-06 18:57:37 -08:00
Anton Matosov 3f9a4ce00e SK450 gimbal tuning 2015-03-06 18:57:37 -08:00
Anton Matosov 6d51da2ff1 Adopted SK450 mixer for the gimbal control group
Added start of the gimbal driver for SK450
2015-03-06 18:57:37 -08:00
Anton Matosov 3647b75303 Updated @author 2015-03-06 18:57:37 -08:00
Anton Matosov 72274062c1 Renamed servo_gimbal to simply 'gimbal' as HW is behind the scene and doesn't really matter here 2015-03-06 18:57:37 -08:00
Anton Matosov 076180a983 Added missing enum definitions
Fixed float equality checks
2015-03-06 18:57:37 -08:00
Anton Matosov 415846b486 Added aux mixer for SK450 2015-03-06 18:57:37 -08:00
Anton Matosov ba89c9eae2 Adopted sk450_deadcat mixer file name 2015-01-08 13:58:46 +02:00
Anton Matosov 8624e2a775 Fixed naming of the mixer
Added mixer check to set MAV_TYPE correctly
2015-01-08 13:58:46 +02:00
Anton Matosov 2776a705f4 Adopted SK540 config to the latest changes in the init scripts
Lowered the pwm min
2015-01-08 13:58:46 +02:00
Anton Matosov 7d528330d5 Implemented SK450 DeadCat frame support
Implemented the way to specify motor output scale which is required for SK450 DeadCat as it has asymetrical arms (front arms are longer than back ones)
2015-01-08 13:58:46 +02:00
Anton Matosov e405fafe88 Applied code review comments (newline at end of file, whitespaces in empty lines) 2015-01-08 13:35:02 +02:00
Anton Matosov 25054d389a Broke down the elif into else and if as nsh doesn't support elif
Fix invalid set of the variable
2015-01-08 12:55:50 +02:00
Anton Matosov 08062e6546 Changed naming of the mixers to get rid of umbiguity as outputs are actually going to be driven by io, not fmu
Implemented automatic lookup for the .aux.mix file if it exists
2015-01-08 00:53:52 +02:00
Anton Matosov 5841686a2e Changed the way CC is reset to CXX, used a real value instead of hardcoded g++. 2015-01-06 01:27:09 +02:00
Anton Matosov 9767dd6c30 Switched to full C++11 feature set 2015-01-06 00:54:17 +02:00
Anton Matosov fbf51360b3 Merged with px4/multitables
Conflicts:
	src/modules/systemlib/mixer/multi_tables
2015-01-06 00:30:23 +02:00
Anton Matosov a73108d116 Fixed autoconf variable check 2015-01-05 23:07:41 +01:00
Anton Matosov b04559e5fa Removed include that couses compilation failure 2015-01-05 23:48:18 +02:00
Anton Matosov e466e10d23 using type aliases are not supported by g++ 4.6 2015-01-05 23:33:19 +02:00
Anton Matosov 29d0754df6 std::underlying_type is not supported by the g++ 4.6 used by CI server 2015-01-05 23:22:43 +02:00
Anton Matosov 117d43067f Switched to enum class out of class definition 2015-01-05 23:15:12 +02:00
Anton Matosov 18bf501992 Added output of the generated multi_tables to the terminal as well as to the file
Changed compiler C++0x enabling flag to check if it is a cuase
Updated copyrights
2015-01-05 21:59:56 +02:00
Anton Matosov 68978b814a Fixed autoconf variable check 2015-01-05 13:23:47 +02:00
Anton Matosov 3bf5dd416e Fixed compilation 2015-01-05 13:22:53 +02:00
Anton Matosov 6ba0b75804 Replaced tabs with spaces as it is critical for some python builds 2015-01-05 12:41:25 +02:00
Anton Matosov 1bc6c44a0e Fixed compilation of tests target in clean checkout
Moved mixer_multirotor.generated.h generation to the standalone makefile to prevent copypaste
2015-01-05 12:37:05 +02:00
Anton Matosov 21b45ae86b Removed extension for multi_tables to not affect its users
Fixed dependencies for the mixer_multirotor.cpp from all the modules
2015-01-05 12:02:32 +02:00
Anton Matosov 2daf30fb25 Rewrote multi_tables with python 2015-01-05 12:02:32 +02:00
Anton Matosov 0e4268a804 Enabled C++11 for tests target (trying other compiler flag) 2015-01-05 12:02:32 +02:00
Anton Matosov a4cf9be8e0 Enabled C++11 for tests target 2015-01-05 12:02:32 +02:00
Anton Matosov 8fadbdcf2f Automated generation of the Geometry enum to make addition of the new multirotor a really simple task 2015-01-05 12:02:32 +02:00
Anton Matosov 388833a1fa Added explicit dependency into makefile, as implicit one doesn't work often. 2015-01-05 12:02:32 +02:00
Anton Matosov 59fa170e54 Automated updates of the C++ code generated by the multi_tables script, now it is placed into the mixer_multirotor.generated.h file which is generated by makefile 2015-01-05 12:02:31 +02:00
Anton Matosov c4471d77d7 Moved quad_v and twin_engine to the multi_tables in order to make all the tables been generated automatically 2015-01-04 19:46:29 +02:00
Anton Matosov 55741be473 Made it possible to specify yaw scale for the copter 2015-01-04 19:34:28 +02:00