Mark Charlebois
59ad47003a
mavlink: simplified UDP suport by adding new -u option
...
Use:
mavlink start -u portnum
to set the UDP port.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
aded2d3c03
Enable passing udp port to mavlink module via start args.
...
Usage is: -d udp[:<port>] If no port is specified, default port is
set to 14556. If -d isn’t specified then default is serial.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
82b90281e9
Cleanup of copyright headers
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
6cb26de74c
Multi-uORB support changes - part 1
...
This adds support for a dynamic build for QuRT and initial
Multi-uORB changes to enable communication between the DSP and
the application processor.
This part of the changes do not affect the POSIX build. This is
enablement for the QuRT build using Multi-uORB. The second part
of the changes will be added in a new module under src/modules.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
99c066c39c
HIL: Cleanup creation and initialization
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
5cf1140944
Add raw mode for UART to mavink_main.cpp
...
Raw mode is not the default mode in Ubuntu 14.04.
Disable echo and special character processing.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
fd1effa4fe
Simulator: UART changes
...
Some changes were needed to use the simulator and the UART for rc control.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
tumbili
5c013af574
save gps data so driver can read
10 years ago
tumbili
dc2dc9920f
build gpssim
10 years ago
tumbili
9da40a69cc
mavlink: do not send autopilot capabilities to avoid crash
10 years ago
tumbili
4aa4038e27
increase number of arguments passable to apps
10 years ago
tumbili
a77f637bc4
mavlink udp:
...
- added option to stream messages over udp
- still hardcoded stuff (port)
10 years ago
tumbili
9a4bee834d
added gpssim driver
10 years ago
tumbili
909508f8f9
let mixer sleep a bit before loading to ensure device is set up
10 years ago
tumbili
45ee36234d
activate sending thread only once got message from simulator
10 years ago
tumbili
3d44384731
temporarily don't use multi advert because doesn't work
10 years ago
tumbili
fb778af8b3
increase max file descriptors to 100
10 years ago
tumbili
aef3f37ae0
enable reading sensor data from simulator module for SITL
10 years ago
tumbili
f0a3210e94
major simulator rework:
...
- wait for first message from jMAVSim
before sending data
- publish raw rc data coming from PIXHAWK (temporary)
- send some interesting messages to jMAVSim
- prepare sensor data for sim drivers to read
10 years ago
Mark Charlebois
e7abd78051
POSIX: Fixed output for list_topics, list_devices, etc
...
Removed extra carriage returns in output strings
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
db5530e1b5
POSIX: Fixes for HRT implementation of simulated HW clock polling
...
There is a race condition for the accel and mag polling rates.
Whichever one gets set first, the other will be uninitialized.
Set the mag polling rate to 1ms if uninitilized.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
acfd1ea519
POSIX: added hrt_queue for handling fast periodic events
...
The workqueues measure time in ticks which is typically 10ms.
Some interrupt events in Nuttx occur at about 1ms so a more
granular workqueue is needed for POSIX.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Lorenz Meier
a0a432fa4e
Merge pull request #2303 from tumbili/mixer_yaw_fix
...
allow to give away some thrust for yaw control
10 years ago
tumbili
b571d70488
allow to give away some thrust for yaw control
10 years ago
Lorenz Meier
68c062d1c8
Merge pull request #2302 from dagar/mixers_readme
...
fix mixers README.md
10 years ago
Daniel Agar
a7d7c69a79
fix mixers README.md
...
-the angle brackets in the tag descriptions were breaking the markdown
10 years ago
Pavel Kirienko
2c61ec6819
UAVCAN update, fixes compilation warning on GCC 4.7 (see #2294 )
10 years ago
Lorenz Meier
c92655b850
Merge pull request #2288 from UAVenture/qu4d_tuning
...
Correct the QU4D yaw gains to flyable values.
10 years ago
Simon Wilks
f3e28bb361
Correct the yaw gains to flyable values.
10 years ago
Lorenz Meier
b1e462383d
Merge pull request #2270 from PX4/uavcan_next
...
Changes to build on latest uavcan master with FW upload and Node ID
10 years ago
Lorenz Meier
b9e8fd550a
Merge pull request #2258 from tumbili/VTOL_fix
...
do not run fw attitude controller when in rotary wing mode (VTOL)
10 years ago
David Sidrane
2d796f408d
Ran Astyle
10 years ago
David Sidrane
3f56892950
Merge branch 'uavcan_next' of https://github.com/PX4/Firmware into uavcan_next
10 years ago
David Sidrane
6155a1557f
Changes to build on latest uavcan master with FW upload and Node ID allocation
10 years ago
Lorenz Meier
9ce7fe483a
Merge pull request #2272 from mcharleb/mavlink-cleanup
...
Removed unused file mavlink_main_posix.cpp
10 years ago
Lorenz Meier
39b0100138
Merge pull request #2271 from mcharleb/param-union-fix
...
remove long long from union param_value_u
10 years ago
Lorenz Meier
fe82b412f6
Merge pull request #2269 from mcharleb/uorb-posix-fix
...
Created px4_access to handle check of virtual files
10 years ago
Mark Charlebois
4d8061b22c
Removed unused file mavlink_main_posix.cpp
...
The posix and nuttx changed were re-integrated back into mavlink_main.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
7c00bf11fd
remove long long from union param_value_u
...
The long long was mistakenly added when debugging an alignment issue
on x86_64.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
David Sidrane
d720a42a35
Changes to build on latest uavcan master with FW upload and Node ID allocation
10 years ago
Mark Charlebois
f985a48fbc
Created px4_access to handle check of virtual files
...
uORBManager_posix.cpp did a stat to see if a file exists but the
file is actually a virtual file. Using stat was incorrect because
it required a stat buffer that was never used. The POSIX access
function is a better choice so I created a px4_access version to
handle virtual files.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Lorenz Meier
3dbd48fbad
param style fix
10 years ago
David Sidrane
03bdf1e5f2
Allow allocation of changed paramaters to fail, then all param functions will return PARAM_INVALID or a count of 0
10 years ago
David Sidrane
bcb3529490
Added confitional definition
10 years ago
David Sidrane
9d055ef95b
Added ASSERT macro that mimic Nuttx but uses the system assert
10 years ago
David Sidrane
7950167bc5
Added assertion on allocation failure for parameter change storage, removed magic numbers
10 years ago
Lorenz Meier
cf2d66bd81
Merge pull request #2268 from mcharleb/hrt_queue-fixes
...
Hrt queue fixes
10 years ago
Mark Charlebois
f763c4cc0e
POSIX: fixed type used in USEC2TICKS
...
The macro was using a constant defined as a long instead on an
unsigned long. Made corresponsing changes to barosim.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
122c52c731
POSIX: Fixes for ARMv7 build
...
uint64_t needs to use PRIu64 in printf.
Clang-3.5 found an error is variable types for a compare.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
325e063f18
POSIX: fixes for gcc
...
GCC complains about strict prototypes.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago