mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-02-05 19:01:00 +08:00
Fix missing newlines at the end of files
This commit is contained in:
2
.vscode/cmake-kits.json
vendored
2
.vscode/cmake-kits.json
vendored
@@ -2,4 +2,4 @@
|
||||
{
|
||||
"name": "PX4 detect"
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
@@ -84,4 +84,4 @@ def main() -> None:
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
||||
@@ -107,4 +107,4 @@ plt.show()
|
||||
##plt.plot(airspeed_corrected,(airspeed_corrected-airspeed_raw)/airspeed_corrected)
|
||||
##plt.xlabel('airspeed [m/s]')
|
||||
##plt.ylabel('relative error [-]')
|
||||
##plt.show()
|
||||
##plt.show()
|
||||
|
||||
@@ -47,4 +47,4 @@ for field in spec.parsed_fields():
|
||||
"main_orb_id": @( all_topics.index(name_snake_case) if name_snake_case in all_topics else -1 ),
|
||||
"dependencies": @( json.dumps(list(set(dependencies))) ),
|
||||
"name": "@( spec.full_name )"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
__all__ = ["srcscanner", "srcparser", "xmlout", "rcout"]
|
||||
__all__ = ["srcscanner", "srcparser", "xmlout", "rcout"]
|
||||
|
||||
@@ -24,4 +24,4 @@ q8jVArPNQT4R2erSmKmIGTRkLMG7CzUmwk1taHdSvzcmUyL4uYc5QBSubxat6gWh
|
||||
+a85AoGBAKgfnjjVoAWWvqEDLpfGPmE8lW+RaS7i5ff6QsSBx7uTEnHq6RNHuVnN
|
||||
et4pR87yIENeG8jMBiDCj8AGDtUNt9Ps9vWCPrf9HSOYoBUk+gZagU/9N+RBpuCM
|
||||
egoxtxIHM7HI+XIer+ZnZpVpgr+EoCaL7avx6k/susLQb7tqSBt1
|
||||
-----END RSA PRIVATE KEY-----
|
||||
-----END RSA PRIVATE KEY-----
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"date": "Tue Nov 3 13:02:09 2020", "public": "4db0c20105552a3cd7fbaf5cba7ab0811b3663db28525edb1436f2578d02b7fd", "private": "734d597e7d8ab0a1d0d64b95083aa6bee34b46b9e6e76dac1e363af114f12d15"}
|
||||
{"date": "Tue Nov 3 13:02:09 2020", "public": "4db0c20105552a3cd7fbaf5cba7ab0811b3663db28525edb1436f2578d02b7fd", "private": "734d597e7d8ab0a1d0d64b95083aa6bee34b46b9e6e76dac1e363af114f12d15"}
|
||||
|
||||
@@ -314,4 +314,4 @@ int elrs_led_main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
include_directories(${PX4_BOARD_DIR}/libfc-sensor-api/inc)
|
||||
include_directories(${PX4_BOARD_DIR}/libfc-sensor-api/inc)
|
||||
|
||||
@@ -10,4 +10,4 @@ cd -
|
||||
|
||||
cd Tools/simulation/gazebo-classic/sitl_gazebo-classic/models/iris_vision
|
||||
patch < ../../../../../../boards/modalai/voxl2/gazebo-docker/patch/iris_vision.patch
|
||||
cd -
|
||||
cd -
|
||||
|
||||
@@ -52,4 +52,4 @@
|
||||
#define PX4_SOC_ARCH_ID PX4_SOC_ARCH_ID_VOXL2
|
||||
|
||||
#define VOXL_ESC_DEFAULT_PORT "2"
|
||||
#define VOXL2_IO_DEFAULT_PORT "2"
|
||||
#define VOXL2_IO_DEFAULT_PORT "2"
|
||||
|
||||
@@ -5,4 +5,4 @@ uint8 request_type # id/read/write/clear
|
||||
uint8 item # dm_item_t
|
||||
uint32 index
|
||||
uint8[56] data
|
||||
uint32 data_length
|
||||
uint32 data_length
|
||||
|
||||
@@ -2,4 +2,4 @@ uint8 ARRAY_SIZE = 58
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
uint16 id # unique ID of debug array, used to discriminate between arrays
|
||||
char[10] name # name of the debug array (max. 10 characters)
|
||||
float32[58] data # data
|
||||
float32[58] data # data
|
||||
|
||||
@@ -37,4 +37,4 @@ uint8 input_source # Input source
|
||||
uint16[18] values # measured pulse widths for each of the supported channels
|
||||
|
||||
int8 link_quality # link quality. Percentage 0-100%. -1 = invalid
|
||||
float32 rssi_dbm # Actual rssi in units of dBm. NaN = invalid
|
||||
float32 rssi_dbm # Actual rssi in units of dBm. NaN = invalid
|
||||
|
||||
@@ -6,4 +6,4 @@ uint16 parameter_index
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 4
|
||||
|
||||
# TOPICS parameter_set_value_response parameter_remote_set_value_response parameter_primary_set_value_response
|
||||
# TOPICS parameter_set_value_response parameter_remote_set_value_response parameter_primary_set_value_response
|
||||
|
||||
@@ -1137,4 +1137,4 @@ bad_silicon:
|
||||
continue;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,4 +138,4 @@ extern void cout(uint8_t *buf, unsigned len);
|
||||
#if !defined(APP_VECTOR_OFFSET)
|
||||
# define APP_VECTOR_OFFSET 0
|
||||
#endif
|
||||
#define APP_VECTOR_OFFSET_WORDS (APP_VECTOR_OFFSET/sizeof(uint32_t))
|
||||
#define APP_VECTOR_OFFSET_WORDS (APP_VECTOR_OFFSET/sizeof(uint32_t))
|
||||
|
||||
@@ -83,4 +83,4 @@ add_subdirectory(srgbled)
|
||||
if (DEFINED PX4_CRYPTO)
|
||||
add_library(px4_random nuttx_random.c)
|
||||
target_link_libraries(px4_random PRIVATE nuttx_crypto)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -34,4 +34,4 @@
|
||||
px4_add_library(arch_board_hw_info
|
||||
board_hw_rev_ver.c
|
||||
)
|
||||
target_link_libraries(arch_board_hw_info PRIVATE arch_adc crc)
|
||||
target_link_libraries(arch_board_hw_info PRIVATE arch_adc crc)
|
||||
|
||||
@@ -45,4 +45,4 @@ extern "C" void qurt_log_to_apps(int level, const char *message)
|
||||
|
||||
else { ch->send_message("slpi_debug", strlen(message) + 1, (uint8_t *) message); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,4 +38,4 @@ parameters:
|
||||
reboot_required: true
|
||||
num_instances: 1
|
||||
instance_start: 1
|
||||
default: 0
|
||||
default: 0
|
||||
|
||||
@@ -3,4 +3,4 @@ menuconfig DRIVERS_CDCACM_AUTOSTART
|
||||
default n
|
||||
depends on MODULES_MAVLINK
|
||||
---help---
|
||||
Enable support for cdcacm_autostart
|
||||
Enable support for cdcacm_autostart
|
||||
|
||||
@@ -65,4 +65,4 @@ PARAM_DEFINE_INT32(SYS_USB_AUTO, 2);
|
||||
*
|
||||
* @group CDCACM
|
||||
*/
|
||||
PARAM_DEFINE_INT32(USB_MAV_MODE, 2);
|
||||
PARAM_DEFINE_INT32(USB_MAV_MODE, 2);
|
||||
|
||||
@@ -2,4 +2,4 @@ menuconfig DRIVERS_VOXL2_IO
|
||||
bool "voxl2_io"
|
||||
default n
|
||||
---help---
|
||||
Enable support for voxl2_io
|
||||
Enable support for voxl2_io
|
||||
|
||||
@@ -311,4 +311,4 @@ void param_primary_reset_all()
|
||||
void param_primary_get_counters(struct param_primary_counters *cnt)
|
||||
{
|
||||
*cnt = param_primary_counters;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -479,4 +479,4 @@ fw_att_control is the fixed wing attitude controller.
|
||||
extern "C" __EXPORT int fw_att_control_main(int argc, char *argv[])
|
||||
{
|
||||
return FixedwingAttitudeControl::main(argc, argv);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user