Commit Graph

374 Commits

Author SHA1 Message Date
Mohamed Abdelkader Zahana
da8724accb removing pwm_start block; not needed in i2c 2017-04-23 23:29:10 +02:00
Mohamed Abdelkader Zahana
60e0ca9321 add both options (pwm/i2c) for lidar lite 2017-04-23 23:29:10 +02:00
Mohamed Abdelkader Zahana
9911a55393 use i2c for lidar lite 2017-04-23 23:29:10 +02:00
Andrew C. Smith
d21b6655d2 Add the Gumstix AeroCore2 to the build system. 2017-04-20 12:24:27 -10:00
Beat Küng
36b2643402 rcS: make sure if 'vmount start' fails, boot is not aborted 2017-04-20 08:29:00 +02:00
Julian Oes
349a468f81 vmount: add to startup script, disable by default
vmount is now added to the startup script, however, it will only start
if the param MNT_MODE_IN is set to anything but -1.
2017-04-19 16:59:48 +02:00
Mohammed Kabir
95778c74e2 rcS : properly handle trigger/actuator pin mixing 2017-04-13 20:21:40 +02:00
David Sidrane
cc04dfd27b Added set [{+|-}{e|x|xe|ex}] [<name> <value>] to nsh (#6985)
* NSH Added support for set [{+|-}{e|x|xe|ex}] [<name> <value>]

   Set the 'exit on error control' and/or 'print a trace' of
   commands when parsing scripts in NSH.
   The settinngs are in effect from the point of exection,
   until they are changed again, or in the case of the init
   script, the settings are returned to the default settings
   when it exits.

   Included child scripts will run with the parents settings
   and changes made in the child script will effect the parent
   on return.

   Use 'set -e' to enable and 'set +e' to disable (ignore) the exit
   condition on commands. The default is -e. Errors cause script to
   exit.

   Use 'set -x' to enable and 'set +x' to disable (silence) printing
   a trace of the script commands as they are ececuted. The default
   is +x. No printing of a trace of script commands as they are
   executed.

  Print expanded variables if -x

* Added comments only on how to use the set +e and and set -x

* Spelling NSH_PFALG_* -> NSH_PFLAG_*
2017-04-06 03:42:16 -10:00
Lucas De Marchi
06408b8a4e ROMFS: allow to run without sercon 2017-04-06 12:18:30 +02:00
Beat Küng
d72133a380 rcS: increase log buffer by 4kB
To reduce dropouts, and because we have enough RAM :)
2017-03-29 23:02:09 +02:00
José Roberto de Souza
07921c9f3a aerofc: Use ram_flash dataman backend 2017-03-10 11:31:07 +01:00
Beat Küng
bac10bcfb8 rcS: do not wipe flight time param on autoconf 2017-03-08 04:19:22 +08:00
Beat Küng
8957b473a8 px4fmu rcS: start sensors in hil mode if HIL is set, don't load rc.sensors
This makes sure no sensor publishes sensor topics, instead they will be
published from mavlink.
2017-03-04 05:59:10 +08:00
José Roberto de Souza
b1c11b14a8 ROMFS: common: AeroFC: Do not start MAVLink over USB
STM32 pins are not exposed in AeroFC, so lets save some memory here.
2017-02-23 08:26:42 +01:00
Lucas De Marchi
6121119631 ROMFS: allow to use 460800 baudrate for onboard mode 2017-02-16 09:35:23 +01:00
José Roberto de Souza
b7c53342dc ROMFS: AeroFC: Start dataman with RAM backend
AeroFC don't have a SD Card or any other storage device, so changing
dataman backend to work over RAM to be able to load missions.
2017-02-15 21:13:13 +01:00
Daniel Agar
317595cff3 SYS_COMPANION add 115200 normal telem 2017-02-08 08:35:29 +01:00
Beat Küng
b6f3cf9425 events: refactor temperature_calibration command to take options and use a single vehicle_command
This makes it easier to start calibration for all sensors at once.
2017-02-02 23:54:06 +01:00
Paul Riseborough
8001db257c ROMFS: enable auto start of thermal calibration 2017-02-02 23:54:06 +01:00
José Roberto de Souza
37f73bb0ed ROMFS: aerofc: Only start logger with MAVLink support
AeroFC don't have SDCard to store logs.
2017-01-28 11:03:07 +01:00
Lorenz Meier
fd6b051895 Start send_events in work queue 2017-01-25 22:43:29 +01:00
Paul Riseborough
d8c046e47c ROMFS: add thermal calibration logging mode 2017-01-21 11:48:03 +01:00
Lorenz Meier
45c1ad830f Autostart: Do not abort boot if sensor driver fails to start 2017-01-04 10:44:08 +01:00
Lorenz Meier
ce106a8324 Disable the safety switch by default on Pixracer
This disables the safety switch when Pixracer is configured. It does not change existing setups and it can be re-enabled after. This might be the more sensible default for a racing board.
2016-12-26 19:53:17 +01:00
Lorenz Meier
9e2eac41ff ROMFS startup: Fix variable expansion for new NuttX scheme 2016-12-23 09:30:37 +01:00
David Sidrane
120064b55d WIP:Startup for FMUV5
Incomplete changes to startup script for FMUv5.
   See "Place holder Need" in ROMFS/px4fmu_common/init.d/rc.sensors
2016-12-21 08:34:22 +01:00
David Sidrane
d09cd77777 Adding hardfault logging application 2016-12-21 08:34:20 +01:00
Lucas De Marchi
292599d3c9 Revert "px4fmu rcS: increase mavlink rate to 100000 for SYS_COMPANION 1500000"
This reverts commit e3537ca6c2.

It needs changes on the Linux side, so reverting for now.
2016-12-20 08:56:38 +01:00
Lorenz Meier
3e8061c3cd Iris mixer: Update naming of mixer 2016-12-19 20:39:48 +01:00
Lorenz Meier
6b0ac296b6 Fix usage of Iris mixer, make space by deleting unused files 2016-12-19 20:39:48 +01:00
Lorenz Meier
9667c98b61 Start UAVCAN in the two phases required 2016-12-19 15:13:05 +01:00
Daniel Agar
bce7ecb0f6 Iridium driver and support
Mavlink module implement HIGH_LATENCY (Iridium)
2016-12-14 08:20:01 +01:00
Lorenz Meier
c1d7a3d2ff rcS: Default PWM settings to params 2016-12-13 09:18:59 +01:00
James Goppert
fa834497bf Setup sf0x driver to handle all lightware lidars. (#5957) 2016-12-06 12:19:13 -05:00
Lucas De Marchi
7b81374fda aerofc: add comment to make intention clear 2016-12-06 08:34:18 +01:00
Lucas De Marchi
162c0a7418 Revert "Aerofc: px4fmu_common: Only set AUTOSTART to 4070 if nothing was set"
This reverts commit 126172d70c.

This commit is going in the wrong direction: it's actually the same as
it was before, but allows changing the autostart configuration to
something other than 4070, which means people could wrongly assume it
would work in other configurations.
2016-12-06 08:34:18 +01:00
Beat Küng
e3537ca6c2 px4fmu rcS: increase mavlink rate to 100000 for SYS_COMPANION 1500000
Needed for log streaming
2016-12-05 18:08:44 +01:00
José Roberto de Souza
126172d70c Aerofc: px4fmu_common: Only set AUTOSTART to 4070 if nothing was set
This way user can set aftwards any other AUTOSTART value and it will
not be overwritten.
Also move the block up and set SYS_AUTOCONFIG, this way if air frame
configuration was reset in ground station it will wipe the parameters
before load new ones.
2016-12-01 07:52:23 +01:00
Lucas De Marchi
780e903d5b aerofc: load autostart on first boot 2016-11-28 09:21:12 +01:00
Lucas De Marchi
f51595ab16 Fix setting output mode in the wrong place
Make it common with other boards
2016-11-28 09:21:12 +01:00
Lucas De Marchi
6af31a109f aerofc: start mavlink on ttyS4 2016-11-28 09:21:12 +01:00
Lucas De Marchi
4989f8d40a aerofc: start mavlink to communicate with Aero Compute Board 2016-11-28 09:21:12 +01:00
Lucas De Marchi
1360c26c62 romfs: allow to use another uart for companion
Right now it's only possible to use ttyS2 as the UART for connecting a
companion computer. Add a variable that can be set so other boards may
be better supported.
2016-11-28 09:21:12 +01:00
Lucas De Marchi
fdb5a92873 aerofc: make sure we don't have IO enabled 2016-11-28 09:21:12 +01:00
Lucas De Marchi
f5c65cf206 aerofc: disable mixer aux 2016-11-28 09:21:12 +01:00
José Roberto de Souza
15c75ebb40 aerofc: Add autostart script
As ASC use a non-standard UART for mavlink it is necessary check for
the board name and set SYS_AUTOSTART to initialize mavlink on the
right interface otherwise there is no way to change the SYS_AUTOSTART.
2016-11-28 09:21:12 +01:00
Beat Küng
9301e9cc50 logger params: add SDLOG_MODE to select when to start & stop logging 2016-11-19 15:12:08 +01:00
Lorenz Meier
b83363a518 UAVCAN: Always enable dynamic node ID allocation 2016-11-16 10:56:08 +01:00
Henry Zhang
278124bfb8 MindPX: Code clean up. 2016-10-29 10:56:32 +02:00
Henry Zhang
016aa47dfc MindPX: Enable FrkSky telemetry on usart8/ttys6. 2016-10-29 10:56:32 +02:00