-
Notifications
You must be signed in to change notification settings - Fork 94
[jsk_fetch_startup] Add fetch gazebo demo using roseus #1213
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
Merged
Merged
Changes from 24 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
4bdfcef
[jsk_fetch_startup] Add fetch gazebo demo using roseus
708yamaguchi afb46cb
Add description about jsk_fetch_gazebo_demo in jsk_fetch_robot/README.md
708yamaguchi b16bb4b
define functions which are not merged and released
708yamaguchi c637049
fix mismatch between demo.l in jsk_fetch_gazebo_demo and demo.py in f…
708yamaguchi b1bb295
set minimum exec_depend
708yamaguchi b1fbe53
add more detailed usage to README.md
708yamaguchi 37513ad
add information to avoid roseus bugs to README.md usage
708yamaguchi 6d574f5
add run_demo_script arg to demo.launch
k-okada eb8a52d
enable to pass topic name to grasping-client
k-okada f9c6ec1
add jsk_fetch_gazebo_demo.test, grasping_objects.test tests
k-okada 2c0accc
hotfix for https://github.com/jsk-ros-pkg/jsk_robot/pull/1213#issueco…
k-okada 04bf706
Merge pull request #1 from k-okada/add_test
708yamaguchi 61cacaa
fix typo and increaes time-limit
k-okada e5ac8e7
add fetcheus to exec depend
708yamaguchi 8681394
update README to build this package
708yamaguchi 5842f74
[jsk_fetch_gazebo_demo] refactor demo.l
708yamaguchi 3682766
Relay /odom to /odom_combined to use :go-pos and :go-pos-unsafe
708yamaguchi 5e51122
Merge branch 'master' into fetch-gazebo-demo
k-okada 911a2b3
Merge branch 'master' into fetch-gazebo-demo
k-okada 2bcb325
Merge branch 'master' into fetch-gazebo-demo
k-okada 1112e8e
Merge branch 'master' into fetch-gazebo-demo
k-okada 1ca5c20
To initialize tfl/co, we need node initialization. see https://githu…
k-okada 947ae78
fix typo robot_state_pubclisher -> robot_state_publisher
k-okada c6a7bee
Merge pull request #11 from k-okada/fetch-gazebo-demo
708yamaguchi 2929b6b
we need node initialization. see https://github.com/jsk-ros-pkg/jsk_r…
k-okada e5d3f1d
Merge pull request #12 from k-okada/fetch-gazebo-demo
708yamaguchi eb707fe
remove unnecessary roslaunch command in README.md
708yamaguchi 4c51d4c
Add comment about package dependency
708yamaguchi 19ca749
Add catkin config to workspace setup
708yamaguchi d5ebc1f
Merge branch 'master' into fetch-gazebo-demo
knorth55 3200cd7
Merge branch 'master' into fetch-gazebo-demo
knorth55 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| cmake_minimum_required(VERSION 2.8.3) | ||
| project(jsk_fetch_gazebo_demo) | ||
|
|
||
| find_package(catkin) | ||
| catkin_package() | ||
|
|
||
| install(DIRECTORY euslisp launch config | ||
| DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
| USE_SOURCE_PERMISSIONS | ||
| ) | ||
|
|
||
| if(CATKIN_ENABLE_TESTING) | ||
| if ("$ENV{ROS_DISTRO}" STRGREATER "lunar") # >= melodic | ||
| find_package(catkin REQUIRED COMPONENTS rostest roslaunch) | ||
| add_rostest(test/jsk_fetch_gazebo_demo.test) | ||
| add_rostest(test/grasping_objects.test) | ||
| roslaunch_add_file_check(launch/demo.launch) | ||
| endif() | ||
| endif() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| jsk_fetch_gazebo_demo | ||
| ===================== | ||
|
|
||
| - This demo is roseus version of [fetch\_gazebo\_demo](https://github.com/fetchrobotics/fetch_gazebo/tree/gazebo9/fetch_gazebo_demo). | ||
| - You can learn how to use roseus and how ROS components are executed. (e.g. pointcloud, navigation, motion planning, ... etc) | ||
|
|
||
| ## Usage | ||
| - Build this package like [jsk\_fetch\_startup README](https://github.com/jsk-ros-pkg/jsk_robot/tree/master/jsk_fetch_robot#setup-environment) | ||
| ```bash | ||
| mkdir -p catkin_ws/src | ||
| cd catkin_ws/src | ||
| git clone https://github.com/jsk-ros-pkg/jsk_robot.git | ||
| rosdep install --from-paths . --ignore-src -y -r | ||
| cd .. | ||
| catkin build jsk_fetch_gazebo_demo | ||
| source devel/setup.bash | ||
| roslaunch jsk_fetch_gazebo_demo demo.launch | ||
|
708yamaguchi marked this conversation as resolved.
Outdated
|
||
| ``` | ||
|
|
||
| - Launch demo | ||
| ```bash | ||
| source devel/setup.bash | ||
| roslaunch jsk_fetch_gazebo_demo demo.launch | ||
| ``` | ||
|
|
||
| NOTE | ||
| - fetch\_gazebo is compatible with ROS indigo and melodic, so this repo is compatible with ROS indigo and melodic, too. | ||
| - Fetch in Gazebo9 (melodic) is somehow dark, but it seems no problem. | ||
|
|
||
| ## Demo | ||
| #### Start of demo | ||
| Fetch generates the costmap (blue and purple thick lines) based on the known room map. AMCL particle (red arrows) is scattered at the beginning. | ||
|
|
||
| |Gazebo|Rviz| | ||
| |---|---| | ||
| ||| | ||
|
|
||
| #### Move to table using navigation stacks | ||
| While fetch is moving, AMCL particle (red arrows) come together by comparing laser data (red dotted line) and room map. Navigation path (green line) is calculated based on the costmap. | ||
|
|
||
| |Gazebo|Rviz| | ||
| |---|---| | ||
| ||| | ||
|
|
||
| #### Recognize obstacles by pointcloud | ||
| Fetch generates collision obstacles (green blocks) based on the table and cube pointcloud. | ||
|
|
||
| |Gazebo|Rviz| | ||
| |---|---| | ||
| ||| | ||
|
|
||
| #### Grasp cube | ||
| Fetch solves IK, moves the arm while avoiding obstacles and grasps the blue cube. | ||
|
|
||
| |Gazebo|Rviz| | ||
| |---|---| | ||
| ||| | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.