《安富莱嵌入式周报》第326期:航空航天级CANopen协议栈,开源USB PD电源和功耗分析,开源EtherCAT伺服驱动板,时序绘制软件,现代机器人设计
周报汇总地址:嵌入式周报 - uCOS & uCGUI & emWin & embOS & TouchGFX & ThreadX - 硬汉嵌入式论坛 - Powered by Discuz!
更新一期视频教程:
BSP视频教程第28期:CANopen协议栈专题,CANopen主从机组网实战,CAN词典工具使用方法以及吃透PDO玩法
BSP视频教程第28期:CANopen协议栈专题,CANopen主从机组网实战,CAN词典工具使用方法以及吃透PDO玩法(2023-11-01) - STM32H7 - 硬汉嵌入式论坛 - Powered by Discuz!
视频版:
https://www.bilibili.com/video/BV1H84y1Q717/
《安富莱嵌入式周报》第326期:航空航天级CANopen协议栈,开源USB PD电源和功耗分析,开源EtherCAT伺服驱动板,时序绘制软件,现代机器人设计
1、航空航天级CANopen协议栈
CANopen · GitLab
CANopen
lely-core-ecss.zip (1.41 MB)
test-environment-master.zip (494.18 KB)
test-suite-master.zip (815.63 KB)
由于高质量,安全可靠组件需求,ECSS((European Cooperation for Space Standardization,欧洲空间标准化合作组织)创建了一个适用用于航天器的CANopen版本( ECSS-E-ST-50-15C)
测试在航天级M7内核芯片ATSAMV71-XULT上的SAMV7上执行。ECCS B级预认证 CANopen 库,用太空环境。
当前提供的两个测试版
当前是在开源免费CANopen协议栈lely基础上开发的。
2、开源USB PD电源和功耗分析Spark Analyzer
GitHub - tooyipjee/Spark-Analyzer: USB-PD ESP32 Power Analyzer
Spark-Analyzer-master.zip (21.9 MB)
Spark Analyzer 与 USB-PD完全兼容, 精确控制电压电平, 可切换至 5V、9V、15V 和 20V. 精确测量项目的电流消耗
负载性能测试:
9V3A负载测试:
20V1.5A负载测试:
手机APP
板子效果:
3、资讯
(1)英飞凌推出WiFi6,蓝牙5.4二合一芯片 CYW55513
CYW5551 - Infineon Technologies
之前树莓派单片机上用是这个系列的CYW43439,这次推出升级版
(2)乐鑫支持 Matter 1.2 标准和新家电设备类型
乐鑫率先支持 Matter 1.2 标准和新家电设备类型 | 乐鑫科技
Matter 是开源的连接标准,旨在简化并增强智能设备与应用程序的开发。它为全球智能家居设备制定了统一规范,从而确保各种产品之间能够进行安全、可靠、无缝的通信,同时具有良好的互操作性。最新发布的 Matter 1.2 规范增加了对九种新设备类型的支持,包括:
洗衣机
冰箱
洗碗机
房间空调
扫地机器人
空气质量传感器
空气净化器
烟雾和一氧化碳警报器
风扇
(3)ARM收购部分树莓派股权
Raspberry Pi Receives Strategic Investment from Arm, Further Extending Long-Term Partnership - Arm Newsroom
(4)ADI公司的Module(微型模块)稳压器和DC-DC电源产品是完整的系统级封装 (SiP)电源管理解决方案
µModule稳压器 | 亚德诺(ADI)半导体
在紧凑的表面贴装LGA封装中集成了DC-DC控制器、功率晶体管、输入和输出电容、补偿组件以及电感。Module 电源产品支持降压、降压-升压、电池充电器、隔离式转换器和LED驱动器等功能。Module电源产品是高度集成的解决方案,每个器件都可提供PCB Gerber文件,在满足时间和空间限制的同时,具有高效率、高可靠性。一些产品还提供符合EN 55022 B类标准的低EMI解决方案。
umodulepowerproducts_cn.pdf (32.69MB)
(5)Arduino为其H7核心板设计的底板
Tip your hat hello to our latest expansion: Introducing the Portenta Hat Carrier! | Arduino Blog
大家看看有没有值得借鉴的
ASX00049-schematics.pdf (11.4 MB)
(6)CMSIS软件包V6.0持续迭代,为正式版发布做准备,支持的列表已经不再包含AC5
Releases · ARM-software/CMSIS_6 · GitHub
(7)瑞萨Cortex-M85内核单片机RA8系列正式上线发布
RA8M1 - 基于 480 MHz Arm® Cortex®-M85、搭载 Helium 和 TrustZone® 的微控制器 | Renesas
4、开源跨平台波形时序绘制软件wavedrom,可以在线使用,也可以离线使用
WaveDrom - Digital timing diagram everywhere
Releases · wavedrom/wavedrom.github.io · GitHub
采用json方式编辑,输出SVG矢量格式图片:
大量效果展示:
WaveDrom / Aliaksei Chapyzhenka | Observable
5、基于霍尔传感器的自行车测速
https://github.com/astrosander/arduino-speedometer
这个方案比较容易实现,这里给大家分享,主要是作者做了一个动图,比较拉风
arduino-speedometer-main.zip (17.13 MB)
6、现代机器人设计课程
https://github.com/madibabaiasl/modern-robotics-I-course/wiki
课程内容安排的比较好,大家有兴趣可以看看
每期内容图文并茂
7、开源EtherCAT伺服驱动板设计
大部分EtherCAT协议用于伺服都是采用的CANopen over EtherCAT CiA402
GitHub - kubabuda/ecat_servo: Open EtherCAT CiA402 servo drive implementation
EtherCAT servodrive | Hackaday.io
ecat_servo-main.zip (41.21MB)
从站芯片使用的AX58100或者LAN9252
8、ThreadX全家桶迎来年末最后一个大更版本6.3.0
全家桶软件包下载:
ThreadX全家桶源码和文档下载,含GUIX,Filex,NetX,USBX,GUIX Studio,TraceX等,全部升级至V6.3.0(2023-11-01) - uCOS & uCGUI & emWin & embOS & TouchGFX & ThreadX - 硬汉嵌入式论坛 - Powered by Discuz!
内核微更:
ThreadX NetXDUO升级至V6.3.0,增加实时传输RTP,RTCP和RTSP支持
Files are added to support new protocols: Real Time Transport Protocol (RTP), RTP Control Protocol (RTCP), and Real Time Streaming Protocol (RTSP)addons/rtp/nx_rtp_sender.caddons/rtp/nx_rtp_sender.haddons/rtsp/nx_rtsp_server.caddons/rtsp/nx_rtsp_server.hFiles are modified to improve the internal logic for finding a free port:common/src/nx_tcp_free_port_find.ccommon/src/nx_udp_free_port_find.cFiles are modified to improve packet length or buffer length verification:common/inc/nx_icmpv6.hcommon/src/nx_icmpv6_packet_process.ccommon/src/nx_icmpv6_process_na.ccommon/src/nx_icmpv6_process_ns.ccommon/src/nx_icmpv6_process_packet_too_big.ccommon/src/nx_icmpv6_process_redirect.ccommon/src/nx_icmpv6_process_ra.cFiles are modified to support random IP id:common/inc/nx_api.hcommon/inc/nx_user_sample.hcommon/src/nx_ip_create.ccommon/src/nx_ip_header_add.ccommon/src/nx_ipv6_fragment_process.cFiles are modified to fix typo in the comments:crypto_libraries/src/nx_crypto_3des.ccrypto_libraries/src/nx_crypto_aes.ccrypto_libraries/src/nx_crypto_des.ccrypto_libraries/src/nx_crypto_drbg.ccrypto_libraries/src/nx_crypto_ecdh.ccrypto_libraries/src/nx_crypto_ecdsa.ccrypto_libraries/src/nx_crypto_ecjpake.ccrypto_libraries/src/nx_crypto_hkdf.ccrypto_libraries/src/nx_crypto_hmac.ccrypto_libraries/src/nx_crypto_hmac_md5.ccrypto_libraries/src/nx_crypto_hmac_sha1.ccrypto_libraries/src/nx_crypto_hmac_sha2.ccrypto_libraries/src/nx_crypto_hmac_sha5.ccrypto_libraries/src/nx_crypto_md5.ccrypto_libraries/src/nx_crypto_pkcs1_v1.5.ccrypto_libraries/src/nx_crypto_rsa.ccrypto_libraries/src/nx_crypto_sha1.ccrypto_libraries/src/nx_crypto_sha2.ccrypto_libraries/src/nx_crypto_sha5.ccrypto_libraries/src/nx_crypto_tls_prf_1.ccrypto_libraries/src/nx_crypto_tls_prf_sha256.ccrypto_libraries/src/nx_crypto_tls_prf_sha384.ccrypto_libraries/src/nx_crypto_tls_prf_sha512.cFile is modified to fix packet buffer overrun:nx_secure/src/nx_secure_tls_send_certificate.cFile is modified to check length before sending:nx_secure/src/nxe_secure_tls_session_send.cFile is modified to fix the logic of handling close notify packet from peer:nx_secure/src/nx_secure_dtls_session_end.cFiles are modified to avoid duplicate packet release when DTLS send fails:nx_secure/src/nx_secure_dtls_send_record.cnx_secure/src/nx_secure_dtls_server_handshake.cnx_secure/src/nx_secure_dtls_session_receive.cFiles are modified for Azure IoT:nx_azure_iot* Corrected the include order for IoT security module.Added error state in notification callback to let user application have the chance to retry new update for Azure Device Update.Reported the result of each step for Azure Device Update.Improved the code to ignore null file url for Azure Device Update.Added the PnP check for Azure Device Update.Added sha256 in driver preprocess command for Azure Device Update.Fixed multiple proxy update issue for Azure Device Update.Added support for skipping failed step/update for Azure Device Update.Corrected the packet allocation for MQTT over WebSocket.Other modified files:common/src/nx_ipv4_packet_receive.c Validated packet length for fragments. Make sure length of packet with more bit flag is multiple of 8.common/src/nx_igmp_packet_process.c Unified checksum calculation by function call.common/src/nx_tcp_packet_process.c Validated TCP header buffer to avoid span in multiple packets.common/src/nx_tcp_socket_state_data_check.c Corrected the acked packet count.addons/bsd/nxd_bsd.h Added options to disable OS BSD APIs overriding.addons/bsd/nxd_bsd.c Support random IP id.Used new APIs/structs naming.addons/dhcp/nxd_dhcp_client.c Support random IP id.Corrected caller checking for the function _nxe_dhcp_state_change_notify.addons/dhcp/nxd_dhcp_server.c Fixed local variable type issue for the function _nx_dhcp_server_extract_information under strict aliasing compiling option.Corrected the logic of verifying the incoming packet length.addons/dhcp/nxd_dhcpv6_server.c Fixed server not update client record issue when continuous CONFIRM message received.Corrected server for ignoring both preferred-lifetime and valid-lifetime in client request message(s).addons/dns/nxd_dns.c Reset the receive status for mismatch ID to avoid processing and releasing null packet.addons/ftp/nxd_ftp_client.c Corrected the length of packet buffer to avoid write overflow.Fixed packet double release issue in _nx_ftp_client_file_write.addons/ftp/nxd_ftp_server.c Set packet pointer to NULL after released to fix duplicate packet release issue.Avoided duplicate creation for data socket when previous command is not finished.Fixed data length underflow when TCP MSS is less than 255.Removed deletion of control socket in stop API which is only needed in delete API.addons/mdns/nxd_mdns.h Corrected mDNS symbols check for NX_MDNS_ENABLE_IPV6.addons/mqtt/nxd_mqtt_client.c Improved internal logic for MQTT packet allocation.addons/nat/nx_nat.c Fixed packet double release issue in _nx_nat_process_packet.addons/ppp/nx_ppp.c Supported processing compressed data.addons/ppp/nx_ppp.h Supported processing compressed data.addons/smtp/nxd_smtp_client.c Set nx_smtp_server_packet to NULL to avoided duplicate packet release in _nx_smtp_utility_read_server_code.addons/snmp/nxd_snmp_.c Combined the functions of processing snmp v1 and v2.Improved packet length or buffer length verification.Fixed packet double release issue.addons/snmp/nxd_snmp_.h Combined the functions of processing snmp v1 and v2.addons/sntp/nxd_sntp_client.c Dropped packet chain for SNTP data to avoid write overflow.
ThreadX USBX升级至V6.3.0, 大量支持zero copy和性能提升
Improved host UVC format and frame data checking, files modified:ux_host_class_video.hux_host_class_video_format_data_get.cux_host_class_video_frame_data_get.cux_host_class_video_frame_parameters_set.cFixed use after free issues, files modified:ux_host_class_hub_entry.cux_hcd_ehci_isochronous_endpoint_create.cImproved device enumeration transfer flow in standalone mode, file modified:ux_host_stack_tasks_run.cTurned off in standalone build, file modified:ux_host_class_asix_activate.cImproved host hub deactivating flow, file modified:ux_host_class_hub_deactivate.cAdded error traps, file modified:ux_utility_memory_free.cImproved host HID clients deactivation sequence, files modified:ux_host_class_hid_keyboard_deactivate.cux_host_class_hid_mouse_deactivate.cux_host_class_hid_remote_control_deactivate.cImproved standalone host CDC ACM control/data group management, files modified:ux_host_class_cdc_acm_activate.cux_host_class_cdc_acm_deactivate.cux_host_class_cdc_acm_entry.cRemoved unused semaphore in host PIMA, file modified:ux_host_class_pima_deactivate.cImproved PIMA host/device optional interrupt endpoint management, files modified:ux_device_class_pima_activate.cux_device_class_pima_deactivate.cux_device_class_pima_event_set.cux_device_class_pima_interrupt_thread.cux_host_class_pima_deactivate.cRemoved interface link in device linked classes, modified files:ux_host_class_asix_configure.cux_host_class_gser_activate.cux_host_class_gser_configure.cux_host_class_prolific_configure.cux_host_class_swar_configure.cMoved host storage class/subclass/protocol checking and endpoints getting into _activate, files modified:ux_host_class_storage_activate.cux_host_class_storage_device_initialize.cImproved host class endpoints get/checking, files modified:ux_host_class_cdc_acm_endpoints_get.cux_host_class_cdc_ecm_endpoints_get.cux_host_class_storage_endpoints_get.cImproved host audio descriptors check, AC AS management and error handling, files modified:ux_host_class_audio.hux_host_class_audio_activate.cux_host_class_audio_deactivate.cux_host_class_audio_device_type_get.cChecked XML tag nesting depth in Pictbridge object parsing, file modified:ux_pictbridge_object_parse.cLimited output array size for pictbridge element to hexa convert, file modified:ux_pictbridge_array_element_to_array_hexa.cRejected CDC-DATA interface not next to its control interface:ux_host_class_cdc_ecm_activate.cFixed host HID field managing issue, file modified:ux_host_class_hid_report_add.cImproved host HID usage handling, files modified:ux_host_class_hid_field_decompress.cux_host_class_hid_report_add.cFixed some EHCI split transfer issues, files modified:ux_hcd_ehci_interrupt_endpoint_create.cux_hcd_ehci_isochronous_endpoint_create.cChecked received ethernet packet length before processing it, file modified:ux_network_driver.cRefined memory management to reduce overhead, files modified:ux_api.hux_user_sample.hux_utility.hux_system_initialize.cux_utility_memory_allocate.cux_utility_memory_byte_pool_create.cux_utility_memory_byte_pool_search.cux_utility_memory_free_block_best_get.cux_utility_memory_free.cux_hcd_sim_host_initialize.cux_hcd_sim_host_uninitialize.cAdded zero copy option to device RNDIS, files modified:ux_user_sample.hux_device_class_rndis.hux_device_class_rndis_activate.cux_device_class_rndis_bulkin_thread.cux_device_class_rndis_bulkout_thread.cAdded zero copy option to device CDC_ECM, files modified:ux_user_sample.hux_device_class_cdc_ecm.hux_device_class_cdc_ecm_activate.cux_device_class_cdc_ecm_bulkin_thread.cux_device_class_cdc_ecm_bulkout_thread.cux_device_class_cdc_ecm_change.cEnabled zero copy when device class video (UVC) owns endpoint buffer, files modified:ux_device_class_video.hux_device_class_video_change.cux_device_class_video_initialize.cux_device_class_video_read_task_function.cux_device_class_video_read_thread_entry.cux_device_class_video_uninitialize.cux_device_class_video_write_task_function.cux_device_class_video_write_thread_entry.cEnabled zero copy when device class audio (UAC) owns endpoint buffer, files modified:ux_device_class_audio.hux_device_class_audio_activate.cux_device_class_audio_change.cux_device_class_audio_initialize.cux_device_class_audio_interrupt_task_function.cux_device_class_audio_read_task_function.cux_device_class_audio_read_thread_entry.cux_device_class_audio_unitialize.cux_device_class_audio_write_task_function.cux_device_class_audio_write_thread_entry.cAdded device class HID zero copy and flexible queue support, files modified:ux_user_sample.hux_device_class_hid.hux_device_class_hid_activate.cux_device_class_hid_event_get.cux_device_class_hid_event_set.cux_device_class_hid_initialize.cux_device_class_hid_interrupt_thread.cux_device_class_hid_read.cux_device_class_hid_read_run.cux_device_class_hid_receiver_event_free.cux_device_class_hid_receiver_event_get.cux_device_class_hid_receiver_initialize.cux_device_class_hid_receiver_tasks_run.cux_device_class_hid_receiver_thread.cux_device_class_hid_receiver_uninitialize.cux_device_class_hid_tasks_run.cux_device_class_hid_uninitialize.cAdded device class CDC ACM zero copy support, files modified:ux_user_sample.hux_device_class_cdc_acm.hux_device_class_cdc_acm_bulkin_thread.cux_device_class_cdc_acm_initialize.cux_device_class_cdc_acm_read.cux_device_class_cdc_acm_read_run.cux_device_class_cdc_acm_tasks_run.cux_device_class_cdc_acm_unitialize.cux_device_class_cdc_acm_write.cux_device_class_cdc_acm_write_run.cux_device_class_cdc_acm_bulkout_thread.cImproved interface request process with print class GET_DEVICE_ID support, file modified:ux_device_stack_control_request_process.cAdded new device mode to manage endpoint buffers in classes, files modified:ux_api.hux_user_sample.hux_device_class_dpump.hux_device_class_dpump_activate.cux_device_class_dpump_change.cux_device_class_dpump_initialize.cux_device_class_dpump_read.cux_device_class_dpump_read_run.cux_device_class_dpump_write.cux_device_class_dpump_write_run.cux_device_stack_initialize.cux_device_stack_uninitialize.cux_device_class_audio.hux_device_class_audio_activate.cux_device_class_audio_change.cux_device_class_audio_initialize.cux_device_class_audio_unitialize.cux_device_class_ccid.hux_device_class_ccid_activate.cux_device_class_ccid_initialize.cux_device_class_ccid_uninitialize.cux_device_class_cdc_acm.hux_device_class_cdc_acm_bulkin_thread.cux_device_class_cdc_acm_bulkout_thread.cux_device_class_cdc_acm_initialize.cux_device_class_cdc_acm_read.cux_device_class_cdc_acm_read_run.cux_device_class_cdc_acm_tasks_run.cux_device_class_cdc_acm_unitialize.cux_device_class_cdc_acm_write.cux_device_class_cdc_acm_write_run.cux_device_class_cdc_ecm.hux_device_class_cdc_ecm_activate.cux_device_class_cdc_ecm_bulkin_thread.cux_device_class_cdc_ecm_bulkout_thread.cux_device_class_cdc_ecm_change.cux_device_class_cdc_ecm_initialize.cux_device_class_cdc_ecm_uninitialize.cux_device_class_hid.hux_device_class_hid_activate.cux_device_class_hid_initialize.cux_device_class_hid_uninitialize.cux_device_class_pima.hux_device_class_pima_activate.cux_device_class_pima_initialize.cux_device_class_pima_object_info_get.cux_device_class_pima_object_prop_desc_get.cux_device_class_pima_object_prop_value_get.cux_device_class_pima_object_references_get.cux_device_class_printer.hux_device_class_printer_activate.cux_device_class_printer_initialize.cux_device_class_printer_uninitialize.cux_device_class_printer_write.cux_device_class_printer_write_run.cux_device_class_rndis.hux_device_class_rndis_activate.cux_device_class_rndis_bulkin_thread.cux_device_class_rndis_bulkout_thread.cux_device_class_rndis_initialize.cux_device_class_storage.hux_device_class_storage_activate.cux_device_class_storage_initialize.cux_device_class_storage_thread.cux_device_class_storage_uninitialize.cux_device_class_video.hux_device_class_video_change.c
ThreadX GUIX升级至V6.3.0,增加画布局部缓存支持,增加Cortex-M85的Helium支持
ThreadX FileX和LevelX升级至V6.3.0,加强NAND和NOR支持
GUIX Studio升级至V6.3.0版本,支持单独生成字库和图库bin文件
9、H7-TOOL本周进展
H7-TOOL详细介绍:H7-TOOL开发工具,1拖4/16脱机烧录,高速DAPLINK,RTOS Trace,CAN/串口助手, 示波器, RTT等,支持WiFi,以太网,高速USB和手持 - H7-TOOL开发工具 - 硬汉嵌入式论坛 - Powered by Discuz!
开始H7-TOOL的2.24版本固件收尾工作,这次更新的内容很多,除了新增一批脱机烧录支持芯片。
这次将带来I2C从机,SPI从机,CANopen解析(已经在论坛发布),RTOS Trace链表解析,CMSIS-SVD文件解析实时监测各种外设等功能
(1)H7-TOOL的CANopen解析功能增加分包展示心跳,紧急报文,PDO和SDO消息
主从组网测试,节点多了之后,很多消息混杂在一起。今天增加个分窗口展示功能,汇总窗口展示所有消息,其它窗口分别展示心跳,紧急报文,PDO和SDO。
比如下面这种,很多都在一起展示,不好分辩
通过这些窗口做分辩后,会大大方便查看:
同时增加5Mbps通信速度:
(2)H7-TOOL增加CMSIS-SVD解析功能,实时监测所有芯片厂家所有外设寄存器和每个bit
下个2.24版本固件正式发布。
(1)支持离线,WiFi,以太网和USB四种玩法,且支持内网和外网远程访问。芯片所有寄存器状态全部掌控。
(2)不会复位目标板芯片,随时连接随时使用。
(3)MDK, IAR等在线调试有两个重要功能,一个是断点,单步调试等玩法。还有一个就是外设寄存器状态,内存数据等实时检测。我们本次要实现的是后者,当前TOOL就可以读写外设寄存器,但是需要看IC数据手册来获取外设地址,非常不方便。
针对这个问题,IC厂家都有推出CMSIS-SVD文件,这个文件包含了所有外设寄存器地址,甚至每个寄存器每个bit的含义。所以TOOL能够解析这个文件,意义重大。
初步上位机解析效果:
之前版本已经发布了elf,axf,out可执行文件解析
这样内存变量解析,寄存器解析全部集齐
相关文章:

《安富莱嵌入式周报》第326期:航空航天级CANopen协议栈,开源USB PD电源和功耗分析,开源EtherCAT伺服驱动板,时序绘制软件,现代机器人设计
周报汇总地址:嵌入式周报 - uCOS & uCGUI & emWin & embOS & TouchGFX & ThreadX - 硬汉嵌入式论坛 - Powered by Discuz! 更新一期视频教程: BSP视频教程第28期:CANopen协议栈专题,CANopen主从机组网实战&a…...

[Kettle] Excel输入
Excel文件采用表格的形式,数据显示直观,操作方便 Excel文件采用工作表存储数据,一个文件有多张不同名称的工作表,分别存放相同字段或不同字段的数据 数据源 物理成绩(Kettle数据集2).xls https://download.csdn.net/download/H…...

vue3+ts 项目遇到的问题和bug
1.router中使用pinia报错 pinia.mjs:1709 Uncaught Error: [🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"? See https://pinia.vuejs.org/core-concep…...

【Linux】补充:进程管理之手动控制进程,以及计划任务
目录 一、手动启动进程 1、理解前台启动与后台启动 2、如何完成前台启动后台启动的切换 3、完成并行执行多个任务 4、结束进程 1、kill 2、killall 2、pkill 二、计划任务 1、at一次性计划任务 2、实操 2、周期性计划任务 1、关于设置周期性任务的配置文件以及格式…...

听说,工作能力强的项目经理都有这几个特征
大家好,我是老原。 很多项目经理每天忙忙碌碌,但是一看结果,团队业绩没有完成、人才没有培养起来、自己的管理水平和个人领导力也没有得到提升。 明明付出了很多时间和精力,结果却只收获了团队的抱怨,以及老板对你管…...

合并两个有序链表OJ
合并两个有序链表OJ 文章目录 合并两个有序链表OJ一、题目及要求二、思路分析三、代码实现 一、题目及要求 二、思路分析 其次,题目里说了新链表是通过拼接原来的结点形成的,所以说我们不需要开辟新的空间。 三、代码实现 if (list1 NULL) {return li…...
2023NOIP A层联测27 A.kotori
2023NOIP A层联测27 A.kotori 文章目录 2023NOIP A层联测27 A.kotori题目大意思路code 题目大意 琴里的飞船中有 n n n 个人,其中有 n − 1 n - 1 n−1 个通道,所以飞船的内部是一个树形结构。每个人从 1 − n 1-n 1−n 编号,编号越小代表…...
循环生成el-descriptions-item
0 后端返回数据格式 {"msg": "操作成功","code": 200,"data": {"id": 42,"contactInfo": [{"contactPerson": "张三","contactPhone": "13688888888"},{"contactP…...

【原创】java+swing+mysql爱心捐赠管理系统设计与实现
摘要: 爱心捐赠管理系统旨在管理和优化捐赠过程,提高效率,增强透明度,并鼓励更多的个人和企业参与公益捐赠,用户可以捐款或者捐物。本系统采用javaswing界面可视化技术,数据库使用mysql。 功能分析&#…...

【小技巧】WPS统计纯汉字(不计标点符号)
【小技巧】WPS统计纯汉字(不计标点符号) 首先,CtrlF打开查找页面: 选择“高级搜索”,然后勾选“使用通配符”,然后在“查找内容”后面输入:[一-﨩]。注意:一定要带“[]”和“-”且…...
【押题】24考研押题
数二选手来押24数一考研大题 1.大题必有级数。级数出在压轴题,考级数敛散性与数列极限的结合 2.数一倒数第二题65%考画不出图的三重积分,参考19年出法;35%考第一类曲面积分与空间解析几何的结合。大题不会考第二类线面积分 3.概率大题会考参数…...
前端设计模式
前端设计模式 🎨 设计模式是在软件开发中,针对常见问题的解决方案的经验总结。在前端开发中,设计模式可以帮助我们组织和管理代码,提高代码的可维护性和可扩展性。下面列举一些常见的前端设计模式: 1. 单例模式 (Sin…...

Tomcat的类加载器
详情可以参考:https://tomcat.apache.org/tomcat-10.1-doc/class-loader-howto.html 简要说明 Tomcat安装了多种类加载器,以便容器的不同部分、容器中的应用访问能够不同的类和资源。 在Java环境中,类加载器被组织为父-子树的形式。通常情况…...

汽车驾驶智能座舱太阳光模拟器老化试验
一、太阳光模拟器老化试验目的 太阳光模拟器氙光灯老化试验是一种常用的材料老化测试方法,通过模拟自然光照条件下的老化过程,评估材料的耐光性能和耐候性能其主要目的有: 1.评估材料在长时间暴露于自然光照条件下的耐久性能: 2.比较不同材料的耐光性…...

记录一次校园CTF--wp
一.第一题简单nc 这题直接nc 地址端口即可得到flags没有套路 二.第二题pwn:ezstack 这是一题栈溢出题目,查看保护: 没有开启PIE,运行下查看效果: 题目是一个文字购物游戏。 接着扔进IDA中分析: 在主函数中我们找到…...

基于减法平均算法的无人机航迹规划-附代码
基于减法平均算法的无人机航迹规划 文章目录 基于减法平均算法的无人机航迹规划1.减法平均搜索算法2.无人机飞行环境建模3.无人机航迹规划建模4.实验结果4.1地图创建4.2 航迹规划 5.参考文献6.Matlab代码 摘要:本文主要介绍利用减法平均算法来优化无人机航迹规划。 …...
C语言--每日五道选择题--Day4
第一题 1、如果 x2014 ,下面函数的返回值是( ) int fun(unsigned int x) {int n 0;while(x 1){n;x x | (x 1);}return n; } A: 20 B: 21 C: 23 D: 25 答案及解析 C 这个函数的作用是对整型中0的个数进行统计 x x | (x1) 的作用是每次…...
OpenCV图片验证码识别与滑块验证码识别
目录 图片验证码识别: 一、百度OCR文字识别云服务 二、维普网获取图片验证码 三、维普网opencvocr识别验证码 四、维普网selenium登录并获取数据 滑块验证码: 五、猎聘网获取滑块验证码 六、猎聘网opencv计算滑动距离 七、猎聘网selenium模拟滑…...

网络安全深入学习第八课——代理与端口转发
文章目录 一、什么是代理二、正向代理三、反向代理四、正向和反向代理模拟复现 一、什么是代理 代理服务器英文全称是Proxy Server,其功能就是代理网络用户去取得网络信息。 形象的说:它是网络信息的中转站。在一般情况下,我们使用网络浏览…...
11月7日,每日信息差
今天是2023年11月07日,以下是为您准备的17条信息差 第一、五粮液否认内部讨论提价传闻 第二、雷军证实小米14销量已超百万台 第三、支付宝生活号全面开放UGC入口。据了解,今年以来,支付宝生活号陆续上线了创作者中心、热点榜单等多个内容产…...

SpringBoot-17-MyBatis动态SQL标签之常用标签
文章目录 1 代码1.1 实体User.java1.2 接口UserMapper.java1.3 映射UserMapper.xml1.3.1 标签if1.3.2 标签if和where1.3.3 标签choose和when和otherwise1.4 UserController.java2 常用动态SQL标签2.1 标签set2.1.1 UserMapper.java2.1.2 UserMapper.xml2.1.3 UserController.ja…...

AI-调查研究-01-正念冥想有用吗?对健康的影响及科学指南
点一下关注吧!!!非常感谢!!持续更新!!! 🚀 AI篇持续更新中!(长期更新) 目前2025年06月05日更新到: AI炼丹日志-28 - Aud…...
vscode里如何用git
打开vs终端执行如下: 1 初始化 Git 仓库(如果尚未初始化) git init 2 添加文件到 Git 仓库 git add . 3 使用 git commit 命令来提交你的更改。确保在提交时加上一个有用的消息。 git commit -m "备注信息" 4 …...
DeepSeek 赋能智慧能源:微电网优化调度的智能革新路径
目录 一、智慧能源微电网优化调度概述1.1 智慧能源微电网概念1.2 优化调度的重要性1.3 目前面临的挑战 二、DeepSeek 技术探秘2.1 DeepSeek 技术原理2.2 DeepSeek 独特优势2.3 DeepSeek 在 AI 领域地位 三、DeepSeek 在微电网优化调度中的应用剖析3.1 数据处理与分析3.2 预测与…...

【大模型RAG】Docker 一键部署 Milvus 完整攻略
本文概要 Milvus 2.5 Stand-alone 版可通过 Docker 在几分钟内完成安装;只需暴露 19530(gRPC)与 9091(HTTP/WebUI)两个端口,即可让本地电脑通过 PyMilvus 或浏览器访问远程 Linux 服务器上的 Milvus。下面…...

Cloudflare 从 Nginx 到 Pingora:性能、效率与安全的全面升级
在互联网的快速发展中,高性能、高效率和高安全性的网络服务成为了各大互联网基础设施提供商的核心追求。Cloudflare 作为全球领先的互联网安全和基础设施公司,近期做出了一个重大技术决策:弃用长期使用的 Nginx,转而采用其内部开发…...
sqlserver 根据指定字符 解析拼接字符串
DECLARE LotNo NVARCHAR(50)A,B,C DECLARE xml XML ( SELECT <x> REPLACE(LotNo, ,, </x><x>) </x> ) DECLARE ErrorCode NVARCHAR(50) -- 提取 XML 中的值 SELECT value x.value(., VARCHAR(MAX))…...
Element Plus 表单(el-form)中关于正整数输入的校验规则
目录 1 单个正整数输入1.1 模板1.2 校验规则 2 两个正整数输入(联动)2.1 模板2.2 校验规则2.3 CSS 1 单个正整数输入 1.1 模板 <el-formref"formRef":model"formData":rules"formRules"label-width"150px"…...
ip子接口配置及删除
配置永久生效的子接口,2个IP 都可以登录你这一台服务器。重启不失效。 永久的 [应用] vi /etc/sysconfig/network-scripts/ifcfg-eth0修改文件内内容 TYPE"Ethernet" BOOTPROTO"none" NAME"eth0" DEVICE"eth0" ONBOOT&q…...

VM虚拟机网络配置(ubuntu24桥接模式):配置静态IP
编辑-虚拟网络编辑器-更改设置 选择桥接模式,然后找到相应的网卡(可以查看自己本机的网络连接) windows连接的网络点击查看属性 编辑虚拟机设置更改网络配置,选择刚才配置的桥接模式 静态ip设置: 我用的ubuntu24桌…...