Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split resources into multiple packages #36

Merged
merged 11 commits into from
Aug 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ env:
matrix:
- ROS_DISTRO="melodic" ROS_REPO=ros
- ROS_DISTRO="kinetic" ROS_REPO=ros
- ROS_DISTRO="indigo" ROS_REPO=ros

before_script:
- git clone -q https://github.com/ros-planning/moveit_ci.git .moveit_ci
Expand Down
26 changes: 0 additions & 26 deletions CMakeLists.txt

This file was deleted.

7 changes: 7 additions & 0 deletions fanuc_description/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.1.3)
project(moveit_resources_fanuc_description)
find_package(catkin REQUIRED)

catkin_package()

install(DIRECTORY meshes urdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
8 changes: 2 additions & 6 deletions package.xml → fanuc_description/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<package>
<name>moveit_resources</name>
<name>moveit_resources_fanuc_description</name>
<version>0.6.5</version>
<description>Resources used for MoveIt! testing</description>
<description>Fanuc Resources used for MoveIt! testing</description>

<author email="isucan@willowgarage.edu">Ioan Sucan</author>
<author email="acorn@willowgarage.edu">Acorn Pooley</author>
Expand All @@ -14,8 +14,4 @@
<url type="repository">https://github.com/ros-planning/moveit-resources</url>

<buildtool_depend>catkin</buildtool_depend>

<run_depend>joint_state_publisher</run_depend>
<run_depend>robot_state_publisher</run_depend>

</package>
29 changes: 14 additions & 15 deletions fanuc_description/urdf/fanuc.urdf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/visual/base_link.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/visual/base_link.stl"/>
</geometry>
<material name="">
<color rgba="0.4 0.4 0.4 1.0"/>
Expand All @@ -17,15 +17,15 @@
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/collision/base_link.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/collision/base_link.stl"/>
</geometry>
</collision>
</link>
<link name="link_1">
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/visual/link_1.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/visual/link_1.stl"/>
</geometry>
<material name="">
<color rgba="0.96 0.76 0.13 1.0"/>
Expand All @@ -34,15 +34,15 @@
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/collision/link_1.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/collision/link_1.stl"/>
</geometry>
</collision>
</link>
<link name="link_2">
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/visual/link_2.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/visual/link_2.stl"/>
</geometry>
<material name="">
<color rgba="0.96 0.76 0.13 1.0"/>
Expand All @@ -51,15 +51,15 @@
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/collision/link_2.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/collision/link_2.stl"/>
</geometry>
</collision>
</link>
<link name="link_3">
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/visual/link_3.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/visual/link_3.stl"/>
</geometry>
<material name="">
<color rgba="0.96 0.76 0.13 1.0"/>
Expand All @@ -68,15 +68,15 @@
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/collision/link_3.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/collision/link_3.stl"/>
</geometry>
</collision>
</link>
<link name="link_4">
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/visual/link_4.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/visual/link_4.stl"/>
</geometry>
<material name="">
<color rgba="0.96 0.76 0.13 1.0"/>
Expand All @@ -85,15 +85,15 @@
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/collision/link_4.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/collision/link_4.stl"/>
</geometry>
</collision>
</link>
<link name="link_5">
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/visual/link_5.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/visual/link_5.stl"/>
</geometry>
<material name="">
<color rgba="0.96 0.76 0.13 1.0"/>
Expand All @@ -102,15 +102,15 @@
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/collision/link_5.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/collision/link_5.stl"/>
</geometry>
</collision>
</link>
<link name="link_6">
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/visual/link_6.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/visual/link_6.stl"/>
</geometry>
<material name="">
<color rgba="0.15 0.15 0.15 1.0"/>
Expand All @@ -119,7 +119,7 @@
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://moveit_resources/fanuc_description/meshes/collision/link_6.stl"/>
<mesh filename="package://moveit_resources_fanuc_description/meshes/collision/link_6.stl"/>
</geometry>
</collision>
</link>
Expand Down Expand Up @@ -178,4 +178,3 @@
<child link="base"/>
</joint>
</robot>

11 changes: 11 additions & 0 deletions fanuc_moveit_config/.setup_assistant
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
moveit_setup_assistant_config:
URDF:
package: moveit_resources_fanuc_description
relative_path: urdf/fanuc.urdf
xacro_args: ""
SRDF:
relative_path: config/fanuc.srdf
CONFIG:
author_name: Dave Coleman
author_email: dave@dav.ee
generated_timestamp: 1594035007
10 changes: 10 additions & 0 deletions fanuc_moveit_config/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cmake_minimum_required(VERSION 3.1.3)
project(moveit_resources_fanuc_moveit_config)

find_package(catkin REQUIRED)

catkin_package()

install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
PATTERN "setup_assistant.launch" EXCLUDE)
install(DIRECTORY config DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
2 changes: 1 addition & 1 deletion fanuc_moveit_config/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Software License Agreement (BSD License)

Copyright (c) 2012-2015, TU Delft Robotics Institute
Copyright (c) 2020, Hamburg University
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
6 changes: 3 additions & 3 deletions fanuc_moveit_config/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fanuc_moveit_config
## MoveIt Resources for testing: Fanuc M-10iA.

The launch and configuration files contained in this package were copied from the ROS-Industrial `fanuc_m10ia_moveit_config` package and adapted for use with `moveit_resources`.
A project-internal moveit configuration for testing in MoveIt.

All imported files were released under the BSD 3-Clause license.
Use ROS-Industrial's upstream files if you actually want to work with the robot!
13 changes: 3 additions & 10 deletions fanuc_moveit_config/config/chomp_planning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,15 @@ max_iterations_after_collision_free: 5
smoothness_cost_weight: 0.1
obstacle_cost_weight: 1.0
learning_rate: 0.01
animate_path: true
add_randomness: false
smoothness_cost_velocity: 0.0
smoothness_cost_acceleration: 1.0
smoothness_cost_jerk: 0.0
hmc_discretization: 0.01
hmc_stochasticity: 0.01
hmc_annealing_factor: 0.99
use_hamiltonian_monte_carlo: false
ridge_factor: 0.0
ridge_factor: 0.01
use_pseudo_inverse: false
pseudo_inverse_ridge_factor: 1e-4
animate_endeffector: false
animate_endeffector_segment: "r_gripper_tool_frame"
joint_update_limit: 0.1
collision_clearence: 0.2
collision_threshold: 0.07
random_jump_amount: 1.0
use_stochastic_descent: true
enable_failure_recovery: true
max_recovery_attempts: 5
5 changes: 0 additions & 5 deletions fanuc_moveit_config/config/controllers.yaml

This file was deleted.

5 changes: 4 additions & 1 deletion fanuc_moveit_config/config/fake_controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ controller_list:
- joint_3
- joint_4
- joint_5
- joint_6
- joint_6
initial: # Define initial robot poses.
- group: manipulator
pose: all-zeros
8 changes: 7 additions & 1 deletion fanuc_moveit_config/config/joint_limits.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# joint_limits.yaml allows the dynamics properties specified in the URDF to be overwritten or augmented as needed
# Specific joint properties can be changed with the keys [max_position, min_position, max_velocity, max_acceleration]
# Joint limits can be turned off with [has_velocity_limits, has_acceleration_limits]

# For beginners, we downscale velocity and acceleration limits.
# You can always specify higher scaling factors (<= 1.0) in your motion requests. # Increase the values below to 1.0 to always move at maximum speed.
default_velocity_scaling_factor: 1.0
default_acceleration_scaling_factor: 1.0

joint_limits:
joint_1:
has_velocity_limits: true
Expand Down Expand Up @@ -31,4 +37,4 @@ joint_limits:
has_velocity_limits: true
max_velocity: 10.47
has_acceleration_limits: true
max_acceleration: 2.094
max_acceleration: 2.094