1994 Commits

Author SHA1 Message Date
Azarakhsh Keipour
f3e21ddc7a Omni Pos-Ctrl: Reduced jerking when a large command is given in offboard
- OMNI_ATT_MODE = 2 uses OMNI_DFC_MAX_THR parameter to limit the horizontal commanded thrust now
- Other modes are not affected
2020-08-03 22:22:03 -04:00
Azarakhsh Keipour
145ada8046 Bug Fix: Fixed the parameter name in the tilted hex definition files 2020-01-21 18:23:07 -05:00
Azarakhsh Keipour
a655425849 Omni: Set the default OMNI_MAX_HOR_THR to 0.15 2020-01-21 18:23:07 -05:00
Azarakhsh Keipour
3c2087a69d Omni MC: Changed the parameter name MC_OMNI_MODE to OMNI_ATT_MODE
- To be more descriptive and similar to other (future) OMNI_ parameters
2020-01-21 18:23:07 -05:00
Azarakhsh Keipour
1d8894c930 Tilted-Hex: Added the default values for the MC_OMNI_MODE parameter to multirotor airframes 2020-01-21 18:23:07 -05:00
Azarakhsh Keipour
62d06357df Tilt-Hex: Added dynamic limits to the hexa tilt model 2020-01-21 18:23:07 -05:00
Azarakhsh Keipour
de9942b204 Tilt-Hex SITL: P gains for rpy changed to make the simulated flight smoother
- Also enabled logging for the simulated tilt-hex drone
2020-01-21 18:23:07 -05:00
Azarakhsh Keipour
0f40eb953d Bug Fix: The absolute value of Z thrust is used in the 6-Dof mixer now
- Tilt-Hex flies like a normal hex but with the new 6-dof mixer now (with some jitters)
- Some minor parameter changes in the hexa_x_tilt definition to make the simulated flight smoother
2020-01-21 18:23:07 -05:00
Azarakhsh Keipour
b2bc14f706 Bug Fix: Fixed the name of the tilt hex airframe in the CMakeLists
- Also added some commands to 6101_hexa_x_tilt.post
2020-01-21 18:23:07 -05:00
Azarakhsh Keipour
0d7d567c4b Mixer 6DoF (WIP): Added a special S mixer for 6-DoF multirotors 2020-01-21 18:23:06 -05:00
Azarakhsh Keipour
4bcf796a89 Added mixer and gazebo model for the tilted-arm hexarotor 2020-01-21 18:23:06 -05:00
Azarakhsh Keipour
e49fb5bf50 Tilt-Hex: Completed mixer definitions (for now) 2020-01-21 18:23:06 -05:00
Azarakhsh Keipour
ceb21657c0 Tilt-Hex: Added tilt hex definition files to CMakeLists 2020-01-21 18:23:06 -05:00
Azarakhsh Keipour
82d52d96c5 Defined the new tilted hex airframe 2020-01-21 18:23:06 -05:00
Daniel Agar
dc05ceaad2
create temperature_compensation module
- this is a new module for temperature compensation that consolidates the functionality previously handled in the sensors module (calculating runtime thermal corrections) and the events module (online thermal calibration)
 - by collecting this functionality into a single module we can optionally disable it on systems where it's not used and save some flash (if disabled at build time) or memory (disabled at run time)
2020-01-20 21:42:42 -05:00
Julian Oes
735749e341 Revert "SITL shell: Do math using the shell"
This reverts commit be35c4857be2483050d9a34987aeda3c6935b516.

This would only work for integer math, so for simulation speed-up. For
speeds slower than realtime we need floating point.
2020-01-17 10:32:21 +01:00
Daniel Agar
d32a80df3a
simulator: replace gpssim with simple orb publication
- this is one of the last pieces of the system that still depend on DriverFramework
 - add new SIM_GPS_NOISE_X parameter for optionally increasing the GPS noise multiplier (was previously a gpssim command line option)
 - add SIM_x_BLOCK parameters to block sensor publication
   - SIM_GPS_BLOCK
   - SIM_ACCEL_BLOCK
   - SIM_GYRO_BLOCK
   - SIM_MAG_BLOCK
   - SIM_BARO_BLOCK
   - SIM_DPRES_BLOCK
2020-01-09 10:30:20 -05:00
Jacob Dahl
d08ec05bab PWM automatic trigger system (ATS) for parachutes (#13726)
* parameter and logic to commander for triggering failsafe from external automatic trigger system.
* logic to startup script for enabling ATS. Added uORB publishing to pwm_input module.
* Refactored out CDev usage from pwm_input and ll40ls. Refactored out ll40ls specifics from pwm_input and cleaned up dead code.
2020-01-06 20:14:06 -05:00
Daniel Agar
44f9de5e37
delete parrot bebop board support
This target was never fully supported and is heavily dependent on a number of DriverFramework drivers that have no in tree equivalents (bebop bus, flow, rangefinder, etc). Deleting this will make it easier to fully drop DriverFramework shortly.
2020-01-05 19:46:51 -05:00
Lorenz Meier
f5ce40e434 FMUv2: Exclude some multicopter targets
These are rarely used airframes that should not be missed.
2019-12-26 10:16:58 +01:00
Lorenz Meier
0c85c5d18e FMUv2: Exclude some fixed wing targets
These are rarely used airframes that should not be missed.
2019-12-26 10:16:58 +01:00
Lorenz Meier
02119c1832 FMUv2: Exclude rover targets
This is reasonable as these boards are very old and rovers are a new area of activity.
2019-12-26 10:16:58 +01:00
Lorenz Meier
be35c4857b SITL shell: Do math using the shell
Bash or zsh from the last 10 years or so do math using the $((a + b)) syntax. This saves us from having bc as dependency.
2019-12-26 10:16:58 +01:00
Julian Oes
81809d8234 ROMFS: prevent high accel bias in SITL 2019-12-26 10:16:58 +01:00
JaeyoungLim
4bcdf560be airframes: add config for px4vision devkit drone (#13683)
* Added configuration file for Pixhawk Vision

Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-12-16 08:21:17 +01:00
Ricardo Marques
86d3453343 Fix rover_sitl mixer call in CMakeLists.txt 2019-12-12 13:43:08 -05:00
Daniel Agar
f769b80fde cmake px4_add_romfs_files FATAL_ERROR if file doesn't exist 2019-12-12 13:42:30 -05:00
Matthias Grob
904ab16558 Fix trailing whitespace, EOF newline, indentation 2019-12-09 13:22:19 +01:00
RomanBapst
634e8d206a tiltrotor SITL config: increase transition time from 1.5 to 5 seconds
- avoids tilting the motors forward too fast

Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-12-03 13:57:58 +03:00
Daniel Agar
0cc250194d
VTOL: explicitly start all FW & MC controllers in VTOL mode 2019-11-30 12:58:36 -05:00
Daniel Agar
bc182e94e6
sensors split rc_update into new standalone module 2019-11-24 13:25:11 -05:00
Matthias Grob
6589aa5f71 posix rcS: remove overwriting default altitude 2019-11-22 13:36:05 -05:00
Julien Lecoeur
053ede6ca5 SITL: create a parameter file for each airframe 2019-11-21 15:55:49 +00:00
Julien Lecoeur
be99064133 SITL: add SYS_AUTOCONFIG support 2019-11-21 15:55:49 +00:00
Daniel Agar
84fe64b1c2
create new multicopter rate controller module (mc_rate_control) split out of mc_att_control 2019-11-19 17:03:11 -05:00
Nik Langrind
ba5efa5642 px4io: When running HITL, don't publish actuator_outputs. Fixes #13471.
When running in HITL mode, pwm_out_sim publishes actuator_outputs.

px4io unconditionally publishes the uOrb actuator_outputs. When HITL
is configured, the px4io copy of the uOrb has all zeros.

The result is that there are two publications, one valid, and one
all-zeros. This causes the HIL_ACTUATOR_CONTROLS mavlink message
to be incorrect (all-zeros) and the SERVO_OUTPUTS_RAW mavlink
message to be inconsistent, as it takes the data from one or the
other uOrb randomly each cycle.

The fix is to let px4io know that HITL is in effect when it is
started, and modify px4io to suppress publication in this case.

This is a bigger more complicated fix than I would like, but I
think it is conceptually correct.

Signed-off-by: Nik Langrind <langrind@gmail.com>
2019-11-17 11:19:35 +01:00
Daniel Agar
a694f0bbdd bl_update: build and include board bootloader if config available 2019-11-16 11:43:42 +01:00
Daniel Agar
2af262ed1d NuttX cmake build wrapper thorough dependencies 2019-11-16 11:43:42 +01:00
TSC21
d4ddabdf52 SITL: adds 'iris_rtps' target 2019-11-13 18:24:11 +00:00
Oleg Kalachev
942cdb1fa5 Add COEX Clover 4 airframe 2019-11-11 22:45:52 -05:00
Daniel Agar
668984b6b0 boards: start adc in rc.board_sensors 2019-11-11 17:08:24 -05:00
xdwgood
f984c4e450 ROMS: delete caipirinha_vtol.main.mix and instead use vtol_tailsitter_duo.main.mix 2019-11-11 10:40:20 +01:00
Pandacoolcool
ec0244906f fix yaw control error 2019-11-11 10:40:20 +01:00
Pandacoolcool
5c7da88265 remove unuse param 2019-11-11 10:40:20 +01:00
Daniel Agar
7a82df3872
UVify Core and Draco-R updates
* Draco-R sensor orientation correction
* LL40LS sensor is not stable during I2C probing. More trials have been implemented.
* px4flow execution has been removed as rc script already running it
* GPS LED script repaired
* Off ICM20608 due to some bug?
* Removed i2c speed adjustment due to SMBUS.
* ms5611 test2 does not exist
* Baud rate has changed.
* Draco-R airframe parameters are updated.
* IFO and Draco parameters are updated
* Draco-R sensor orientation corrected
* Draco-R DSHOT supports
2019-11-02 11:39:41 -04:00
Jacob Dahl
66b3a4269b updated maintainer on 4250_teal 2019-10-30 15:31:04 +00:00
JaeyoungLim
4c8f27cf57 Fix typhoon h480 parameter (#13263) 2019-10-25 10:46:27 +02:00
Jaeyoung-Lim
f7871ec9de Retune h480 2019-10-23 16:55:30 +01:00
RomanBapst
06a902f598 rcS: do not wipe next flight UUID parameter when resetting parameters
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-10-23 16:54:17 +01:00
Daniel Agar
6a0f5249f8
sensors: split out analog battery handling to new standalone battery_status module 2019-10-21 13:40:23 -04:00