Commit Graph

57660 Commits

Author SHA1 Message Date
Pradeep e7c78f8cd4 AP_EFI : Hirth type id is reserved
Hirth type-id = 8
WIP
2023-04-24 19:23:19 +10:00
Asif Khan 47ad614e8e AP_Mount: Add MNTx_SYSID_DFLT param to easily target another vehicle 2023-04-24 13:34:20 +10:00
Asif Khan 3d11ec7b5c AP_Mount: Add SysID-Target entry to MNTx_DEFLT_MODE param description 2023-04-24 13:34:20 +10:00
Randy Mackay 8d8d11a139 AC_WPNav: wpnav speed param check fixed 2023-04-24 13:29:05 +10:00
Peter Barker fb51e35984 Tools: add and use AP_NOTIFY_TONEALARM_ENABLED 2023-04-23 16:24:02 +10:00
Peter Barker dfcadfc618 AP_Notify: add and use AP_NOTIFY_TONEALARM_ENABLED 2023-04-23 16:24:02 +10:00
Peter Barker 6933000395 AP_HAL_ChibiOS: add and use AP_NOTIFY_TONEALARM_ENABLED 2023-04-23 16:24:02 +10:00
Henry Wurzburg 11def9b958 AP_Notify: rename/remove HAL_BUZZER_ON to DEFAULT_BUZZ_ON_LVL 2023-04-23 11:19:50 +10:00
Henry Wurzburg efd0937568 AP_HAL_ChibiOS: rename/remove HAL_BUZZER_ON to DEFAULT_BUZZ_ON_LVL 2023-04-23 11:19:50 +10:00
Peter Barker 0d8512cdfb Tools: tidy external baro probing 2023-04-23 08:28:55 +10:00
Peter Barker dafc24b7a1 AP_HAL_ChibiOS: tidy external baro probing 2023-04-23 08:28:55 +10:00
Peter Barker 100b8d3915 AP_Baro: tidy external baro probing 2023-04-23 08:28:55 +10:00
Andrew Tridgell 7f42f1d89f build: remove ancient file 2023-04-23 07:50:21 +10:00
Peter Barker d3ce0356b8 hwdef: remove uart7 from thepeach-r1 bootloader to get it compiling
out of space otherwise
2023-04-22 13:58:02 +10:00
Peter Barker e37b3f9fcd hwdef: remove uart7 from thepeach-k1 bootloader to get it compiling
out of space otherwise
2023-04-22 13:58:02 +10:00
Peter Barker 587f64b784 hwdef: remove uart7 from PixSurveyA1-IND bootloader to get it compiling
out of space otherwise
2023-04-22 13:58:02 +10:00
Peter Barker e3ee5ca822 hwdef: remove uart7 from PixPilot-v3 bootloader to get it compiling
out of space otherwise
2023-04-22 13:58:02 +10:00
Henry Wurzburg 3362f752cb AP_Notify: remove unused HAL_BUZZER_OFF defines 2023-04-22 13:51:09 +10:00
Henry Wurzburg be94015dba AP_HAL_ChibiOS: remove unused HAL_BUZZER_OFF defines 2023-04-22 13:51:09 +10:00
Ryan Friedman 5c696cf18d AP_DDS: Switch to master instead of develop tag
* No new features

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-22 13:03:28 +10:00
Ryan Friedman bb6c872138 AP_DDS: Publish NavSatFix as soon as its available
* Removes the hard coded timing, now it's driven by the GPS update times
* Changed the function signature to return true if the data topic has been changed

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-22 11:04:49 +10:00
Ryan Friedman edde5d2e48 AP_DDS: Add developer recommended steps for pre-commit
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-22 11:03:04 +10:00
Rhys Mainwaring 96d7265823 Tools: add ROS 2 launch tests
Add ros2.repo for installing packages with vcstool.

Add cmake custom targets to run waf configure and build.

Update ros2.repo.
- Add dependency on arshPratap/ardupilot_ros2.git.
- Update version used for ardupilot_ros2.git.
- Update ardupilot branch.
- Reduce to minimum required.

Add ROS 2 launch tests.
- Add ROS 2 Python package for testing the AP_DDS library.
- Initial version including example Python test.
- Move the CMakeLists.txt to ./Tools/scripts/ros2/ardupilot_sitl.
- Add virtual port test.

Update README.
- Add instructions for using the docker image.

Disable socat tests return code.
- Not portable across platforms?

Update ros2.repo
- Reduce to minimum required.
- Update README.
- Update ardupilot_dds_tests packahe.xml

Use pytest tmp_path_factory.
- Use pytest built-in fixture for tmp directories.

Update test README.
- Update instructions for running test in docker.

Add test config and param files.

Add subscriber to Time messages.

Clean up virtual port test.
- Remove unused code.

Test time message is published.
- Copied from ardupilot_ros2/pr-ci-test-package branch.

Update time msg test
- Update workspace relative path.
- Remove sleep in main test.

Add original time message test.
- Add original version of time message test to help resolve failure.

Use separate processes for sitl and mavproxy.

Update original time message test.

Add Python testing to the ardupilot_sitl package.
- Add support for Python testing in the ardupilot_sitl package.

Add install section to CMakeLists.txt.
- Install executables and libs.
- Install default params and launch files.

Add launch for SITL.
- Add example launch file for SITL.
- Add local param file in config (test install).

Update ROS time message test.

Update CMakeLists.txt
- Set executable bit when installing programs.

Add example launch file for mavproxy.

Fix param path in sitl.launch.

Fix sitl address and port in example dds test.

Rename ardupilot dds yaml config file.

Rework sitl.launch to support launch arguments.
- Add launch arguments.
- Prep work for composing launch files.

Rework mavproxy.launch to support launch arguments.
- Add launch arguments.
- Fix default instance in sitl.launch.
- Run as MAVProxy in non-interactive mode.

Add launch file for socat virtual port process.
- Add separate launch file for process creating virtual ports.

Rename launch file for creating virtual ports.
- Remove unused import.

Add sample config yaml for sitl.launch.

Update ros2.repos.
- Remove ardupilot_ros2 and micro_ros_setup.
- Rename branch.

Move ROS 2 packages up a level.

Update path to ArduPilot root directory in CMakeLists.txt.

Update paths in ros2 dds time message tests

Update ros2 README and provide separate ros2.repo for macOS.
- Add build instructions for each platform.
- Provide separate ros2.repos for macOS which has additional dependencies to build from source.

Add composite launch for sitl and mavproxy.
-Provide example of composite launch that reuses existing launch files.

Add uart and serial port arguments to sitl.launch
- Add extra (optional) arguments for ports.
- Handle default arguments (e.g. wipe and synthetic clock).
- Remove use of TextSubstitution which seems redundant.

Simplify and update formatting in mavproxy and virtual port launches.
- Update print formatting.
- Remove use of TextSubstitution.

Add launch file for micro_ros_agent.
- The launch file in the micro_ros_agent does not have launch arguments.
- Replace hardcoded transport.

Correct install path for launch files in setup.py.
- Correct install path for launch files.
- Format line length.

Update micro_ros_agent launch.
- Do not use None for launch argument default value.

Add composite launch file for the time message test.
- Compose launch from four simpler launch files.

Comment unused variables for linting.

Install dds profile.
- Update CMakeLists.txt to install the dds_xrceprofile.
- Move install location of dds.parm to config/default_params.
- Update README with notes on equivalent command line calls.

Correct launch for micro_ros_agent.
- Remove extra space prefixing device field.
- Update README with example launch commands.

Update launch examples in README
- Update README with example launch commands.

Update combined launch for DDS time message test.
- Add events to combined launch to control launch sequence.
- Update README with example command for combined launch.

Remove dds.parm from ardupilot_dds_tests.
- File moved to ardupilot_sitl.

Update combined launch for DDS time message test.
- Disable events as these will not work with a launch description as the target_action.

Rename launch file for bringing up sitl with dds.

Rename virtual ports launch test.

Use PathJoinSubstitution and FindPackageShare for package resolution.
- Use substitutions for package and launch path resolution.

Update launch example in readme.
- Fix typo in combined launch.

Update virtual ports test case.

Rename virtual ports test case.

Rename time message test case.

Rework the time msg test case to use previously defined launch files.

Add time message check node.

Clean up test cases.

Move bringup fixture into conftest.py.
- Factor out bringup fixture.

Remove unused code and imports.

Add test for navsatfix.
- Update qos profile for navsatfix test.

Update test case names.

Use pathlib instead of os.path.

Set speedup to 10, reduce test timeout.

Update CMakeLists.txt
- Remove --debug.
- Remove commented code.

Update sitl_launch.py.
- Use max_serial_ports instead of hardcoded number.

Remove sample python test.

Update maintainer for ros2 packages.

Update ros2.repos.
- Point to ardupilot master instead of fork and PR branch.

Update CMakeLists.txt.
- Fix format (indent) in build test section.

Enable ament linters and use black formatter.
- Enable ament_lint_auto in CMakeLists.txt.
- Override default flake8 config to prevent conflicts with black formatter.
- Update README.
- Update files to satisfy linters.

More PEP 257 compliance.
- Adopt recommended style for comments.

Apply linters and formatter.
- Apply linter and black formatter to ardupilot_dds_tests.
- Move package tests under folder.
- Reinstate copyright, flake8 and pep257 tests.

Reorganise ros2 launch files
- Move launch files for SITL from ardupilot_dds_tests to ardupilit_sitl.
- Update docs.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-04-22 11:02:24 +10:00
Ryan Friedman 7ff2a9eec3 AP_DDS: Use mirror of DDS Gen
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-22 08:28:58 +10:00
Michael du Breuil a9d696752d GCS_MAVLink: Factor accel cal work out to INS library 2023-04-21 21:33:16 +10:00
Michael du Breuil b76d6d827f AP_InertialSensor: Factor accel cal in from GCS_MAVLink 2023-04-21 21:33:16 +10:00
Andrew Tridgell 0573a86fcf Tools: use python3 in build_binaries.py 2023-04-21 15:46:24 +10:00
Andrew Tridgell 0d029ee055 Tools: change autotest to python3 2023-04-21 15:46:24 +10:00
Randy Mackay 00e1f1d6f5 Copter: 4.4.0-beta1 release notes update 2023-04-21 08:56:09 +09:00
Randy Mackay 12fcc9b5c5 Rover: 4.4.0-beta1 release notes update 2023-04-21 08:56:06 +09:00
Randy Mackay 16e9d183f1 Copter: update 4.4.0-beta1 release notes based on peer feedback 2023-04-21 08:56:02 +09:00
Randy Mackay 75874e3290 Copter: 4.4.0-beta1 release notes 2023-04-21 08:55:56 +09:00
Randy Mackay a5775fcf77 Rover: 4.4.0-beta1 release notes 2023-04-21 08:55:51 +09:00
Andrew Tridgell e8b740df51 Plane: release notes for 4.4.0beta1 2023-04-21 09:52:55 +10:00
Peter Barker f33e5e7847 ArduCopter: allow Copter to emit MISSION_STATE_PAUSED when paused in auto 2023-04-21 09:49:55 +10:00
Peter Barker 15ec9f6f82 GCS_MAVLink: allow Copter to emit MISSION_STATE_PAUSED when paused in auto 2023-04-21 09:49:55 +10:00
Peter Barker a3cc0f137c mavlink: reference commit for MISSION_CURRENT message
.... and a couple of other minor changes
2023-04-21 09:49:55 +10:00
Peter Barker 510ed4cf2f GCS_MAVLink: add support for more MISSION_CURRENT fields
- a state so someone can see if the mission is complete
 - total number of waypoints
2023-04-21 09:49:55 +10:00
Shiv Tyagi 82adf42bd6 Rover: add dock mode to INTIAL_MODE and MODE1 params 2023-04-21 09:22:33 +10:00
Peter Barker 75a0c592ab AP_RCProtocol: move code from SRXL2.cpp into Backend.cpp
NFC, just moving from one cpp to another
2023-04-21 09:15:01 +10:00
Peter Barker ff441de8ec AP_RCProtocol: move configure_vtx method to AP_RCProtocol_Backend
this is called as a static method from DSM to SRXL2 which isn't good.
2023-04-21 09:15:01 +10:00
Peter Barker 1d8a5ac92d AP_HAL_ChibiOS: correct CubOrange-periph-heavy compilation
canmanager isn't enabled, so no piccolocan
2023-04-20 21:51:40 +10:00
Randy Mackay 0d43a2bec4 Copter: RTL accepts do-change-speed commands 2023-04-20 21:39:57 +10:00
muramura edabfb8a2e AP_Arming: Remove unnecessary empty sentences 2023-04-20 09:24:46 +10:00
Peter Barker ce00251333 AP_CANManager: correct gate on definition of AP_CANManager class 2023-04-20 08:53:46 +10:00
Peter Barker ddcfe5e734 Tools: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker d0c80f5877 AP_Vehicle: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker 79f08394b3 SRV_Channel: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker b167e19bb6 AP_Scripting: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker 7461dffb89 AP_RangeFinder: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00