diff --git a/.gitmodules b/.gitmodules index 7116a22..64c8cc2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,3 +13,9 @@ [submodule "hardware_drivers/teleop_tools"] path = hardware_drivers/teleop_tools url = https://github.com/f1tenth/teleop_tools.git +[submodule "hardware_drivers/realsense-ros"] + path = hardware_drivers/realsense-ros + url = https://github.com/rl16432/realsense-ros.git +[submodule "hardware_drivers/zed-ros2-wrapper"] + path = hardware_drivers/zed-ros2-wrapper + url = https://github.com/rl16432/zed-ros2-wrapper.git diff --git a/f1tenth_description/gazebo/pose.gazebo.xacro b/f1tenth_description/gazebo/pose.gazebo.xacro index 33767c5..20cebcb 100644 --- a/f1tenth_description/gazebo/pose.gazebo.xacro +++ b/f1tenth_description/gazebo/pose.gazebo.xacro @@ -4,7 +4,10 @@ - + true + true + true + true diff --git a/f1tenth_description/sdf/aruco_marker/materials/textures/marker.png b/f1tenth_description/sdf/aruco_marker/materials/textures/marker.png new file mode 100644 index 0000000..dbee2ee Binary files /dev/null and b/f1tenth_description/sdf/aruco_marker/materials/textures/marker.png differ diff --git a/f1tenth_description/sdf/aruco_marker/materials/textures/marker_padded.png b/f1tenth_description/sdf/aruco_marker/materials/textures/marker_padded.png new file mode 100644 index 0000000..bd04c65 Binary files /dev/null and b/f1tenth_description/sdf/aruco_marker/materials/textures/marker_padded.png differ diff --git a/f1tenth_description/sdf/aruco_marker/model.config b/f1tenth_description/sdf/aruco_marker/model.config new file mode 100644 index 0000000..b0679e8 --- /dev/null +++ b/f1tenth_description/sdf/aruco_marker/model.config @@ -0,0 +1,15 @@ + + + ArUco Marker + 1.0 + model.sdf + + + Nick Lamprianidis + nlamprian@gmail.com + + + +

ArUco Marker

+
+
diff --git a/f1tenth_description/sdf/aruco_marker/model.urdf.xacro b/f1tenth_description/sdf/aruco_marker/model.urdf.xacro new file mode 100644 index 0000000..e2df990 --- /dev/null +++ b/f1tenth_description/sdf/aruco_marker/model.urdf.xacro @@ -0,0 +1,66 @@ + + + + + + ${xyz} ${rpy} + + 0 0 0 0 0 0 + 0.001 + + 3.7499999999999997e-06 + 0.0 + 0.0 + 1.8750008333333333e-06 + 0.0 + 1.8750008333333333e-06 + + + + -0.00005 0 0 0 0 3.14 + + + 0.0001 0.15 0.15 + + + + 1 1 1 1 + 0.4 0.4 0.4 1 + 1 1 1 1 + + + + $(find f1tenth_description)/sdf/aruco_marker/materials/textures/marker.png + + + + + + + + 0 + + + + + + + 0.00005 0 0 0 0 3.14 + + + 0.0001 0.15 0.15 + + + + + 0 0 0 0 0 0 + + + 0.0001 0.15 0.15 + + + + + + + \ No newline at end of file diff --git a/f1tenth_description/setup.py b/f1tenth_description/setup.py index 20bb865..38f5806 100644 --- a/f1tenth_description/setup.py +++ b/f1tenth_description/setup.py @@ -4,6 +4,17 @@ package_name = 'f1tenth_description' +def package_files(directory): + """ + Package all data files recursively in a directory + """ + paths = [] + for (path, _, filenames) in os.walk(directory): + if len(filenames) > 0: + paths.append((os.path.join('share', package_name, path), + [os.path.join(path, filename) for filename in filenames])) + return paths + setup( name=package_name, version='0.0.0', @@ -19,8 +30,7 @@ (os.path.join('share', package_name, 'gazebo'), glob('gazebo/*')), (os.path.join('share', package_name, 'worlds'), glob('worlds/*')), (os.path.join('share', package_name, 'config'), glob('config/*')), - (os.path.join('share', package_name, 'sdf'), glob('sdf/*')), - + *package_files('sdf'), ], install_requires=['setuptools'], zip_safe=True, diff --git a/f1tenth_description/urdf/const.xacro b/f1tenth_description/urdf/const.xacro index cff0d6b..287d86c 100644 --- a/f1tenth_description/urdf/const.xacro +++ b/f1tenth_description/urdf/const.xacro @@ -4,7 +4,16 @@ - + + + + + + + + + + diff --git a/f1tenth_description/urdf/d435.xacro b/f1tenth_description/urdf/d435.xacro new file mode 100644 index 0000000..1f0e453 --- /dev/null +++ b/f1tenth_description/urdf/d435.xacro @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/f1tenth_description/urdf/joints.xacro b/f1tenth_description/urdf/joints.xacro index 960f0d9..1ad1645 100644 --- a/f1tenth_description/urdf/joints.xacro +++ b/f1tenth_description/urdf/joints.xacro @@ -8,8 +8,8 @@ - + velocity="1.0" effort="25" /> + @@ -18,8 +18,8 @@ - + velocity="1.0" effort="25" /> + @@ -43,7 +43,7 @@ - + @@ -51,7 +51,7 @@ - + @@ -59,14 +59,14 @@ - + - + @@ -74,8 +74,17 @@ - + - + + + + + 0 0 0 0 0 0 + aruco_link + box_visual + + + \ No newline at end of file diff --git a/f1tenth_description/urdf/links.xacro b/f1tenth_description/urdf/links.xacro index a479496..de44b58 100644 --- a/f1tenth_description/urdf/links.xacro +++ b/f1tenth_description/urdf/links.xacro @@ -45,11 +45,28 @@ - + + + + + 1 1 1 1 + 1 1 1 1 + 1 1 1 1 + 1 1 1 1 + + + + + + + + + + \ No newline at end of file diff --git a/f1tenth_description/urdf/robot.urdf.xacro b/f1tenth_description/urdf/robot.urdf.xacro index 840f5d2..f5d6e68 100644 --- a/f1tenth_description/urdf/robot.urdf.xacro +++ b/f1tenth_description/urdf/robot.urdf.xacro @@ -9,7 +9,13 @@ - + + + + + + + diff --git a/f1tenth_description/urdf/zed2.xacro b/f1tenth_description/urdf/zed2.xacro new file mode 100644 index 0000000..a8b2d29 --- /dev/null +++ b/f1tenth_description/urdf/zed2.xacro @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/hardware_drivers/realsense-ros b/hardware_drivers/realsense-ros new file mode 160000 index 0000000..8fe39e7 --- /dev/null +++ b/hardware_drivers/realsense-ros @@ -0,0 +1 @@ +Subproject commit 8fe39e7f5c882e89f071460b65729a6ae74d526f diff --git a/hardware_drivers/zed-ros2-wrapper b/hardware_drivers/zed-ros2-wrapper new file mode 160000 index 0000000..b2ba202 --- /dev/null +++ b/hardware_drivers/zed-ros2-wrapper @@ -0,0 +1 @@ +Subproject commit b2ba202a9b949019a32c037456cf274ee49173d8