forked from Archive/PX4-Autopilot
0f29b87101
- Source processing now happens on original source files: - processing to line-by-line - required overhaul of regex match patterns + processing - pros: - enable tracing of ambiguous parsing sites -- reports (module, file, line-number, line-contents) - simplifies code - reduces computational complexity - cons: - certain declarations are harder to parse: multiline declarations - refactors: - added specific subclasses for each: Publications, Subscriptions, Ambiguities - added a "Scope" class to represent either a module ('ModuleScope') or a library ('LibraryScope') - regexes: - added cases for C++-style classes - expanded C++-style regex cases to accommodate templates - `ORB_ID::` is accepted wherever `ORB_ID(` is accepted - adds 'orb_copy' regex to the subscription cases - emit ambiguous-line warning for declarations with `ORB_ID` on the same line - emit ambiguous-line warning for `ORB_ID` with a declaration on the same line - changed 'module whitelist' to 'scope-whitelist' - whitelist may now apply to libraries - libraries are optionally merged with their depending modules (but not by default) - may be merged with their depending modules with the `--merge-depends` cli flag - eliminates some redundant 'special-case' handling code - debug output - raises exception and aborts if a topic is found outside of a scope - debug output is now printed & filtered with the python 'logging' standard module - alphabetizes topic output in debug logging - fixes debug output if package dependencies are missing - now warns on ambiguous matches - prints a list of ambiguous source sites (aka warnings) on completion - (still) emits a warning if we find ORB_ID outside of a scope - adds warnings if any of the source paths are invalid - do not emit debug output for modules outside of the module/scope whitelist - Expand script's CLI parameters - added 'none' output options: undocumented debugging option to silence file output while debugging - added the `--merge-depends` cli flag -- merges output of modules & their dependee libraries |
||
---|---|---|
.. | ||
HIL | ||
Matlab | ||
astyle | ||
dist | ||
ecl_ekf | ||
flightgear_bridge@7c2c623da9 | ||
jMAVSim@358b6cca40 | ||
jsbsim_bridge@e070c50d59 | ||
models | ||
px4airframes | ||
px4moduledoc | ||
serial | ||
setup | ||
sitl_gazebo@3e5fed04d8 | ||
stack_usage | ||
uorb_graph | ||
.gitignore | ||
boot_now.py | ||
check_submodules.sh | ||
cryptotools.py | ||
docker_run.sh | ||
fetch_file.py | ||
fix_headers.sh | ||
gazebo_sitl_multiple_run.sh | ||
generate_board_targets_json.py | ||
geotag_images_ulog.py | ||
gz_sim.sh | ||
jmavsim_run.sh | ||
mac_set_ulimit.sh | ||
mavlink_px4.py | ||
mavlink_shell.py | ||
mavlink_ulog_streaming.py | ||
package_firmware.py | ||
parameter_update.py | ||
posix.gdbinit | ||
posix_lldbinit | ||
process_sensor_caldata.py | ||
px4.py | ||
px4_developer.mk.example | ||
px_mkfw.py | ||
px_process_airframes.py | ||
px_process_module_doc.py | ||
px_romfs_pruner.py | ||
px_uploader.py | ||
qgc_meta_sync.sh | ||
run-clang-tidy.py | ||
run-shellcheck.sh | ||
setup_gazebo.bash | ||
setup_jsbsim.bash | ||
sitl_multiple_run.sh | ||
sitl_run.sh | ||
test_keys.json | ||
uavcan_copy.sh | ||
upload.sh | ||
upload_log.py | ||
usb_serialload.py | ||
validate_json.py | ||
validate_yaml.py |