sudo apt install python3-rosdep2
Zbuduj sklonowany projekt
mkdir -p src/
git clone https://github.com/PartyKusZ/HighFiveBot.git src/
rosdep update
rosdep install --from-paths src -y --ignore-src
colcon build
source install/setup.bash
Odpal symulację bez moveita
ros2 launch ur_simulation_gazebo ur_sim_control.launch.py ur_type:="ur3"
LC_NUMERIC=en_US.UTF-8 ros2 launch ur_simulation_gazebo ur_sim_moveit.launch.py ur_type:="ur3"
W osobnym terminalu odpal test czy działa trajectory controller
ros2 action send_goal /joint_trajectory_controller/follow_joint_trajectory control_msgs/action/FollowJointTrajectory "{
trajectory: {
joint_names: [shoulder_pan_joint, elbow_joint , shoulder_lift_joint, wrist_1_joint, wrist_2_joint, wrist_3_joint ],
points: [
{ positions: [1.0, 0.5, -1.0, 1.0, 0.0, 0.0], time_from_start: { sec: 3, nanosec: 0 } },
]
}
}"