Daniel Agar
de9e4dda4c
battery: delete unused armed
2019-12-12 09:48:45 -05:00
Timothy Scott
11bbc8ae34
Code cleanup
2019-12-12 04:39:53 -08:00
Timothy Scott
993fa5bd37
Refactored to work with new battery_status module
2019-12-05 16:38:04 +01:00
Timothy Scott
d7bb5d46bb
Created new AnalogBattery class
2019-12-05 16:38:04 +01:00
Timothy Scott
bff1df7080
Refactored battery library for multiple instances
2019-12-05 16:38:04 +01:00
Daniel Agar
6a539a3836
crazyflie syslink update orb_publish to uORB::PublicationMulti<>
2019-11-30 15:52:53 -05:00
Daniel Agar
e951531b12
camera_feedback: move to WQ callback and uORB::Subscription
2019-11-30 15:49:55 -05:00
Daniel Agar
bc182e94e6
sensors split rc_update into new standalone module
2019-11-24 13:25:11 -05:00
Daniel Agar
8c38176d77
boards: alphabetize and sync common drivers and modules
2019-11-21 18:56:24 -05: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
Daniel Agar
99aae8b891
NuttX use toolchain math.h and avoid empty drivers/Kconfig
2019-11-16 11:43:42 +01:00
David Sidrane
f62c6442a4
bitcraze:crazyflie BSP Updated to NuttX 8.1+
2019-11-16 11:43:42 +01:00
Daniel Agar
668984b6b0
boards: start adc in rc.board_sensors
2019-11-11 17:08:24 -05:00
Daniel Agar
1c4e854f93
cmake don't build param "c" files and remove param defines
...
- these aren't actual source code
2019-11-11 10:25:42 -05:00
Beat Küng
b30171ba8d
board_common.h: move under platforms/common
...
Also move board_determine_hw_info and board_gpio_init under platforms/nuttx
2019-10-30 11:48:47 +01:00
Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +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
Daniel Agar
26364d44c9
px4_work_queue: command line status output and shutdown empty queues
...
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items
* WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
2019-10-02 12:23:17 -04:00
Daniel Agar
a557f3ffe4
bitcraze crazyflie add dmesg and console buffer
2019-09-30 14:29:54 -04:00
garfieldG
bbb96cbd0c
Mavlink startup script per board
...
-moved rc.mavlink to the boards optional rc additions (now it's called rc.board_mavlink) to handle board specific mavlink needs (mavlink over usb, ethernet, additional streams, etc.)
-mavlink module will be responsible to usb defaults, therefore less args are needed to be passed to mavlink module if one wants to use mavlink over usb.
-the way to check if connection is usb is by it's designated variable and not by config mode.
2019-09-29 10:46:08 -04:00
BazookaJoe1900
8a45c6145b
add new parameter SENS_EN_PMW3901 to start pmw3901 optical flow
2019-09-02 11:08:51 -04:00
Daniel Agar
78ef8aab2d
STACK_MAIN increase default 1024 -> 2048
2019-08-30 19:11:51 -07:00
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
2019-08-30 07:59:44 +02:00
Silvan Fuhrer
cedf14e2ba
Airspeed Selector: repurpose wind estimator into an airspeed (selection, validation) module.
...
This new airspeed module does:
-runns an airspeed validator for every airspeed sensor present, which checks measurement validity and estimates an airspeed scale
-selects another airspeed sensor if for the current one a failure is detected
-estimates airspeed with groundspeed-windspeed if no valid airspeed sensor is present
-outputs airspeed_validated topic
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2019-08-09 10:55:05 +02:00
Daniel Agar
0955fd2d58
NuttX boards reduce CONFIG_NFILE_DESCRIPTORS 54 -> 20
2019-08-07 21:23:27 -04:00
Daniel Agar
5421ef5535
NuttX increase HPWORK and LPWORK stack by 256 bytes
2019-08-06 23:15:07 -04:00
Daniel Agar
9d701a077d
NuttX reduce stack for interrupts, HPWORK, LPWORK
2019-08-06 11:00:55 -04:00
Beat Küng
a3c920db7d
board_defaults: remove unnecessary 'set MIXER_AUX none'
...
On all of these boards '$USE_IO = no' will hold.
2019-07-16 08:09:22 +02:00
Timothy Scott
2ed00c9cb6
Rover: Rewrote gnd_pos_control and removed gnd_att_control ( #12239 )
2019-07-11 09:39:13 -04:00
Daniel Agar
321c2c0392
boards don't use px4_add_library for drivers_board
...
- this prevents low level board support from using PX4 logging, uORB, etc
2019-07-09 19:09:47 -04:00
Daniel Agar
15d1543f95
create systemcmds/i2cdetect tool to scan i2c bus
2019-07-06 10:28:16 -04:00
Mohammed Kabir
b334b75886
Move optical flow drivers to own subdirectory
2019-05-28 23:23:38 -04:00
Beat Küng
914a9b78b6
new airframe for sih, HIL_STATE_QUATERION sent through MAVLink
2019-04-12 09:25:07 +02:00
mcsauder
e6f1a2db12
Delete trailing whitespace, extra newlines, to quiet git hooks and add an extra = so that it does not appear to git as a merge conflict marker.
2019-04-02 15:31:37 -04:00
Daniel Agar
5e6bfe1ad8
vscode updates
...
* working debugging (one click build and debug)
* SITL jmavsim
* SITL gazebo
* jlink px4_fmu-v{2-5}
* improved syntax highlighting
* GNU linker files
* ROS message files msg/*.msg
* jinja2 template files
* fixed intellisense support
2019-03-22 20:55:39 -04:00
Daniel Agar
8082f9a0b5
bitcraze_crazyflie nsh compress defconfig
2019-03-21 08:41:01 -04:00
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
2019-03-16 11:47:15 -04:00
David Sidrane
edd9f91a19
board:Set larger stack margin
2019-03-01 23:45:48 -05:00
Daniel Agar
739a02022b
position_estimator_inav: move to examples (start deprecation)
2019-01-27 22:15:39 +01:00
David Sidrane
48f9d3f3d9
bitcraze_crazyflie: Inital commit NuttX 7.27+
2019-01-25 06:32:37 -08:00
David Sidrane
8f308efa88
upstram NuttX CONFIG_EXAMPLES_NSH_CXXINITIALIZE->CONFIG_SYSTEM_NSH_CXXINITIALIZE
2019-01-25 06:32:37 -08:00
Daniel Agar
2ffb49b734
delete px4_includes.h header and update boards/ to use syslog
2019-01-23 18:25:18 -05:00
Daniel Agar
320d2e9383
create PX4 platform layer initialization helper ( #11269 )
...
- starts requirements for PX4 modules (hrt, param, etc)
2019-01-22 14:13:20 -05:00
Daniel Agar
fef65bf5c8
ROMFS split rc.board into defaults, sensors, and extras
2019-01-15 23:52:46 -08:00
Daniel Agar
75b2053243
move uavcan from modules to drivers
2018-12-04 01:06:54 -05:00
Daniel Agar
744bacd424
boards/ enforce astyle
2018-12-04 01:06:54 -05:00
Daniel Agar
9c29e9d4c9
move crazyflie syslink to board directory
2018-12-04 01:06:54 -05:00
Daniel Agar
d4e06e517a
delete drv_gpio.h, modules/gpio_led, and fmu GPIO ioctls
2018-12-03 16:30:39 +01:00
Daniel Agar
4240abad73
move bitcraze_crazyflie init to rc.board
2018-12-01 10:03:19 -05:00
Daniel Agar
3e0a3559a9
cmake use standard mechanisms for settings flags
2018-11-26 14:40:14 -08:00
Daniel Agar
c258534aa5
cmake px4_add_board document and cleanup
2018-11-26 14:40:14 -08:00
Daniel Agar
fa0fe4cac6
cmake remove need for platform px4_add_board_os
...
- explicitly set TOOLCHAIN on all NuttX targets
2018-11-26 14:40:14 -08:00
Daniel Agar
ec4c9da253
remove BOARD_NAME from board_config.h and set automatically
2018-11-26 14:40:14 -08:00
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
2018-11-26 14:40:14 -08:00
Daniel Agar
f692ad04d0
boards organization
2018-11-26 14:40:14 -08:00