Skip to content

Commit

Permalink
🔧 Adds extra scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rickstaa committed Jun 17, 2021
1 parent e7d596f commit 087a02d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
-->
<launch>
<!--Script parameters-->
<arg name="real" default="true"/>
<arg name="load_gripper" default="true"/>
<arg name="robot_ip" default="172.16.0.2"/>
<!-- Wether the franka_control node should run on this pc-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
-->
<launch>
<!--Script parameters-->
<arg name="real" default="true"/>
<arg name="load_gripper" default="true"/>
<arg name="robot_ip" default="172.16.0.2"/>
<!-- Wether the franka_control node should run on this pc-->
Expand All @@ -19,6 +18,7 @@
</include>
</group>
<node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen" args="position_joint_trajectory_controller"/>
<!-- <node name="rqt_joint_trajectory_controller" pkg="rqt_joint_trajectory_controller" type="rqt_joint_trajectory_controller" respawn="false" output="screen" /> -->

<!--Load the URDF, SRDF and other .yaml configuration files on the param server-->
<include file="$(find panda_moveit_config)/launch/planning_context.launch">
Expand Down
3 changes: 2 additions & 1 deletion real_panda_moveit_control/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,15 @@
<build_export_depend>roscpp</build_export_depend>
<build_export_depend>rospy</build_export_depend>
<build_export_depend>std_msgs</build_export_depend>

<exec_depend>roscpp</exec_depend>
<exec_depend>rospy</exec_depend>
<exec_depend>std_msgs</exec_depend>
<exec_depend>rqt_joint_trajectory_controller</exec_depend>


<!-- The export tag contains other, unspecified, tags -->
<export>
<!-- Other tools can request additional information be placed here -->

</export>
</package>
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/bin/bash
# Small script used to connect to the roscore running on the workstation
# Input the ip where the ros core is running
master_ip=${1:-172.16.0.1}
echo $master_ip
# Create required environmental variables
export ROS_MASTER_URI=http://172.16.0.1:11311
# export ROS_HOSTNAME=$(hostname) # Use if the hostname is resolvable on the network
machine_ip=$(hostname -I)
machine_ip=(`hostname -I`)
export ROS_IP=${machine_ip[1]} # Use if the hostname can not be resolved on the network
echo "ROS_MASTER_URI=$ROS_MASTER_URI"
echo "ROS_HOSTNAME=$ROS_HOSTNAME"
Expand Down

0 comments on commit 087a02d

Please sign in to comment.