ChristophTobler
7c019b7da3
publish battery_status directly
...
This is temporary until there is a solution that works for adc and posix power modules
2018-01-14 12:56:49 +01:00
ChristophTobler
4b751bdc4f
add wrapper for snapdragon power module (ltc2946) from DriverFramework
2018-01-14 12:56:49 +01:00
Beat Küng
86e2f9c306
posix shell: handle Home & End (Editing keys)
...
See https://github.com/mintty/mintty/wiki/Keycodes#editing-keys
2018-01-12 16:18:44 +01:00
ChristophTobler
dfe1b59949
posix main: add Home/End to jump to beginning/end
2018-01-12 16:18:44 +01:00
ChristophTobler
d523cb54a5
posix main: add left/right arrow
...
with this commit, lines can be edited with the lef/right arrow key
2018-01-12 16:18:44 +01:00
Matthias Grob
be8adbfdf3
Cygwin: refactored & simplified some of the OS define logic
2018-01-05 14:47:33 -05:00
Matthias Grob
70de169f15
Cygwin: Enable build of SITL jMAVsim under Windows using the Cygwin Unix-like environment
...
Most of the incompatitbilities are luckily similar to the darwin build.
- New target OS __PX4_CYGWIN added because in other build environments on Windows defines will very likely be completely different
- added all necessary exeptions to the defines
- disabled priorities completely because on Windows they are defined 1-32 and with all the arbitrary +40 -40 priority settings there were a lot of problems
not only did some threads/"virtual tasks" not start because of out of bound priorities but also the resulting scheduling was totally random and inadequate
with default priorities it ran toally fine during my first tests, should be rethought when windows is used onboard in the future
2018-01-05 14:47:33 -05:00
Daniel Agar
f2cd5e3e9f
move src/firmware/ to platforms
2018-01-05 14:21:31 -05:00
ChristophTobler
3ffc1fd25b
Stream scaled IMU for Snapdragon Flight using VISLAM
...
This is temporary (and for Snapdragon Flight + VISLAM only) until there is a proper solution to get unfiltered IMU data for VIOs etc.
2018-01-05 18:45:50 +01:00
Daniel Agar
4d08f56fae
cmake add missing generate_px4muorb_stubs dependency ( #8559 )
2018-01-02 10:18:00 -05:00
Daniel Agar
cd60fb6102
ledsim remove debug print
2018-01-02 01:35:57 +01:00
Daniel Agar
202c29154a
simulator optimize GPS and battery
...
- GPS and battery were publishing at > 800Hz
2018-01-02 01:35:57 +01:00
Daniel Agar
d7aaab07fc
delete unused SENSORIOCGQUEUEDEPTH
2017-12-31 09:47:51 -05:00
Daniel Agar
85e879a574
delete unused GYROIOCSLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
417351390f
delete unused ACCELIOCSLOWPASS
2017-12-31 09:47:51 -05:00
Daniel Agar
3ead5c2afd
delete unused MAGIOCSLOWPASS/MAGIOCGLOWPASS
2017-12-31 09:47:51 -05:00
Lorenz Meier
23d15c1365
Platform: Depend on messages, not just on headers
...
This ensures that platform is re-built if messages change.
2017-12-26 16:01:11 -05:00
Daniel Agar
b8e24b5d2f
uORB delete unused vehicle_force_setpoint
2017-11-26 16:39:30 -05:00
ChristophTobler
a0f935916a
add killswitch (manual_lockdown) to Snapdragon uart ESC
2017-11-23 07:10:44 +01:00
Daniel Agar
698bc7d848
qurt fc_addon fix missing library linking and cleanup
2017-11-22 10:36:51 +01:00
Daniel Agar
53595bac0e
board support add px4_i2c_bus_external/px4_spi_bus_external
2017-11-20 23:44:31 +01:00
Julien Lecoeur
26d95ef674
Mixers: Include mixer_multirotor_normalized.generated.h everywhere
2017-11-15 09:56:10 +01:00
Julien Lecoeur
89642a9203
Move src/module/systemlib/mixer to src/lib/mixer
2017-11-15 09:56:10 +01:00
ChristophTobler
f2e8aabda4
use int32_t instead of int
2017-11-13 16:59:03 +01:00
Daniel Agar
651df03f76
RTPS and micro-CDR build system cleanup ( #8084 )
2017-10-11 13:05:44 -04:00
Dave Royer
d1500dca6f
df_hmc5883_wrapper: set mag device path from input argument ( #8079 )
2017-10-11 10:27:25 -04:00
Sugnan Prabhu
81809be7cd
Add include guard in headers files ( #8108 )
...
Signed-off-by: Sugnan Prabhu S <sugnan.prabhu.s@intel.com >
2017-10-11 09:47:52 -04:00
ChristophTobler
8541555e13
gpssim: add possibility to change parameters
...
fix_type, satellites_used and a noise parameter can now be set manually for testing purposes
2017-10-05 07:18:20 +02:00
ChristophTobler
b41c471090
accelsim/gyrosim: fix seg fault if not enough arguments
...
happens with 'accelsim/gyrosim -R'
2017-10-05 07:18:20 +02:00
ChristophTobler
6843155357
gpssim: fix seg fault if not enough arguments
...
happens with e.g. 'gpssim -f'
2017-10-05 07:18:20 +02:00
ChristophTobler
2436a27848
gpssim: use px4_getopt
2017-10-05 07:18:20 +02:00
Daniel Agar
48f1e3ed1c
uORB generation move to msg/
2017-09-29 10:13:51 -04:00
Daniel Agar
01b3e6fd25
NuttX upgrade cmake wrapper ( #7873 )
...
* NuttX cmake
* px4_macros:Pass the stringified predicate as second arg to static assert
CC_ASSERT mapes to the c++ static_assert or provides the same
funtionality for c via the other macros. The c++ static assert
takes 2 argumants the prdicate and a message. This fixes the
lacking second argument.
* Updated nuttx and apps submodule to upstream nuttx 7.21+==master
This is the latest uptake of upstream nuttx and apps.
* ROMFS generate with xxd instead of objcopy
* delete nuttx-patches
* NuttX update submodules to latest px4_nuttx-master
* fix nuttx apps and board dependency
* docker_run update to latest container 2017-08-29
* cmake ROMFS portable sed usage
* NuttX update submodules to latest px4_nuttx-master
2017-09-29 10:13:51 -04:00
David Sidrane
4b5d585e57
kinetis:Add define for PX4_NUMBER_I2C_BUSES
2017-09-29 10:13:51 -04:00
David Sidrane
0da1c79aa3
Adding Kinetis board common identity to micro hal
2017-09-29 10:13:51 -04:00
David Sidrane
64b9f687c0
px4_micro_hal:Provide PX4_BUS_NUMBER_{TO|FROM}_PX4 mapping
...
For historical reasons (NuttX STM32 numbering) PX4 bus numbering is
1 based. All PX4 code, including, board code is written to assuming 1
based numbering. In the PX4 I2C driver the 1 is subtracted from the
buss number to address the freqency array. These macros are used to
allow the board config to define the bus numbers in terms of the NuttX
driver numbering. 1,2,3 for one based numbering (STM32) or 0,1,2
for zero based (Kinetis)
2017-09-29 10:13:51 -04:00
David Sidrane
c05429a70c
samv7:Add PX4_NUMBER_I2C_BUSES
2017-09-29 10:13:51 -04:00
David Sidrane
01c1228b21
kinetis:Add define for PX4_NUMBER_I2C_BUSES
2017-09-29 10:13:51 -04:00
David Sidrane
cb21aced5e
PX4 System: Upstream NuttX defconfig changes
...
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane
5f9b23b475
same70 micro hal
2017-09-29 10:13:51 -04:00
David Sidrane
01f520dfd2
Kinetis SPI is zero based
2017-09-29 10:13:51 -04:00
David Sidrane
0e55a9e868
micro hal:Kinetis I2C busses are numbered from 0
2017-09-29 10:13:51 -04:00
David Sidrane
1dbe8b8605
Adding Kinetis board common identity to micro hal
2017-09-29 10:13:51 -04:00
David Sidrane
b2b6509ee0
Use micro hal fir px4_savepanic
...
To keep board_crashdump.c as common code we create a
wrapper around the arch depandant call to
stm32_bbsram_savepanic.
2017-09-29 10:13:51 -04:00
David Sidrane
e93a5002a1
Updated Micro HAL for kinetis
...
Added px4_ abstraction macros
Removed stm32.h reference
2017-09-29 10:13:51 -04:00
Daniel Agar
af9690cf08
add simple posix tests to SITL
2017-09-28 16:50:47 +01:00
Daniel Agar
0da2dca8c1
drivers remove device _debug_enabled
2017-09-25 10:30:22 -04:00
ChristophTobler
58e09faf9b
df trone wrapper: update for new orientation convention
...
add possibility to specify distance sensor orientation
2017-09-25 08:52:21 +02:00
ChristophTobler
de0c196b2b
Bebop rangefinder: update for new orientation convention
2017-09-25 08:52:21 +02:00
Daniel Agar
26f00609ac
multirotor_motor_limits only publish for MC
2017-09-19 02:25:30 +01:00