Skip to content

Commit

Permalink
add 280 ros camera&pump urdf
Browse files Browse the repository at this point in the history
  • Loading branch information
wangWking committed Nov 14, 2023
1 parent d298cfe commit 1993b7b
Show file tree
Hide file tree
Showing 3 changed files with 318 additions and 58 deletions.
82 changes: 24 additions & 58 deletions mycobot_280/mycobot_280/config/mycobot.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -65,77 +65,57 @@ Visualization Manager:
Expand Link Details: false
Expand Tree: false
Link Tree Style: Links in Alphabetic Order
g_base:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
gripper_base:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
gripper_left1:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
gripper_left2:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
gripper_left3:
camera_flange:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
gripper_right1:
g_base:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
gripper_right2:
joint1:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
gripper_right3:
joint2:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
joint1:
joint3:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
joint2:
joint4:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
joint3:
joint5:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
joint4:
joint6:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
joint5:
joint6_flange:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
joint6:
pump_box:
Alpha: 1
Show Axes: false
Show Trail: false
Value: true
joint6_flange:
pump_head:
Alpha: 1
Show Axes: false
Show Trail: false
Expand All @@ -153,21 +133,9 @@ Visualization Manager:
Frame Timeout: 15
Frames:
All Enabled: true
g_base:
camera_flange:
Value: true
gripper_base:
Value: true
gripper_left1:
Value: true
gripper_left2:
Value: true
gripper_left3:
Value: true
gripper_right1:
Value: true
gripper_right2:
Value: true
gripper_right3:
g_base:
Value: true
joint1:
Value: true
Expand All @@ -183,6 +151,10 @@ Visualization Manager:
Value: true
joint6_flange:
Value: true
pump_box:
Value: true
pump_head:
Value: true
Marker Alpha: 1
Marker Scale: 0.10000000149011612
Name: TF
Expand All @@ -198,17 +170,11 @@ Visualization Manager:
joint5:
joint6:
joint6_flange:
gripper_base:
gripper_left2:
{}
gripper_left3:
gripper_left1:
{}
gripper_right2:
camera_flange:
pump_head:
{}
gripper_right3:
gripper_right1:
{}
pump_box:
{}
Update Interval: 0
Value: true
- Class: rviz/Marker
Expand Down Expand Up @@ -247,7 +213,7 @@ Visualization Manager:
Views:
Current:
Class: rviz/Orbit
Distance: 1.1026314496994019
Distance: 1.0996487140655518
Enable Stereo Rendering:
Stereo Eye Separation: 0.05999999865889549
Stereo Focal Distance: 1
Expand All @@ -263,9 +229,9 @@ Visualization Manager:
Invert Z Axis: false
Name: Current View
Near Clip Distance: 0.009999999776482582
Pitch: 0.7153984904289246
Pitch: 0.5753980875015259
Target Frame: <Fixed Frame>
Yaw: 3.8853836059570312
Yaw: 3.950380325317383
Saved: ~
Window Geometry:
Displays:
Expand Down
25 changes: 25 additions & 0 deletions mycobot_280/mycobot_280/launch/test_camera_flange_pump.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<launch>
<!-- <arg name="port" default="/dev/ttyUSB0" />
<arg name="baud" default="115200" /> -->
<!-- Load file model ,加载文件模型-->
<arg name="model" default="$(find mycobot_description)/urdf/mycobot/mycobot_with_camera_flange_pump.urdf"/>

<arg name="rvizconfig" default="$(find mycobot_280)/config/mycobot.rviz" />
<arg name="gui" default="true" />

<param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model)" />

<!-- Combinejoin values to TF,将值合并到TF -->
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />
<node name="joint_state_publisher_gui" pkg="joint_state_publisher_gui" type="joint_state_publisher_gui">
<!-- <param name="use_gui" value="$(arg gui)" /> -->
<!-- <rosparam param="source_list" subst_value="true">["joint_states"]</rosparam> -->
</node>
<!-- Open control script -->
<!-- <node name="control_slider" pkg="mycobot_280" type="slider_control.py">
<param name="port" type="string" value="$(arg port)" />
<param name="baud" type="int" value="$(arg baud)" />
</node> -->
<!-- Show in Rviz ,显示在Rviz-->
<node name="rviz" pkg="rviz" type="rviz" args="-d $(arg rvizconfig)" required="true" />
</launch>
Loading

0 comments on commit 1993b7b

Please sign in to comment.