In the udp read, the code first checks if there is space available in the transport buffer but then reads the maximum amount of data for the transport buffer, I simply changed it such that it reads up to the available limit of the transport buffer.
I added an optical flow landing module for rotorcrafts.
It uses the size divergence from the optical flow algorithm to keep a constant divergence
(if set negative the drone will land, 0 = hover, and positive is going up).
Advantage with respect to a GPS landing is that it will take into account the landing surface,
even if it is higher than the ground level (so landing on a roof for instance).
The module does not use sonar for the vertical control, so it can be used by tiny drones that do not carry sonar.
The module uses a novel theory on seeing distances with just a single camera (no extra sensors) to detect when it should land.
So it can also be used by drones to estimate distance with a single camera.
closes#1611
- Add the new OPA board
- Add power on functions (RC and MCU)
- Update RC poweron for pixhawk
This adds the newly designed OPA(Oversized Paparazzi Autopilot) board support. It is specially designed for the Outback by @dewagter and includes an FBW and AP in a single board.
* [conf] 2seas2o -> tudelft
* [conf] non-existing airframe
* [airframe] simulate indi frog with no inertia
* [conf] start cleaning old IMAV airframes, remove non-existing
* [airframe_editor] point to other default airframe
* [CHIMU] documentation and examples
* [airframe] yapa_xsens is TUDELFT
send GPS ABI message even if position is not available but a new valid sentence was received,
e.g. while no fix but get tow and satellite info
should be a better fix for #1618
Currently gains from rate control do not carry over to attitude stabilization, because there is a factor 2 in the rate control and prescaler values (factor 3 for rate) in the attitude control. I searched through the airframes, and there are not many that use rate control. I doubled all the gains and removed rate control for bebop, as rate control over datalink is very difficult due to lag.
The prescaler values should also be default 1 for stabilization quat_int, as they already are for float_quat. However, this will mean updating a large amount of airframes, which will require some scripting. I might have time for this later.