Commit Graph

27442 Commits

Author SHA1 Message Date
Roman
5847ab4607 posix main.cpp: better reporting e.g. when there are permission problems
- if somebody tries to use the shell with insufficient permissions he will be told so

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-14 14:43:08 +02:00
Roman Bapst
2d59ead1bf simulator: add MAV_TYPE to module parameters (#10476)
- this ensures that the MAV_TYPE parameter is always updated
- previously it could happen that the simulator module was using a wrong
MAV_TYPE value because it only read the parameter value at initialisation

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-13 21:56:21 -04:00
David Sidrane
3022fdb240 test_file2:test fails due to missing slash 2018-09-13 12:15:03 -07:00
David Sidrane
22a65f6c1d fmu:Fix Safety switch breakage from bc9c25a
The update check is on ORB_ID(safety) but the copy
   was from ORB_ID(actuator_armed).
2018-09-13 11:21:53 -07:00
David Sidrane
698590a5b2 Update nuttx with hardfault fix for kinetis on i2c reset 2018-09-13 06:56:00 -07:00
David Sidrane
be6f6126f4 px4io:Add passive support for Enter/Exit pwm test mode
Accept PWM_SERVO_[ENTER|EXIT]_TEST_MODE as a noop.
   As long as the mixer in passthrough and armed the
   pwm test will work.
2018-09-13 08:45:36 +02:00
David Sidrane
b578419e09 Bug fix fmu hard fault on pwm info
A hardfault was happening on:
    fmu stop
    fmu mode_pwm
    pwm info

   The _mixer was null and being dereferenced to access the trim
   setting that were moved to the mixer from the fmu.

   This commit fixes that but making the getter issue a warning
   and the setter fail.
2018-09-13 08:45:36 +02:00
David Sidrane
945a532260 pwm:Use test mode in steps command 2018-09-13 08:45:36 +02:00
David Sidrane
49f1540c30 pwm:Add test mode 2018-09-13 08:45:36 +02:00
David Sidrane
73b9f09920 fmu:Add test mode 2018-09-13 08:45:36 +02:00
David Sidrane
efb512abea drv_pwm_output:Define test enter/exit IOCTL 2018-09-13 08:45:36 +02:00
Daniel Agar
a87e81c61b Jenkins update snapdragon docker to 2018-09-12 2018-09-12 15:02:03 -04:00
Daniel Agar
8b76a87f98 OSX setup helper install pip python dependencies with sudo 2018-09-12 10:06:41 -04:00
Daniel Agar
73fe4ecd20 AV-X enable GPS for rev C board 2018-09-12 02:39:03 -04:00
Daniel Agar
90b60d44dc Jenkins update docker containers to 2018-09-11 (#10463) 2018-09-12 00:05:22 -04:00
David Sidrane
c41d7ebdd3 kinetis:Bug fix PWM led update
The code was forcing the CV reload, but not resettting the count
  this would cause short and long blinks during breathing.

  this change allows the CV to update at 50Hz (20 ms) asynchronously.
  So the LED update rate of 40Hz (25) will take effect on the next
  FTM counter change, end of the prescaler counting, after CnV register
  was written.update.
                   a   b   c   d
  LED PWM   ___-___-___-___-___-___-___-___-___-___
  LED Data  ____-____-____-____-____-____-____-____-
                 a    b    c    d
2018-09-12 01:03:22 +02:00
Daniel Agar
16a23c5527 ubuntu env setup script install python deps system wide in docker 2018-09-11 15:24:55 -04:00
Daniel Agar
c7ff4a87a3 ubuntu env setup script add file utility
- needed for cmake packaging
2018-09-11 15:24:55 -04:00
David Sidrane
520a81a951 nxphlite-v3:Disable internal mag due to random spikes.
This will disable the fxos8701cq internal mag on
  the NXPHlite. There are random noise spikes on the
  HIGHRES_IMU.[x|y|x]mag. Even with all other SPI
  devices shut down, the noise is still present.
2018-09-11 06:58:35 -07:00
Julian Oes
a9070ce6e6 sitl_run.sh: fix process grep for jMAVSim
It seems that the oneline to find the process ID of any running jMAVSim
instance was not working correctly.
1. On Linux, the name of the process does not contain Simulator but
   jmavsim_run.jar. Also, it triggers incorrectly, if you have opened
   Simulator.java using the command line :).
2. The cutting to get the PID at the end does not work as intenteded and
   gives the username instead of PID, at least on Arch Linux. Using awk
   should fix this.
2018-09-11 14:09:41 +02:00
Daniel Agar
c886d8d9af Jenkins SITL tests build grab all tags 2018-09-10 16:27:21 -04:00
Daniel Agar
33e68b3331 update ubuntu.sh setup script and python requirements.txt 2018-09-10 13:50:18 -04:00
Daniel Agar
40a68624e5 tests command ignore -Wunused-variable (#10442) 2018-09-10 11:24:57 -04:00
Hamish Willee
dc878f43a8 Param docs explain how create (#10439)
This adds text to markdown output to explain how params are generated
2018-09-10 09:38:41 -04:00
Daniel Agar
56723b2ece AV-X initial networking support 2018-09-07 16:50:32 -07:00
Beat Küng
8e563c29cb DriverFramework: update submodule
MPU6050: fix implicit float to double conversion
2018-09-06 18:10:35 +02:00
Beat Küng
c5b954dacc heater: fix resource leak 2018-09-06 12:20:08 +02:00
mcsauder
615348189e Remove doxy comments from private member variables. 2018-09-06 12:03:26 +02:00
mcsauder
e7666aa5d8 Added an imu heater driver, formatted whitespace, standardized comments, and added doxy documentation. 2018-09-06 12:03:26 +02:00
PX4 Build Bot
039221fa93 Update submodule DriverFramework to latest Thu Sep 6 04:08:26 EDT 2018
- DriverFramework in PX4/Firmware (060463e8a7): b439556d54
    - DriverFramework current upstream: c85f446f3a
    - Changes: b439556d54...c85f446f3a

    c85f446 2018-09-06 Daniel Agar - mpu6050 fix abs double promotion
2018-09-06 01:36:06 -07:00
Daniel Agar
060463e8a7 parameters lib convert to c++ (#10267) 2018-09-04 09:18:28 -04:00
mcsauder
0c08b7035b Edit the init.d-posix files to set MAV_TYPE script variables, and alphabetize lists in a few places. 2018-09-04 10:23:27 +02:00
mcsauder
4ea3306ec2 Set parameters directly rather than script variables in VTOL airframe config files and alphabetize lists. 2018-09-04 10:23:27 +02:00
fredowski
ad6e48c372 cmake - check directory existence before copy_directory (#10402)
Starting with cmake version 3.12 the cmake -E copy_directory
command fails if the source directory does not exist. This results
in a build failure. This fix creates the source directory before
the copy which does not harm if the source directory exists.

Closes: #10368
2018-09-03 20:27:32 -04:00
Beat Küng
e5a7945ad2 cmake configs: remove posix_sitl_ekf2.cmake
Not needed anymore, use PX4_ESTIMATOR.
2018-09-03 09:01:50 -04:00
Daniel Agar
d32fd27129 Jenkins SITL tests restore try to always analyze 2018-09-02 20:50:52 -04:00
Daniel Agar
d7580aa676 px4fmu-v5 increase CONFIG_USERMAIN_STACKSIZE slightly 2018-09-02 16:41:41 -04:00
Daniel Agar
8fbeb6f717 cmake px4_add_git_submodule set USES_TERMINAL
- this allows interacting with the submodules check
2018-09-02 16:28:45 -04:00
Daniel Agar
d6fd1c4811 rgbled_pwm increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
2dbc95382e rgbled increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
ee90eb6c92 IST8310 increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
6abd0c2672 BMI055 increase MAIN stack 2018-09-02 16:15:03 -04:00
Daniel Agar
ab8bf09996 tests cmd remove unused stack module option 2018-09-02 15:31:54 -04:00
Daniel Agar
ea73284a1f uORB tests increase stack sizes 2018-09-02 15:31:54 -04:00
Daniel Agar
1a0472dfab sensors increase MAIN stack 2018-09-02 15:31:54 -04:00
Daniel Agar
2dd71fa73c mpu6000 increase MAIN stack 2018-09-02 15:31:54 -04:00
Daniel Agar
b75fa645ce bmp280 increase MAIN stack 2018-09-02 15:31:54 -04:00
Daniel Agar
34da02f41b Jenkins compile add px4fmu-v5_stackcheck 2018-09-02 15:31:54 -04:00
Daniel Agar
ac298664c7 nuttx-configs increase idle thread stack size to 750 bytes 2018-09-02 15:31:54 -04:00
Daniel Agar
55abaaf6ab uORB printf map extend floating point decimal places 2018-09-02 21:13:10 +02:00