Compare commits
16 Commits
pure_pursu
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a9e44faeb | |||
| cb2f215a38 | |||
| ae3dd15920 | |||
| a274204d4e | |||
| dc20002e24 | |||
| bf62a3af55 | |||
| 533a78a343 | |||
| 518be17dcb | |||
| 8f3704fcaa | |||
| 6b66965776 | |||
| 65634e81bc | |||
| 2d04aff707 | |||
| be917b38b5 | |||
| 4e2a7c4086 | |||
| 7917afd456 | |||
| a09b4c1ad0 |
19
README.md
19
README.md
|
|
@ -1,2 +1,21 @@
|
||||||
# TX2
|
# TX2
|
||||||
|
|
||||||
|
roscore
|
||||||
|
|
||||||
|
source devel/setup.bash
|
||||||
|
|
||||||
|
roslaunch position lqr.launch
|
||||||
|
|
||||||
|
roslaunch position pure.launch
|
||||||
|
|
||||||
|
roslaunch position mpc.launch
|
||||||
|
|
||||||
|
TAG 4 1 3 2
|
||||||
|
|
||||||
|
rqt_graph
|
||||||
|
|
||||||
|
lsusb
|
||||||
|
sudo chmod 666 /dev/bus/usb/001/004
|
||||||
|
|
||||||
|
sudo apt-get install ros-noetic-serial
|
||||||
|
|
||||||
|
|
|
||||||
69
cmake
Normal file
69
cmake
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
# toplevel CMakeLists.txt for a catkin workspace
|
||||||
|
# catkin/cmake/toplevel.cmake
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.0.2)
|
||||||
|
|
||||||
|
project(Project)
|
||||||
|
|
||||||
|
set(CATKIN_TOPLEVEL TRUE)
|
||||||
|
|
||||||
|
# search for catkin within the workspace
|
||||||
|
set(_cmd "catkin_find_pkg" "catkin" "${CMAKE_SOURCE_DIR}")
|
||||||
|
execute_process(COMMAND ${_cmd}
|
||||||
|
RESULT_VARIABLE _res
|
||||||
|
OUTPUT_VARIABLE _out
|
||||||
|
ERROR_VARIABLE _err
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
ERROR_STRIP_TRAILING_WHITESPACE
|
||||||
|
)
|
||||||
|
if(NOT _res EQUAL 0 AND NOT _res EQUAL 2)
|
||||||
|
# searching fot catkin resulted in an error
|
||||||
|
string(REPLACE ";" " " _cmd_str "${_cmd}")
|
||||||
|
message(FATAL_ERROR "Search for 'catkin' in workspace failed (${_cmd_str}): ${_err}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# include catkin from workspace or via find_package()
|
||||||
|
if(_res EQUAL 0)
|
||||||
|
set(catkin_EXTRAS_DIR "${CMAKE_SOURCE_DIR}/${_out}/cmake")
|
||||||
|
# include all.cmake without add_subdirectory to let it operate in same scope
|
||||||
|
include(${catkin_EXTRAS_DIR}/all.cmake NO_POLICY_SCOPE)
|
||||||
|
add_subdirectory("${_out}")
|
||||||
|
|
||||||
|
else()
|
||||||
|
# use either CMAKE_PREFIX_PATH explicitly passed to CMake as a command line argument
|
||||||
|
# or CMAKE_PREFIX_PATH from the environment
|
||||||
|
if(NOT DEFINED CMAKE_PREFIX_PATH)
|
||||||
|
if(NOT "$ENV{CMAKE_PREFIX_PATH}" STREQUAL "")
|
||||||
|
if(NOT WIN32)
|
||||||
|
string(REPLACE ":" ";" CMAKE_PREFIX_PATH $ENV{CMAKE_PREFIX_PATH})
|
||||||
|
else()
|
||||||
|
set(CMAKE_PREFIX_PATH $ENV{CMAKE_PREFIX_PATH})
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# list of catkin workspaces
|
||||||
|
set(catkin_search_path "")
|
||||||
|
foreach(path ${CMAKE_PREFIX_PATH})
|
||||||
|
if(EXISTS "${path}/.catkin")
|
||||||
|
list(FIND catkin_search_path ${path} _index)
|
||||||
|
if(_index EQUAL -1)
|
||||||
|
list(APPEND catkin_search_path ${path})
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# search for catkin in all workspaces
|
||||||
|
set(CATKIN_TOPLEVEL_FIND_PACKAGE TRUE)
|
||||||
|
find_package(catkin QUIET
|
||||||
|
NO_POLICY_SCOPE
|
||||||
|
PATHS ${catkin_search_path}
|
||||||
|
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
|
||||||
|
unset(CATKIN_TOPLEVEL_FIND_PACKAGE)
|
||||||
|
|
||||||
|
if(NOT catkin_FOUND)
|
||||||
|
message(FATAL_ERROR "find_package(catkin) failed. catkin was neither found in the workspace nor in the CMAKE_PREFIX_PATH. One reason may be that no ROS setup.sh was sourced before.")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
catkin_workspace()
|
||||||
BIN
report/基于JetsonTX2与STM32的竞速小车研究进展.pptx
Normal file
BIN
report/基于JetsonTX2与STM32的竞速小车研究进展.pptx
Normal file
Binary file not shown.
BIN
sim_pure/purepursuit_simulator.zip
Normal file
BIN
sim_pure/purepursuit_simulator.zip
Normal file
Binary file not shown.
5
下阶段安排(8月)
Normal file
5
下阶段安排(8月)
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
ROS转ROS2
|
||||||
|
修改标定映射方式,根据实时测量结果增大油门或降低油门
|
||||||
|
将手柄修改为多档可调
|
||||||
|
尝试重新恢复C板功能
|
||||||
|
尝试将定位模块改为惯导与UWB融合
|
||||||
Loading…
Reference in New Issue
Block a user