José Roberto de Souza
9befff1e79
aerofc: Add information about the flash usage
2016-11-28 09:21:12 +01:00
José Roberto de Souza
621a0fe492
aerofc: Enable IST8310
2016-11-28 09:21:12 +01:00
José Roberto de Souza
8fb15f1de8
aerofc: Enable I2C1 for external compass
...
For now it is only checking if there is a external HMC5883, if
necessary more compass should be added and probe.
2016-11-28 09:21:12 +01:00
José Roberto de Souza
c49c3f469e
aerofc: add upload command
...
AeroFC is updated by Aero board using the UART between AeroFC
and Aero board.
This script will copy firmware and px_uploader.py to Aero board and run
px_uploader.py with the correct paremeters. User only needs to have a
network connection (Ethernet over USB or WiFi) with Aero board to update
AeroFC firmware. The IP/hostname can be given by AERO_HOSTNAME
environment variable.
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
José Roberto de Souza
508c782bab
mavlink: Add support for high speed baudrates
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
José Roberto de Souza
4943437327
aerofc: Set sensors rotation
2016-11-28 09:21:12 +01:00
José Roberto de Souza
873901c7cd
aerofc: Sleep for some time to wait tap_esc startup
...
Or mixer load will fail
2016-11-28 09:21:12 +01:00
José Roberto de Souza
8f0322b8aa
aerofc: Dirty hack to start mixer with the correctly output device
2016-11-28 09:21:12 +01:00
Lucas De Marchi
66628a4cf1
aerofc: forbid gpio changes
...
We export an "empty" table, but there's no protection when doing
ioctl().
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
Lucas De Marchi
99bb7be10f
aerofc: leave OUTPUT_MODE as rcin
...
So it just does rcin and does not try to do the other initializations.
2016-11-28 09:21:12 +01:00
Lucas De Marchi
3b3d4f385c
aerofc: fix UART port assignments
2016-11-28 09:21:12 +01:00
Lucas De Marchi
1eadee19c3
aerofc: Fix for ms5611 init
2016-11-28 09:21:12 +01:00
James Goppert
893714dc6a
aerofc: Fixes for init
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
José Roberto de Souza
effdb37a2b
aerofc: Fix UARTs configuration
...
Correct set pin mux and removed unused interfaces.
2016-11-28 09:21:12 +01:00
Lucas De Marchi
ce8a7f6bdc
aerofc: fix comment regarding hrt
2016-11-28 09:21:12 +01:00
Lucas De Marchi
1aea9457a9
aerofc: remove usb sensing
2016-11-28 09:21:12 +01:00
José Roberto de Souza
51f85858f2
aerofc: Power on sensors
...
MPU6500, MS5611 and HMC5883 only power on when GPIO_SENSORS_POWER is
set.
2016-11-28 09:21:12 +01:00
José Roberto de Souza
7ced5a1b6f
aerofc: Remove unused GPIO configuration
2016-11-28 09:21:12 +01:00
José Roberto de Souza
0f9ad1c393
aerofc: Remove remaining code and macros of RGBLed
2016-11-28 09:21:12 +01:00
José Roberto de Souza
8788e2e81e
aerofc: Remove ADC configuration
...
Battery voltage and current will be read in another way in future.
2016-11-28 09:21:12 +01:00
Lucas De Marchi
007731df46
aerofc: use center LED for activity
...
Like in bootloader, use the centered LED to show activity.
2016-11-28 09:21:12 +01:00
José Roberto de Souza
e690af14d8
aerofc: fix I2C bus of MS5611 and HMC5883
2016-11-28 09:21:12 +01:00
José Roberto de Souza
ef7c3b2174
aerofc: Fix SPI configuration
...
SPI bus 1 is the bus connected to MPU6500, so remove SPI bus 3 and 4.
Also remove everything else related to SPI that this board doesn't have.
2016-11-28 09:21:12 +01:00
José Roberto de Souza
a1eec553dc
aerofc: Remove unused modules
2016-11-28 09:21:12 +01:00
Lucas De Marchi
cf07fa3a1c
aerofc: streamline nuttx configuration
...
Remove what's not used like SPI and UART ports, ADC, etc. Add UART5 and
I2C1 that are going to be used.
This also received contribution from
José Roberto de Souza <jose.souza@intel.com>.
2016-11-28 09:21:12 +01:00
Lucas De Marchi
0cd7984b7f
Rename asc board to aerofc
2016-11-28 09:21:12 +01:00
David Sidrane
4b90daf605
WIP:Using _PX4_ wildcard match - needs testing
2016-11-28 09:18:45 +01:00
David Sidrane
100f977b0c
Added listener removed unconfigured drivers
2016-11-28 09:18:45 +01:00
David Sidrane
c042f49fde
System Changes for AUAV X2.1
2016-11-28 09:18:45 +01:00
David Sidrane
5b5076ae01
Added AUAV X2.1 sensor startup script
2016-11-28 09:18:45 +01:00
David Sidrane
fb3e2665f3
Inital Commit AUAV X2.1
2016-11-28 09:18:45 +01:00
Lorenz Meier
70e597bd9a
Update ECL to include fw controller limit improvements and side slip filter improvements
2016-11-27 16:08:53 +01:00
Julian Oes
cf9945ecdc
sitl_run.sh: env variable NO_PXH for deamon mode
...
This allows to set the environment variable NO_PXH to start SITL without
the interactive pxh> shell. For this, px4 is called with the -d arg
which sets it to deamon mode.
This feature is handy to script sitl_run.sh.
2016-11-25 17:51:50 +01:00
Beat Küng
707666488e
RPi px4_fw.config: use AERT mixer file & fix fw_pos_control_l1 start
2016-11-24 14:57:52 +01:00
Beat Küng
fdc489358a
RPi startup scripts: start logger
2016-11-24 14:43:45 +01:00
Beat Küng
0a0f268407
RPi: improve upload script, upload mixer files & all startup scripts
2016-11-24 14:43:45 +01:00
Beat Küng
6680af0d96
navio_sysfs_pwm_out: use quad_x.main.mix as default mixer file
...
Most people will use a quad, not FW.
2016-11-24 14:43:45 +01:00
Beat Küng
9230f419e5
DriverFramework: update submodule
2016-11-24 14:43:22 +01:00
lhc610github
f559b6ca88
df_lsm9ds1_wrapper: apply calibration after rotation
2016-11-24 14:39:23 +01:00
Julian Oes
afd6fd3896
px4fmu-v2_default: save more flash
...
This disables the following modules to save flash:
- mpu9250 driver because the MPU9250 is rarely used on Pixhawks
- Snapdragon RC PWM passthrough which is rarely used and definitely a
special/custom configuration. Also, it will soon be obsolete with the
upcoming PWM support on Snapdragon.
2016-11-23 12:49:15 +01:00
Julian Oes
109558cf1f
cmake: fix git binary hash
...
The generated binary hash was off by one.
2016-11-23 12:42:06 +01:00
Julian Oes
43caf2b683
Revert "mavlink: copy chars of git hash instead of binary"
...
Pushed by accident.
This reverts commit 87f0ec19e4
.
2016-11-23 10:57:05 +01:00
Julian Oes
87f0ec19e4
mavlink: copy chars of git hash instead of binary
...
I could not figure out how to make sense out of the binary git data.
Therefore, I replaced the px4_git_version_binary with the first 8 bytes
of px4_git_version (char[]) and this is easily readable when it arrives
on the other side.
2016-11-23 10:48:17 +01:00
Roman
f8f12ee265
vtol_att_control: removed unnecessary pointers to derived classes
...
- we interface over the base class pointer so we don't need any pointers
to the derived classes of VtolType
Signed-off-by: Roman <bapstroman@gmail.com>
2016-11-22 10:05:53 +01:00