mirror of
https://github.com/EECS-467-W20-RRRobot-Project/RRRobot.git
synced 2025-08-15 22:38:31 +00:00
Add Scripts
- Add build.sh in ariac_ws to build and enable motion planning - Add arm_pub_test.sh to publish a target position ros message - Add arm_test.sh to build and run arm_controller_node
This commit is contained in:
8
src/ariac_ws/build.sh
Normal file
8
src/ariac_ws/build.sh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
catkin_make clean &&
|
||||||
|
catkin_make &&
|
||||||
|
catkin_make install &&
|
||||||
|
|
||||||
|
source install/setup.bash
|
||||||
|
roslaunch ur10_moveit_config move_group.launch arm_namespace:=/ariac/arm1
|
3
src/rrrobot_ws/src/rrrobot/scripts/arm_pub_test.sh
Normal file
3
src/rrrobot_ws/src/rrrobot/scripts/arm_pub_test.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
rostopic pub /target_pose geometry_msgs/Pose '{position: {x: 0.875, y: 0.75, z: 1.5}, orientation: {x: 0, y: 0, z: 0, w: 0}}'
|
6
src/rrrobot_ws/src/rrrobot/scripts/arm_test.sh
Normal file
6
src/rrrobot_ws/src/rrrobot/scripts/arm_test.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /app/rrrobot_ws
|
||||||
|
catkin_make clean && catkin_make
|
||||||
|
source devel/setup.bash
|
||||||
|
rosrun rrrobot arm_controller_node
|
Reference in New Issue
Block a user