Skip to content

Aitthikit/FUN4_6562

Repository files navigation

FUN4 6562

FUN4: Hello world

System architecture

alt text alt text alt text alt text

Package requirement

Please Install this follower Package on your environment

Setup environment

  1. Clone workspace :
git clone https://github.com/Aitthikit/FUN4_6562.git
  1. Navigate to the workspace directory :
cd FUN4_6562
  1. Remove build install log(if it have in workspace) :
rm -rf build/ install/ log/
  1. Build :
colcon build
  1. Source workspace :
source install/setup.bash

Run

  1. Run launch file :
ros2 launch example_description all_launch.py
  1. Use service to select mode
ros2 service call /mode robot_interface/srv/Mode "mode:
  data: 2
point:
  layout:
    dim: []
    data_offset: 0
  data: [0.0,0.0,0.0]
mode_tele:
  data: 1" 
  • mode

    • data: 1 = Inverse Pose Kinematics (IPK)
    • data: 2 = Teleoperation
    • data: 3 = Auto
  • point (use for point target to mode Inverse Pose Kinematics (IPK))

    • data: [x,y,z] (only float format)
  • mode_tele (use for select in mode Auto)

    • data: 1 = Reference to base
    • data: 2 = Reference to end-effector

    like example is select mode Teleoperation and mode_tele Reference to base

  1. Interface monitor
ros2 topic echo /singularity_notify
  1. Teleop_keyboard to control mode Teleoperation
ros2 run teleop_twist_keyboard teleop_twist_keyboard

Bugfix

  1. Do not forget to close this monitor before service call
    • alt text
  2. Do not forget to Source workspace :
source install/setup.bash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published