Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JunHeonYoon committed Nov 23, 2023
0 parents commit 879dd7a
Show file tree
Hide file tree
Showing 107 changed files with 7,993 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.DS_Store
/.vscode
15 changes: 15 additions & 0 deletions robots/summit_xl_description/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
cmake_minimum_required(VERSION 2.8.3)
project(summit_xl_description)

find_package(catkin REQUIRED COMPONENTS roslaunch urdf xacro robotnik_sensors)

catkin_package(
CATKIN_DEPENDS urdf xacro
)

include_directories(${catkin_INCLUDE_DIRS})

install(
DIRECTORY launch meshes urdf robots vrep
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
20 changes: 20 additions & 0 deletions robots/summit_xl_description/assets/assets.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<mujocoinclude>

<compiler angle="radian" autolimits="true" meshdir = "./meshes"/>
<statistic meansize="0.767828" extent="17.3945" center="-1.30273 -0.281443 0.819464" />

<asset>
<texture name="texplane" type="2d" builtin="checker" rgb1=".2 .3 .4" rgb2=".1 0.2 0.3" width="512" height="512"/>
<material name="MatGnd" reflectance="0.5" texture="texplane" texrepeat="1 1" texuniform="true"/>
</asset>

<asset>
<mesh name="summit_xls_chassis" file="bases/xls/summit_xls_chassis.stl" />
<mesh name="summit_xls_chapas_inox_tapas" file="bases/xls/summit_xls_chapas_inox_tapas.stl" />
<mesh name="robotnik_logo_chasis" file="bases/xls/robotnik_logo_chasis.stl" />
<mesh name="summit_xls_omni_wheel_1" file="wheels/omni_wheel_1.stl" />
<mesh name="summit_xls_omni_wheel_2" file="wheels/omni_wheel_2.stl" />
<mesh name="structure_hokuyo" file="structures/structure_hokuyo.stl" />
</asset>

</mujocoinclude>
7 changes: 7 additions & 0 deletions robots/summit_xl_description/assets/basic_scene.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<mujocoinclude>

<geom name="ground" pos="0 0 -0.01" rgba="0.25 0.26 0.25 1" size="10 10 2" type="plane" contype="1" conaffinity="1" />

<light cutoff="4.0" diffuse="1 1 1" dir="-0.9 -0.9 -2.5" directional="true" exponent="20" pos="0.9 0.9 2.5" specular="0 0 0" />

</mujocoinclude>
356 changes: 356 additions & 0 deletions robots/summit_xl_description/assets/summit_xls.urdf.xml

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions robots/summit_xl_description/assets/summit_xls_actuator.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<mujocoinclude>

<actuator>
<motor name="front_right_wheel_rolling_joint" joint="front_right_wheel_rolling_joint" ctrlrange="-10 10"/>
<motor name="front_left_wheel_rolling_joint" joint="front_left_wheel_rolling_joint" ctrlrange="-10 10"/>
<motor name="back_right_wheel_rolling_joint" joint="back_right_wheel_rolling_joint" ctrlrange="-10 10"/>
<motor name="back_left_wheel_rolling_joint" joint="back_left_wheel_rolling_joint" ctrlrange="-10 10"/>
</actuator>

</mujocoinclude>
25 changes: 25 additions & 0 deletions robots/summit_xl_description/launch/summit_xl_rviz.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<launch>

<arg name="prefix" default="summit_xl_"/>
<arg name="rviz_config" default="$(find summit_xl_gazebo)/rviz/summitxl_a_std.rviz"/>
<arg name="robot_model" default="summit_xl_std.urdf.xacro" doc="Different robot versions: ('')"/>

<!-- Load the URDF into ROS parameter server -->
<arg name="urdf_file" default="$(find xacro)/xacro '$(find summit_xl_description)/robots/$(arg robot_model)' prefix:=$(arg prefix) --inorder" />
<param name="robot_description" command="$(arg urdf_file)" />


<!-- send fake joint values -->
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
<param name="use_gui" value="TRUE"/>
</node>

<!-- Combine joint values -->
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher"/>

<!-- Show in Rviz -->
<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rviz_config)"/>

</launch>

51 changes: 51 additions & 0 deletions robots/summit_xl_description/launch/summit_xl_state_robot.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0"?>
<launch>

<arg name="prefix" default="robot_"/>
<arg name="robot_xacro" default="$(optenv ROBOT_XACRO summit_xl_std.urdf.xacro)"/>
<arg name="robot_xacro_package" default="$(optenv ROBOT_XACRO_PACKAGE summit_xl_description)"/>
<arg name="robot_xacro_relative_path" default="$(optenv ROBOT_XACRO_RELATIVE_PATH /robots/)" />
<arg name="robot_xacro_path" default="$(eval find(robot_xacro_package) + robot_xacro_relative_path + robot_xacro)"/>

<arg name="use_joint_state_publisher" default="false"/>

<arg name="gps_latitude" default="39.5080331"/>
<arg name="gps_longitude" default="-0.4619816"/>

<arg name="ros_planar_move_plugin" default="false"/>
<arg name="use_gpu_for_simulation" default="true"/>

<arg name="kinematics" default="skid"/>

<!--
kinematic argument must be parsed inside xacro file (diff and omni)
To do: add this feature without breaking others developments
-->

<!-- Load the URDF into ROS parameter server -->
<arg name="urdf_skid_file" default="$(find xacro)/xacro '$(arg robot_xacro_path)' prefix:=$(arg prefix) ros_planar_move_plugin:=$(arg ros_planar_move_plugin) omni_wheels:=false gpu:=$(arg use_gpu_for_simulation) gps_latitude:='$(arg gps_latitude)' gps_longitude:='$(arg gps_longitude)'" />
<arg name="urdf_omni_file" default="$(find xacro)/xacro '$(arg robot_xacro_path)' prefix:=$(arg prefix) ros_planar_move_plugin:=$(arg ros_planar_move_plugin) omni_wheels:=true gpu:=$(arg use_gpu_for_simulation) gps_latitude:='$(arg gps_latitude)' gps_longitude:='$(arg gps_longitude)'" />

<group unless="$(eval kinematics == 'skid')">
<param name="robot_description" command="$(arg urdf_skid_file)" />
</group>

<group unless="$(eval kinematics == 'diff')">
<param name="robot_description" command="$(arg urdf_skid_file)" />
</group>

<group if="$(eval kinematics == 'omni')">
<param name="robot_description" command="$(arg urdf_omni_file)" />
</group>

<!-- send fake joint values -->
<node if="$(arg use_joint_state_publisher)" name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
<param name="use_gui" value="FALSE"/>
</node>

<!-- Combine joint values -->
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher">
<remap from="/joint_states" to="joint_states"/>
</node>

</launch>

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
63 changes: 63 additions & 0 deletions robots/summit_xl_description/meshes/bases/hls/summit_xl_hls.dae

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
406 changes: 406 additions & 0 deletions robots/summit_xl_description/meshes/bases/summit_xl_chassis.dae

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

481 changes: 481 additions & 0 deletions robots/summit_xl_description/meshes/bases/summit_xl_chassis_copy.dae

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
363 changes: 363 additions & 0 deletions robots/summit_xl_description/meshes/bases/summit_xl_hl_chassis.dae

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Loading

0 comments on commit 879dd7a

Please sign in to comment.