Skip to content

Commit

Permalink
Update to SNP 5.0 (#14)
Browse files Browse the repository at this point in the history
* Removed snp_automate_application package in favor of using predefined BT plugins

* Flattened repo hierarchy

* Added freespace motion group to launch file

* Updated to SNP 5.0
  • Loading branch information
marip8 authored Aug 15, 2024
1 parent 06ad483 commit e7d8691
Show file tree
Hide file tree
Showing 45 changed files with 16 additions and 278 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
matrix:
distro: [humble]
container:
image: ghcr.io/ros-industrial-consortium/scan_n_plan_workshop:${{ matrix.distro }}-4.6
image: ghcr.io/ros-industrial-consortium/scan_n_plan_workshop:${{ matrix.distro }}-5.0
env:
CCACHE_DIR: ${{ github.workspace }}/${{ matrix.distro }}/.ccache
DEBIAN_FRONTEND: noninteractive
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions snp_automate_2023/config/app.rviz → config/app.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Panels:
- /Current View1
Name: Views
Splitter Ratio: 0.5
- Class: snp_automate_application/AutomateApplication
Name: AutomateApplication
- Class: snp/SNPApplication
Name: SNPApplication
- Class: rviz_common/Displays
Help Height: 70
Name: Displays
Expand Down Expand Up @@ -565,7 +565,7 @@ Visualization Manager:
Yaw: 1.3503996133804321
Saved: ~
Window Geometry:
AutomateApplication:
SNPApplication:
collapsed: false
Displays:
collapsed: false
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions dependencies.repos
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@
local-name: motoros2_fjt_pt_queue_proxy
uri: https://github.com/gavanderhoorn/motoros2_fjt_pt_queue_proxy.git
version: 9279969b6eec46b82fd4867ebeabfe534d653b6f
- git:
local-name: motoros2_behavior_tree
uri: https://github.com/marip8/motoros2_behavior_tree.git
version: 0.1.0
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
context: ..
dockerfile: docker/Dockerfile
args:
- TAG=humble-4.6
- TAG=humble-5.0
environment:
DISPLAY: $DISPLAY
XAUTHORITY: $XAUTHORITY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@
</include>

<node pkg="rviz2" exec="rviz2" args="-d $(find-pkg-share snp_automate_2023)/config/app.rviz" output="screen">
<param name="bt_files" value="[$(find-pkg-share snp_automate_application)/config/snp_automate.xml]"/>
<param name="bt_files" value="[$(find-pkg-share snp_automate_2023)/config/snp_automate.xml]"/>
<param name="bt_plugin_libs" value="[$(find-pkg-prefix snp_application)/lib/libsnp_application_bt_plugins.so]"/>
<param name="bt_ros_plugin_libs" value="[$(find-pkg-prefix snp_application)/lib/libsnp_application_bt_plugins.so, $(find-pkg-prefix motoros2_behavior_tree)/lib/libmotoros2_behavior_tree.so]"/>
<param name="tree" value="main"/>

<!-- Application -->
<param name="bt_short_timeout" value="15"/>
<param name="config_file" value="$(find-pkg-share snp_automate_2023)/config/tpp.yaml"/>
<param name="mesh_file" value="/tmp/results_mesh.ply"/>
<param name="motion_group" value="manipulator"/>
<param name="freespace_motion_group" value="manipulator"/>
<param name="reference_frame" value="$(var reference_frame)"/>
<param name="tcp_frame" value="sand_tcp"/>
<param name="camera_frame" value="camera_color_optical_frame"/>
Expand Down Expand Up @@ -114,7 +117,7 @@
</node>
</group>
<group if="$(var sim_robot)">
<node pkg="snp_automate_application" exec="motoros2_simulator.py"/>
<node pkg="motoros2_behavior_tree" exec="motoros2_simulator.py"/>
<group if="$(var bypass_execution)">
<node pkg="snp_motion_execution" exec="execution_simulator" >
<param name="follow_joint_trajectory_action" value="$(var follow_joint_trajectory_action)"/>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions snp_automate_2023/package.xml → package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<exec_depend>controller_manager</exec_depend>
<exec_depend>joint_trajectory_controller</exec_depend>
<exec_depend>joint_state_broadcaster</exec_depend>
<exec_depend>motoros2_behavior_tree</exec_depend>

<export>
<build_type>ament_cmake</build_type>
Expand Down
51 changes: 0 additions & 51 deletions snp_automate_application/CMakeLists.txt

This file was deleted.

This file was deleted.

This file was deleted.

27 changes: 0 additions & 27 deletions snp_automate_application/package.xml

This file was deleted.

7 changes: 0 additions & 7 deletions snp_automate_application/plugin_description.xml

This file was deleted.

38 changes: 0 additions & 38 deletions snp_automate_application/scripts/motoros2_simulator.py

This file was deleted.

40 changes: 0 additions & 40 deletions snp_automate_application/src/bt/snp_automate_bt_ros_nodes.cpp

This file was deleted.

33 changes: 0 additions & 33 deletions snp_automate_application/src/snp_automate_panel.cpp

This file was deleted.

27 changes: 0 additions & 27 deletions snp_automate_application/src/snp_automate_widget.cpp

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit e7d8691

Please sign in to comment.