mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Proximity: move connect-in-SITL instructions to header
This commit is contained in:
parent
f722be9758
commit
8938508147
@ -32,17 +32,6 @@
|
|||||||
|
|
||||||
#include "AP_Proximity_RPLidarA2.h"
|
#include "AP_Proximity_RPLidarA2.h"
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
DEVICE=/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
|
|
||||||
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -A --uartF=uart:$DEVICE:115200 --speedup=1
|
|
||||||
|
|
||||||
param set SERIAL5_PROTOCOL 11
|
|
||||||
param set PRX_TYPE 5
|
|
||||||
reboot
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include "AP_Proximity_RPLidarA2.h"
|
#include "AP_Proximity_RPLidarA2.h"
|
||||||
#include <AP_InternalError/AP_InternalError.h>
|
#include <AP_InternalError/AP_InternalError.h>
|
||||||
|
@ -26,6 +26,19 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
# to connect device to SITL:
|
||||||
|
./Tools/autotest/sim_vehicle.py -v Rover --gdb --debug -A --serial5=uart:/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0:115200
|
||||||
|
param set SERIAL5_PROTOCOL 11
|
||||||
|
param set SERIAL5_BAUD 115200
|
||||||
|
param set PRX1_TYPE 5
|
||||||
|
reboot
|
||||||
|
|
||||||
|
# short outer-two wires on JST plug to get it to spin
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user