Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
d7c8acd1
Commit
d7c8acd1
authored
9 years ago
by
Lorenz Meier
Browse files
Options
Downloads
Patches
Plain Diff
CMake: Add replay config
parent
e5c53f27
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmake/configs/posix_sitl_replay.cmake
+62
-0
62 additions, 0 deletions
cmake/configs/posix_sitl_replay.cmake
posix-configs/SITL/init/rcS_replay_iris
+4
-0
4 additions, 0 deletions
posix-configs/SITL/init/rcS_replay_iris
src/firmware/posix/CMakeLists.txt
+1
-1
1 addition, 1 deletion
src/firmware/posix/CMakeLists.txt
with
67 additions
and
1 deletion
cmake/configs/posix_sitl_replay.cmake
0 → 100644
+
62
−
0
View file @
d7c8acd1
include
(
posix/px4_impl_posix
)
set
(
CMAKE_TOOLCHAIN_FILE
${
CMAKE_SOURCE_DIR
}
/cmake/toolchains/Toolchain-native.cmake
)
set
(
config_module_list
drivers/device
drivers/boards/sitl
platforms/common
platforms/posix/px4_layer
platforms/posix/work_queue
systemcmds/param
systemcmds/ver
systemcmds/perf
modules/uORB
modules/param
modules/systemlib
modules/ekf2
modules/ekf2_replay
modules/sdlog2
modules/controllib
lib/mathlib
lib/mathlib/math/filter
lib/conversion
lib/ecl
lib/external_lgpl
lib/geo
lib/geo_lookup
)
set
(
config_extra_builtin_cmds
serdis
sercon
)
set
(
config_sitl_rcS
posix-configs/SITL/init/rcS
CACHE FILEPATH
"init script for sitl"
)
set
(
config_sitl_viewer
replay
CACHE STRING
"viewer for sitl"
)
set_property
(
CACHE config_sitl_viewer
PROPERTY STRINGS
"replay;none"
)
set
(
config_sitl_debugger
disable
CACHE STRING
"debugger for sitl"
)
set_property
(
CACHE config_sitl_debugger
PROPERTY STRINGS
"disable;gdb;lldb"
)
add_custom_target
(
sercon
)
set_target_properties
(
sercon PROPERTIES
MAIN
"sercon"
STACK
"2048"
)
add_custom_target
(
serdis
)
set_target_properties
(
serdis PROPERTIES
MAIN
"serdis"
STACK
"2048"
)
This diff is collapsed.
Click to expand it.
posix-configs/SITL/init/rcS_replay_iris
0 → 100644
+
4
−
0
View file @
d7c8acd1
uorb start
ekf2 start --replay
sleep 2
ekf2_replay start replay.px4log
This diff is collapsed.
Click to expand it.
src/firmware/posix/CMakeLists.txt
+
1
−
1
View file @
d7c8acd1
...
...
@@ -57,7 +57,7 @@ add_custom_target(run_config
)
add_dependencies
(
run_config mainapp
)
foreach
(
viewer none jmavsim gazebo
)
foreach
(
viewer none jmavsim gazebo
replay
)
foreach
(
debugger none gdb lldb ddd valgrind
)
foreach
(
model none iris iris_opt_flow tailsitter standard_vtol
)
if
(
debugger STREQUAL
"none"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment