Julian Oes
3f508c99fd
parameters: commented out strange usleep
6 years ago
Julian Oes
da9029274c
pwm_out_sim: always publish actuators
...
This is required so that the SITL simulator receives a feedback from
PX4.
6 years ago
Julian Oes
d1514cd667
POSIX: add defines system clock calls
6 years ago
Julian Oes
98ae0186e9
px4_sem: use px4_sem on all POSIX system
...
This uses the "fake" px4_sem based on mutex and condition_variable on
all POSIX system, not just macOS and Cygwin. This means that we can
change px4_sem_timedwait under the hood and inject the simulated time.
6 years ago
Julian Oes
3e6e1f5c2b
POSIX: use lockstep_scheduler to fake time
...
This integrates the lockstep_scheduler, so that the system time is set
by the mavlink HIL_SENSOR message.
This means that the speed factor is removed and the speed is entirely
given by the simulator.
6 years ago
Julian Oes
f0ce300744
platforms: move latency_buckets to perf.c
6 years ago
Julian Oes
6466e690fe
DriverFramework: update submodule
6 years ago
Julian Oes
4af0c939ec
lockstep_scheduler: update submodule
6 years ago
Julian Oes
fa8ac612ab
POSIX: use C++ for drv_hrt (file was renamed)
6 years ago
Julian Oes
5df333fa96
POSIX: include lockstep_scheduler in build
6 years ago
Julian Oes
6a78212a6b
jMAVSim: update submodule
6 years ago
Julian Oes
d295320e82
sitl_run.sh: lower rate for jMAVSim to 250 Hz
...
This should be enough for now, especially when we want to raise the
speed of the simulation.
6 years ago
Julian Oes
5ff3c40179
Added lockstep_scheduler as submodule
...
This is just an intermediate step until we can copy the sources over.
6 years ago
Julian Oes
fa31d95fd8
Renamed drv_hrt.c to drv_hrt.cpp
6 years ago
Julian Oes
db6de38b19
Work in progress to support a speed factor in SITL
...
These contains some rough changes trying to get SITL to speed up by a
SPEED_FACTOR.
This platform time code probably requires some more thought and refactor
but this gets a demo at 4x working.
6 years ago
Julian Oes
82a88d6a53
jMAVSim: update submodule for new -f argument
...
This adds the argument -f for a speed factor to speed up the simulation.
6 years ago
Julian Oes
d70b0f1c8c
Replace sleep with px4_sleep
...
This is another step to isolate time from the system.
6 years ago
Julian Oes
3f695870a4
Replace usleep in GpsDrivers
6 years ago
Julian Oes
5b9dea5604
Replacing usleep with px4_usleep
...
This is a step towards isolating time from the system.
6 years ago
Julian Oes
e485885344
platforms: remove unused Rate class
6 years ago
PX4 Build Bot
d1b44e5d6a
Update submodule v2.0 to latest Sat Dec 22 00:38:12 UTC 2018
...
- v2.0 in PX4/Firmware (3256e67fdc5e86b5d8c6378ea24ff8a065b65ba8): c38176a0a6
- v2.0 current upstream: 175ab6725c
- Changes: c38176a0a6...175ab6725c
175ab67 2018-12-17 PX4BuildBot - autogenerated headers for rev eaa914c7d9
4d5fa0d 2018-12-14 PX4BuildBot - autogenerated headers for rev 48df7ea08a
b65cfcd 2018-12-14 PX4BuildBot - autogenerated headers for rev b671d3c24d
8473fe2 2018-12-13 PX4BuildBot - autogenerated headers for rev 2b9d470011
5a186d4 2018-12-13 PX4BuildBot - autogenerated headers for rev 68ed09da2e
6 years ago
PX4 Build Bot
582658f2e0
Update submodule matrix to latest Sat Dec 22 00:38:42 UTC 2018
...
- matrix in PX4/Firmware (3e5d66580520e5ae64555c5fc9252c6c661389e3): 9c0acfba36
- matrix current upstream: 18fba8221c
- Changes: 9c0acfba36...18fba8221c
18fba82
2018-12-16 Matthias Grob - quaternion: improve comments
a4f39c0
2018-12-16 Matthias Grob - quaternion: reuse existing dot product
6 years ago
Daniel Agar
49be26b6cf
load_mon improve cpuload calculation and cleanup ( #9852 )
6 years ago
Alvar Martti
63651da309
FW bug in checking if landing point has been passed
...
* the bearing difference between the waypoints and aircraft to landing point should be wrap_pi'ed
6 years ago
Nuno Marques
cfd1be584e
Feature: VIO: add ODOMETRY stream ( #11084 )
...
* mavlink_messages: remove LOCAL_POSITION_NED_COV stream
* mavlink_messages.cpp: add ODOMETRY stream
* add MAV_ODOM_LP parameter to activate odometry loopback
* EKF2: add vehicle_odometry publisher
* Replace VISION_POSITION_ESTIMATE loopback with ODOMETRY
* LPE: add vehicle_odometry publisher
* set vehicle_odometry local_frame field
* mavlink_messages.cpp: ODOMETRY frame_id depends on MAV_ODOM_LP
6 years ago
Christian Rauch
b3018646d5
check CONFIG_STACK_COLORATION for print_load_nuttx
6 years ago
Christian Rauch
a6adc64569
check CONFIG_TASK_NAME_SIZE for print_load_nuttx
6 years ago
Christian Rauch
92117da3a8
check CONFIG_ARCH_MATH_H
6 years ago
Christian Rauch
0764c76836
check CONFIG_I2C for I2C
6 years ago
Christian Rauch
8a2e3800d8
check CONFIG_SCHED_INSTRUMENTATION for print_load_nuttx
6 years ago
Matthias Grob
fce35ba9d2
fmu-v2: remove orbit support to save flash
6 years ago
Matthias Grob
3d42c495aa
FlightTaskOrbit: clip radius to range
6 years ago
Matthias Grob
f8171f999b
mavlink: initialize orbit struct
6 years ago
Julian Oes
35f2c39f30
ROMFS: remove leftover CMakeLists.txt files
...
These files are copied by accident and then discovered by shellcheck.
6 years ago
Julian Oes
63ee101c51
rcS: fix exit value
...
Shellcheck complained about returning -1 because that's essentially 255.
6 years ago
Julian Oes
3ebf030a02
ROMFS: change shebang from #!zsh to #!/bin/sh
...
This was required for shellsheck.
6 years ago
Julian Oes
d265aaab41
ROMFS: don't forget to prune rc.board
...
The startup file rc.board is copied to the build/../genromfs folder
after the pruning of the files happened. Thus, about 2000 bytes of
comments and whitespace were included in the ROMFS.
This commit moves pruning of the files in ROMFS to a separate cmake
custom command which happens after the ROMFS files have been copied and
the extra files have been added.
Testing showed that this change only affected the rc.board file as
expected.
6 years ago
Matthias Grob
25de837c23
FlightTaskOrbit: fix rotation direction in telemetry
6 years ago
Matthias Grob
d4a40f5d99
px4_custom_mode: add custom sub mode orbit
6 years ago
Matthias Grob
1cee90d42f
orbit_status: fix type for radius
6 years ago
Matthias Grob
e708e82425
mavlink: lower orbit status frequency 5Hz
6 years ago
Matthias Grob
8b419efa2c
FlightTaskOrbit: fix rotation direction from command
6 years ago
Matthias Grob
25aa2b9c8c
orbit: fix telemetry message content
6 years ago
Matthias Grob
14b83f7bfc
mavlink: add orbit to the normal messages
...
It is only actually sent out when the orbit is running.
6 years ago
Alessandro Simovic
f11465bb26
orbit: publish uorb message
6 years ago
Alessandro Simovic
10913a66b4
orbit: sending telem via mavlink
6 years ago
Alessandro Simovic
a08ea4764d
orbit: added telem uorb msg
6 years ago
斯东Stone
1c90b917ea
Fix px4_fmu-v2/v3 serial port mapping
6 years ago
Beat Küng
6a5108269e
rcS tone_alarm: fix CBRK_BUZZER
...
tone_alarm was started before the parameters were loaded, and the first
tune was played before that as well. CBRK_BUZZER was then read as default,
ignoring the user-configured value.
We now start tone_alarm after we load the parameters. Note that a
previously published startup tone or SD card error will still be played.
6 years ago
Beat Küng
cfad556a16
mixer_multirotor: use reduce_only instead of -1000 for yaw thrust reduction
...
This is more accurate, because if we use -1000 as lower bound, a very large
yaw command can reduce thrust more than needed.
The difference can be seen in the following example
(with roll/pitch airmode):
p_dot_sp = -1.0 # roll acceleration
q_dot_sp = 0.9 # pitch acceleration
r_dot_sp = -0.9 # yaw acceleration
6 years ago