Martina
9bdc9aada2
mc_pos_control: use defines for point size and number of points in
...
trajectory_waypoint
2018-07-12 16:36:11 -04:00
Martina
c84e651edd
trajectory_waypoint: add defines for point size and number of points
2018-07-12 16:36:11 -04:00
Martina
a11c6235fe
mc_pos_control: uses consistent naming for desired waypoints
2018-07-12 16:36:11 -04:00
Martina
272d7ca4cd
mc_pos_control: use consistent naming for position waypoints
2018-07-12 16:36:11 -04:00
Martina
3fa094cb6b
mc_pos_control: use same notation for velocity waypoints
2018-07-12 16:36:11 -04:00
Martina
6e7f1d249e
bezier: fix index description
2018-07-12 16:36:11 -04:00
Martina
31d675fd95
mc_pos_control: add interface to send desired position and velocity
...
waypoint to the obstacle avoidance module
2018-07-12 16:36:11 -04:00
Martina
b33a708215
mc_pos_control: add vel_sp_desired to send desired velocity to the
...
obstacle avoidance
2018-07-12 16:36:11 -04:00
Martina
47f2db67b6
mc_pos_control: execute yaw or yaw speed of the obstacle avoidance
...
waypoint
2018-07-12 16:36:11 -04:00
Martina
df19610e69
mc_pos_control: add execution of position waypoint coming from the
...
obstacle avoidance
2018-07-12 16:36:11 -04:00
Martina
5d6771753d
mc_pos_control: add execution of velocity waypoint coming from the
...
obstacle avoidance module
2018-07-12 16:36:11 -04:00
Martina
f511d3a399
mc_pos_control: add method to constrain velocity setpoint
2018-07-12 16:36:11 -04:00
Martina
14444af38c
mc_pos_control: subscribe to trajectory_waypoint message
2018-07-12 16:36:11 -04:00
Martina
f3ce7be1e3
mavlink_messages: stream TRAJECTORY mavlink message with data from
...
uORB trajectory_waypoint as input path to a obstacle avoidance node
2018-07-12 16:36:11 -04:00
Martina
5ef26dd862
mavlink_receiver: decode mavlink message TRAJECTORY in uORB msgs
...
trajectory_waypoint or trajectory_bezier depending on the mav trajectory
representation type
2018-07-12 16:36:11 -04:00
Martina
e59a29197e
replace obstacle_avoidance message with trajectory_waypoint and trajectory_bezier
2018-07-12 16:36:11 -04:00
ChristophTobler
82e0547f6e
add first draft of the avoidance msg
2018-07-12 16:36:11 -04:00
Beat Küng
e1a7472738
MavlinkOrbSubscription::update: improve performance & fix corner case
...
- reorders operations, such that the most expensive one (orb_copy) is done
only when really needed.
- corner case: when the topic was not advertised yet, orb_stat() would fail
and then update() was called, which succeeds for the first advertisement.
In that case the timestamp was incorrectly set to 0 and true was
returned.
The next call would again return true, because the timestamp was updated,
but the topic data was still the same.
Reduces CPU load by ~2% on a Pixracer.
2018-07-12 21:31:38 +02:00
Beat Küng
060b130128
mavlink: add optional disable_sharing flag to add_orb_subscription
...
This is a more generic solution for 532a97041, and also enables it for
vehicle_command_ack's.
In addition it avoids using a timestamp for subscription update checking,
because it does not work well together with orb queuing.
2018-07-12 21:31:38 +02:00
Mark Sauder
bb86c5f200
Breakout rc.vehicle_setup from rcS. ( #9892 )
2018-07-12 14:50:47 -04:00
Daniel Agar
21cc34befb
GPS driver increase stack
2018-07-12 08:12:05 +02:00
mcsauder
e12acc4b28
Migrate hardware specific mavlink stream cases to rc.mavlink.
2018-07-12 08:10:59 +02:00
mcsauder
8b71bb4562
Breakout rc.mavlink from rcS script.
2018-07-11 09:38:58 +02:00
Thomas Stastny
8a7919bcb6
fw att+pos ctrl: use enum for flaps configs
2018-07-11 08:08:13 +02:00
Thomas Stastny
0c3399433d
fw att+pos ctrl: add takeoff flaps setting
2018-07-11 08:08:13 +02:00
Beat Küng
3f0a398a25
Omnibus F4 SD: fix UART4
...
- do not configure RSSI GPIO pin
- disable serial console on UART4
2018-07-10 19:39:50 +02:00
Beat Küng
93da0416fa
frsky_telemetry: add a '-m <mode>' CLI param
...
Can be used to avoid auto-detection.
Strangely on the Omnibus via UART4, the auto-detection for single-wire
S.Port did not work when connecting via battery (it works via USB) -
S.Port got detected instead.
Might be a board-specific issue.
2018-07-10 19:39:50 +02:00
mcsauder
9386ab6afe
Breakout rc.thermal_cal from rcS and group set/unset parameters at the beginning and end of the rcS script. Revert commit 2a3d66cf457e9b7879276bd01be7936876b56147 to reduce px4fmu-v2_default flash size. Standardize tabs/whitespaces across all files in the init.d directory.
2018-07-10 08:59:38 -04:00
Daniel Agar
33f7318400
Jenkins archive av_x binaries
2018-07-09 03:29:20 -04:00
mcsauder
cf7dd383b1
Update ADC voltage calculation instances to avoid divide by integer.
2018-07-09 07:51:15 +02:00
Daniel Agar
850b1ad6a7
EKF2 split output predictor and publish attitude immediately ( #9832 )
...
* EKF2 split output predictor and publish attitude immediately
* ecl: incorporate magic number tidy up
2018-07-09 08:11:24 +10:00
Beat Küng
58c8c50174
frsky_telemetry: add scanning timeout parameter, and set it to 15s
...
This frees unused RAM in case frsky telemetry is not connected.
2018-07-08 23:24:17 +02:00
Beat Küng
f3292c7741
frsky_telemetry: add S.Port single-wire support
...
If S.Port is connected via external inverter or an uninverted signal is
used, the UART needs to be put into half-duplex mode.
This can be used to get uninverted S.Port:
https://oscarliang.com/uninverted-sbus-smart-port-frsky-receivers/
It is not needed for the Pixracer FrSky port.
2018-07-08 23:24:17 +02:00
Beat Küng
1feccfcc81
frsky_telemetry: increase stack size by 52 bytes
...
As indicated in previous logs (268 bytes left).
2018-07-08 23:24:17 +02:00
Beat Küng
898eb95623
frsky_telemetry cleanup: remove err, use px4_getopt
2018-07-08 23:24:17 +02:00
Lorenz Meier
84770f195d
Create PULL_REQUEST_TEMPLATE.md
2018-07-08 23:19:24 +02:00
Daniel Agar
e4be8eccc9
bmi055 add measure interval perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
0da8125ac0
bmi055 remove unused reset retries perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
adf6ea3596
bmi055 remove unused gyro duplicates perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
734fc1bf8d
bmi055 remove cdev read (gyro_reads) perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
7bc364207e
bmi055 remove cdev read (accel_reads) perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
cd07e756b9
bmi055 name separate accel and gyro perf counters properly
2018-07-08 20:14:34 +02:00
Daniel Agar
b6399dbdf0
bmi055 remove common good_transfers perf counter
2018-07-08 20:14:34 +02:00
Daniel Agar
eef325e2af
bmi055 split accel and gyro headers
2018-07-08 20:14:34 +02:00
Daniel Agar
4c5ace9b75
mpu6000 add interval perf counter and delete unused
2018-07-08 20:14:34 +02:00
Daniel Agar
13c2c8c89b
ADIS16477 use checksum to verify transfer and populate gyro device id
2018-07-08 10:18:13 -04:00
Daniel Agar
4e4724f9eb
add ST LSM303AGR driver (mag only)
2018-07-08 10:18:13 -04:00
Daniel Agar
74c20a0fd5
ADIS16477 reset on init and increase delay
2018-07-08 10:18:13 -04:00
Daniel Agar
00c34d8a2b
AV-X board support
2018-07-08 10:18:13 -04:00
Daniel Agar
dec03873bc
px_uploader add small delay before checking CRC result
2018-07-07 15:55:53 +02:00