Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Leaf_robot_ros/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 吴雪铭

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 4 additions & 0 deletions Leaf_robot_ros/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Leaf_robot_ros
ros机械臂代码上位机部分
使用smartarm作为机械臂载体
ros_moviet控制
Binary file added Leaf_robot_ros/src/image/movit_rviz_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Leaf_robot_ros/src/image/rosgraph.bmp
Binary file not shown.
271 changes: 271 additions & 0 deletions Leaf_robot_ros/src/image/rosgraph.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,271 @@
digraph graphname {
graph [bb="0,0,1532.5,748",
compound=True,
rank=same,
rankdir=LR,
ranksep=0.2
];
node [label="\N"];
subgraph cluster_leaf {
graph [bb="278.18,611,811.27,740",
compound=True,
label=leaf,
lheight=0.21,
lp="544.73,728.5",
lwidth=0.29,
rank=same,
rankdir=LR,
ranksep=0.2,
style=bold
];
t___leaf__joint_states [URL=topic_3A__leaf__joint_states,
height=0.5,
label="/leaf/joint_states",
pos="640.77,637",
shape=box,
tooltip="topic:/leaf/joint_states",
width=1.4722];
n___leaf__leaf_controller__follow_joint_trajectory__action_topics [URL=topic_3Aleaf__leaf_controller__follow_joint_trajectory__action_topics,
height=0.5,
label="leaf/leaf_controller/follow_joint_trajectory/action_topics",
pos="640.77,691",
shape=box,
tooltip="topic:leaf/leaf_controller/follow_joint_trajectory/action_topics",
width=4.5139];
n___leaf__leaf_driver_node [URL=__leaf__leaf_driver_node,
height=0.5,
label="/leaf/leaf_driver_node",
pos="375.23,691",
shape=ellipse,
tooltip="/leaf/leaf_driver_node",
width=2.4734];
n___leaf__leaf_controller__follow_joint_trajectory__action_topics -> n___leaf__leaf_driver_node [penwidth=1,
pos="e,458.89,697.31 477.9,697.59 474.97,697.56 472.06,697.52 469.18,697.48"];
n___leaf__leaf_driver_node -> t___leaf__joint_states [penwidth=1,
pos="e,587.53,644.47 427.65,676.4 443.78,672.08 461.7,667.57 478.27,664 510.85,656.98 547.46,650.73 577.58,646.01"];
n___leaf__leaf_driver_node -> n___leaf__leaf_controller__follow_joint_trajectory__action_topics [penwidth=1,
pos="e,477.9,684.41 458.89,684.69 461.79,684.63 464.73,684.58 467.7,684.54"];
}
subgraph cluster_move_group {
graph [bb="1296.5,260,1524.5,389",
compound=True,
label=move_group,
lheight=0.21,
lp="1410.5,377.5",
lwidth=0.97,
rank=same,
rankdir=LR,
ranksep=0.2,
style=bold
];
t___move_group__display_planned_path [URL=topic_3A__move_group__display_planned_path,
height=0.5,
label="/move_group/display_planned_path",
pos="1410.5,340",
shape=box,
tooltip="topic:/move_group/display_planned_path",
width=2.9444];
n___move_group__action_topics [URL=topic_3Amove_group__action_topics,
height=0.5,
label="move_group/action_topics",
pos="1410.5,286",
shape=box,
tooltip="topic:move_group/action_topics",
width=2.2361];
}
subgraph cluster_pickup {
graph [bb="568.27,8,713.27,83",
compound=True,
label=pickup,
lheight=0.21,
lp="640.77,71.5",
lwidth=0.51,
rank=same,
rankdir=LR,
ranksep=0.2,
style=bold
];
n___pickup__action_topics [URL=topic_3Apickup__action_topics,
height=0.5,
label="pickup/action_topics",
pos="640.77,34",
shape=box,
tooltip="topic:pickup/action_topics",
width=1.7917];
}
subgraph cluster_place {
graph [bb="572.27,174,709.27,249",
compound=True,
label=place,
lheight=0.21,
lp="640.77,237.5",
lwidth=0.40,
rank=same,
rankdir=LR,
ranksep=0.2,
style=bold
];
n___place__action_topics [URL=topic_3Aplace__action_topics,
height=0.5,
label="place/action_topics",
pos="640.77,200",
shape=box,
tooltip="topic:place/action_topics",
width=1.6806];
}
subgraph cluster_execute_trajectory {
graph [bb="536.77,91,744.77,166",
compound=True,
label=execute_trajectory,
lheight=0.21,
lp="640.77,154.5",
lwidth=1.39,
rank=same,
rankdir=LR,
ranksep=0.2,
style=bold
];
n___execute_trajectory__action_topics [URL=topic_3Aexecute_trajectory__action_topics,
height=0.5,
label="execute_trajectory/action_topics",
pos="640.77,117",
shape=box,
tooltip="topic:execute_trajectory/action_topics",
width=2.6667];
}
t___tf_static [URL=topic_3A__tf_static,
height=0.5,
label="/tf_static",
pos="640.77,475",
shape=box,
tooltip="topic:/tf_static",
width=0.88889];
n___move_group [URL=__move_group,
height=0.5,
label="/move_group",
pos="1053.9,340",
shape=ellipse,
tooltip="/move_group",
width=1.6068];
t___tf_static -> n___move_group [penwidth=1,
pos="e,1024.5,355.68 672.93,472.5 707.35,469.18 764.14,462.02 811.27,448 886.46,425.63 968.84,385.06 1015.4,360.52"];
n___joint_state_publisher [URL=__joint_state_publisher,
height=0.5,
label="/joint_state_publisher",
pos="87.092,547",
shape=ellipse,
tooltip="/joint_state_publisher",
width=2.4192];
t___leaf__joint_states -> n___joint_state_publisher [penwidth=1,
pos="e,156.02,558.08 587.66,628.5 490.32,612.62 280.39,578.37 166.1,559.73"];
n___leaf__leaf_controller__follow_joint_trajectory__action_topics -> n___move_group [penwidth=1,
pos="e,1043.8,357.76 768.75,672.99 783.72,668.67 798.27,662.87 811.27,655 929.81,583.3 1009.2,429.48 1039.4,366.98"];
t___tf [URL=topic_3A__tf,
height=0.5,
label="/tf",
pos="640.77,529",
shape=box,
tooltip="topic:/tf",
width=0.75];
t___tf -> n___move_group [penwidth=1,
pos="e,1033.9,357.08 667.95,528.3 702.05,526.62 763.01,520.96 811.27,502 897.39,468.17 983.99,399.8 1026.3,363.65"];
n___move_group__action_topics -> n___move_group [penwidth=1,
pos="e,1099.1,328.63 1329.9,292.38 1262.5,301.09 1167.8,315.75 1108.9,326.76"];
n___rviz_wuxueming_n8xejek_32389_3491311782329954517 [height=0.5,
pos="1053.9,158",
width=6.5175];
n___move_group__action_topics -> n___rviz_wuxueming_n8xejek_32389_3491311782329954517 [penwidth=1,
pos="e,1117.9,175.43 1371.7,267.97 1313.6,244.32 1201.7,203.51 1127.6,178.68"];
t___planning_scene_world [URL=topic_3A__planning_scene_world,
height=0.5,
label="/planning_scene_world",
pos="640.77,421",
shape=box,
tooltip="topic:/planning_scene_world",
width=1.9861];
t___planning_scene_world -> n___move_group [penwidth=1,
pos="e,1007.6,350.99 712.45,410.74 742.93,406.06 778.93,400.18 811.27,394 875.65,381.69 949.07,364.88 997.91,353.31"];
t___planning_scene [URL=topic_3A__planning_scene,
height=0.5,
label="/planning_scene",
pos="640.77,367",
shape=box,
tooltip="topic:/planning_scene",
width=1.4444];
t___planning_scene -> n___move_group [penwidth=1,
pos="e,997.06,343.67 693.01,363.64 767.32,358.75 905.05,349.71 986.88,344.34"];
t___attached_collision_object [URL=topic_3A__attached_collision_object,
height=0.5,
label="/attached_collision_object",
pos="640.77,313",
shape=box,
tooltip="topic:/attached_collision_object",
width=2.1944];
t___attached_collision_object -> n___move_group [penwidth=1,
pos="e,996.98,336.33 720.07,318.14 797.23,323.21 913.84,330.87 986.57,335.64"];
t___joint_states [URL=topic_3A__joint_states,
height=0.5,
label="/joint_states",
pos="229.18,502",
shape=box,
tooltip="topic:/joint_states",
width=1.1389];
n___robot_state_publisher [URL=__robot_state_publisher,
height=0.5,
label="/robot_state_publisher",
pos="375.23,502",
shape=ellipse,
tooltip="/robot_state_publisher",
width=2.4734];
t___joint_states -> n___robot_state_publisher [penwidth=1,
pos="e,285.93,502 270.31,502 272.03,502 273.77,502 275.54,502"];
t___joint_states -> n___move_group [penwidth=1,
pos="e,1017.2,326.1 243.23,483.94 276.41,439.75 369.16,326.84 478.27,286 664.9,216.14 908.36,287.41 1007.7,322.7"];
t___trajectory_execution_event [URL=topic_3A__trajectory_execution_event,
height=0.5,
label="/trajectory_execution_event",
pos="640.77,583",
shape=box,
tooltip="topic:/trajectory_execution_event",
width=2.3194];
t___trajectory_execution_event -> n___move_group [penwidth=1,
pos="e,1039.4,357.64 724.33,579.34 752.92,575.64 784.49,568.73 811.27,556 908.39,509.84 995.16,412.23 1032.9,365.7"];
n___pickup__action_topics -> n___move_group [penwidth=1,
pos="e,1022.9,324.61 705.5,29.213 742.25,33.318 786.04,46.457 811.27,78 824.92,95.064 808.16,157.18 819.27,176 863.38,250.74 959.37,296.56 1013.6,320.53"];
n___pickup__action_topics -> n___rviz_wuxueming_n8xejek_32389_3491311782329954517 [penwidth=1,
pos="e,1008.6,140.26 705.56,48.19 786.07,70.108 923.16,111.56 998.79,136.94"];
n___place__action_topics -> n___move_group [penwidth=1,
pos="e,1025.5,324.1 701.59,210.05 734.13,219 775.03,231.82 811.27,244 884.41,268.59 969.1,299.7 1016.3,320.05"];
n___place__action_topics -> n___rviz_wuxueming_n8xejek_32389_3491311782329954517 [penwidth=1,
pos="e,873.76,169.6 701.55,188.96 744.5,183.24 804.94,176.46 863.6,170.61"];
n___execute_trajectory__action_topics -> n___move_group [penwidth=1,
pos="e,1028.5,323.75 737.08,124.26 763.21,131.75 790.14,143.49 811.27,161 817.09,165.82 814.19,170.41 819.27,176 878.46,241.15 970.61,291.61 1019.6,318.79"];
n___execute_trajectory__action_topics -> n___rviz_wuxueming_n8xejek_32389_3491311782329954517 [penwidth=1,
pos="e,950.39,141.85 736.86,120.69 797.54,125.58 876.48,133.35 940.28,140.67"];
n___robot_state_publisher -> t___tf_static [penwidth=1,
pos="e,608.67,478.19 454.94,493.94 502.08,489.11 560.09,483.16 598.41,479.24"];
n___robot_state_publisher -> t___tf [penwidth=1,
pos="e,613.48,526.31 454.94,510.06 504.16,515.11 565.23,521.36 603.36,525.27"];
n___joint_state_publisher -> t___joint_states [penwidth=1,
pos="e,188.06,514.89 135.13,531.89 149.08,527.41 164.4,522.49 178.51,517.96"];
n___move_group -> n___leaf__leaf_controller__follow_joint_trajectory__action_topics [penwidth=1,
pos="e,803.45,677.39 1047,357.9 1025.4,414.13 945.4,586.39 812.29,671.89"];
n___move_group -> t___move_group__display_planned_path [penwidth=1,
pos="e,1304.4,340 1111.9,340 1160.9,340 1233.3,340 1294.3,340"];
n___move_group -> n___move_group__action_topics [penwidth=1,
pos="e,1330,303.85 1110.7,336.58 1166.8,329.92 1254.2,316.9 1320.1,305.58"];
n___move_group -> n___pickup__action_topics [penwidth=1,
pos="e,705.5,44.801 1005.8,329.77 950.56,310.23 861.33,265.26 819.27,194 808.16,175.18 824.92,113.06 811.27,96 788.31,67.291 749.97,53.827 715.55,46.727"];
n___move_group -> n___place__action_topics [penwidth=1,
pos="e,678.62,218.01 1006.8,329.45 958.31,313.74 879.73,285.02 811.27,262 769.91,248.09 722.47,233.37 688.32,221.45"];
n___move_group -> n___execute_trajectory__action_topics [penwidth=1,
pos="e,714.12,135.01 1012.6,327.37 962.18,304.92 875.73,256.15 819.27,194 814.19,188.41 817.09,183.82 811.27,179 786.63,158.59 754.12,146.01 724.16,137.68"];
n___rviz_wuxueming_n8xejek_32389_3491311782329954517 -> n___move_group__action_topics [penwidth=1,
pos="e,1344.7,267.94 1092.2,175.8 1149.5,199.2 1260.6,239.7 1334.9,264.68"];
n___rviz_wuxueming_n8xejek_32389_3491311782329954517 -> n___pickup__action_topics [penwidth=1,
pos="e,686.94,52.042 978.5,140.9 897.36,118.48 769.38,79.694 696.81,55.374"];
n___rviz_wuxueming_n8xejek_32389_3491311782329954517 -> n___place__action_topics [penwidth=1,
pos="e,701.55,198.82 951.66,174.25 877.14,183.18 777.73,193.11 711.83,198.07"];
n___rviz_wuxueming_n8xejek_32389_3491311782329954517 -> n___execute_trajectory__action_topics [penwidth=1,
pos="e,736.86,132.28 871.81,146.65 829.1,142.54 784.97,137.89 746.91,133.46"];
}
Loading