From e00fa0a38a9da18fd1d6c8f4b12eabd7aed40cbb Mon Sep 17 00:00:00 2001 From: Alexander Schaefer Date: Mon, 7 Apr 2025 19:20:31 +0200 Subject: [PATCH] AS: connection with Pd --- .DS_Store | Bin 6148 -> 8196 bytes robot.urdf | 542 ------------------ ros2_ws/install/local_setup.sh | 2 +- ros2_ws/install/setup.bash | 5 - ros2_ws/install/setup.ps1 | 3 - ros2_ws/install/setup.sh | 8 +- ros2_ws/install/setup.zsh | 5 - ros2_ws/log/latest_build | 2 +- ros2_ws/src/joint_states_control/get_urdf.py | 2 +- .../move_scaled_joint_cart.py | 1 - .../colcon_command_prefix_setup_py.sh.env | 14 +- .../joint_control.egg-info/SOURCES.txt | 11 + .../joint_control.egg-info/entry_points.txt | 4 + .../__pycache__/sitecustomize.cpython-310.pyc | Bin 293 -> 293 bytes .../colcon_command_prefix_setup_py.sh.env | 7 +- .../joint_info.egg-info/SOURCES.txt | 7 + .../__pycache__/sitecustomize.cpython-310.pyc | Bin 287 -> 287 bytes workspace/install/setup.bash | 5 - workspace/install/setup.ps1 | 3 - workspace/install/setup.sh | 6 - workspace/install/setup.zsh | 5 - workspace/log/latest_build | 2 +- workspace/src/joint_angles.py | 32 +- .../cart_tcp_server.cpython-310.pyc | Bin 3736 -> 3760 bytes .../joint_angles_server.cpython-310.pyc | Bin 3269 -> 3679 bytes .../trajectory_server_cart.cpython-310.pyc | Bin 4018 -> 4317 bytes .../joint_control/cart_tcp_server.py | 6 +- .../joint_control/joint_angles_server.py | 11 +- .../joint_control/trajectory_server_cart.py | 75 ++- workspace/src/joint_control/setup.py | 4 + 30 files changed, 127 insertions(+), 635 deletions(-) delete mode 100644 robot.urdf diff --git a/.DS_Store b/.DS_Store index 8aa99a7c3f90137f572163dea2aab2b62bc76a22..34c963ef83e8d10391bb43c5e54186a8ea78de5f 100644 GIT binary patch delta 369 zcmZoMXmOBWU|?W$DortDU;r^WfEYvza8E20o2aMA$h$FMH}hr%jz7$c**Q2SHn1@A zZsuVrVX9|mC}PNGC}xNUlgXYr`N>H+`AHzXKoezw^qT)*0Aw*Ra50nu)f+MxFr+f* zf!QexX{dS_)}!g+0IM^_u08^&*a?W&LoE6KAIRopCln(r2~y)+-%Epk(o<^8_0GA1>9yq aj_=Hq`9(Y@`}1&cFhatVVRJms9A*IfHeA~P delta 104 zcmZp1XfcprU|?W$DortDU=RQ@Ie-{Mvv5r;6q~50$jH7iU^g=(`(_@25~htM?Tm}r pIXDEFfhvGNfE!4-f)sBo{LVa?U&a%pm4OLj49H}L&G9^Qm;rO#5E}ph diff --git a/robot.urdf b/robot.urdf deleted file mode 100644 index bf21727..0000000 --- a/robot.urdf +++ /dev/null @@ -1,542 +0,0 @@ - - - - - - - - - - - - - ur_robot_driver/URPositionHardwareInterface - 172.18.0.2 - /opt/ros/humble/share/ur_client_library/resources/external_control.urscript - /opt/ros/humble/share/ur_robot_driver/resources/rtde_output_recipe.txt - /opt/ros/humble/share/ur_robot_driver/resources/rtde_input_recipe.txt - False - 50001 - 50002 - 0.0.0.0 - 50004 - 50003 - - True - 2000 - 0.03 - False - calib_5119701370761913513 - 0 - 0 - 115200 - 1 - 1.5 - 3.5 - /tmp/ttyUR - 54321 - 2 - - - - - - - 0.0 - - - - - - - - - - -1.57 - - - - - - - - - - 0.0 - - - - - - - - - - -1.57 - - - - - - - - - - 0.0 - - - - - - - - - - 0.0 - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ros2_ws/install/local_setup.sh b/ros2_ws/install/local_setup.sh index e8ab9d5..07a0147 100644 --- a/ros2_ws/install/local_setup.sh +++ b/ros2_ws/install/local_setup.sh @@ -6,7 +6,7 @@ # since a plain shell script can't determine its own path when being sourced # either use the provided COLCON_CURRENT_PREFIX # or fall back to the build time prefix (if it exists) -_colcon_prefix_sh_COLCON_CURRENT_PREFIX="/ros2_ws/install" +_colcon_prefix_sh_COLCON_CURRENT_PREFIX="/BA/ros2_ws/install" if [ -z "$COLCON_CURRENT_PREFIX" ]; then if [ ! -d "$_colcon_prefix_sh_COLCON_CURRENT_PREFIX" ]; then echo "The build time path \"$_colcon_prefix_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2 diff --git a/ros2_ws/install/setup.bash b/ros2_ws/install/setup.bash index 10ea0f7..4e927c6 100644 --- a/ros2_ws/install/setup.bash +++ b/ros2_ws/install/setup.bash @@ -17,11 +17,6 @@ _colcon_prefix_chain_bash_source_script() { fi } -# source chained prefixes -# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script -COLCON_CURRENT_PREFIX="/opt/ros/humble" -_colcon_prefix_chain_bash_source_script "$COLCON_CURRENT_PREFIX/local_setup.bash" - # source this prefix # setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script COLCON_CURRENT_PREFIX="$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)" diff --git a/ros2_ws/install/setup.ps1 b/ros2_ws/install/setup.ps1 index 558e9b9..fe4e838 100644 --- a/ros2_ws/install/setup.ps1 +++ b/ros2_ws/install/setup.ps1 @@ -21,9 +21,6 @@ function _colcon_prefix_chain_powershell_source_script { } } -# source chained prefixes -_colcon_prefix_chain_powershell_source_script "/opt/ros/humble\local_setup.ps1" - # source this prefix $env:COLCON_CURRENT_PREFIX=(Split-Path $PSCommandPath -Parent) _colcon_prefix_chain_powershell_source_script "$env:COLCON_CURRENT_PREFIX\local_setup.ps1" diff --git a/ros2_ws/install/setup.sh b/ros2_ws/install/setup.sh index 48ebbe1..b77c122 100644 --- a/ros2_ws/install/setup.sh +++ b/ros2_ws/install/setup.sh @@ -7,7 +7,7 @@ # since a plain shell script can't determine its own path when being sourced # either use the provided COLCON_CURRENT_PREFIX # or fall back to the build time prefix (if it exists) -_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX=/ros2_ws/install +_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX=/BA/ros2_ws/install if [ ! -z "$COLCON_CURRENT_PREFIX" ]; then _colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" elif [ ! -d "$_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX" ]; then @@ -29,12 +29,6 @@ _colcon_prefix_chain_sh_source_script() { fi } -# source chained prefixes -# setting COLCON_CURRENT_PREFIX avoids relying on the build time prefix of the sourced script -COLCON_CURRENT_PREFIX="/opt/ros/humble" -_colcon_prefix_chain_sh_source_script "$COLCON_CURRENT_PREFIX/local_setup.sh" - - # source this prefix # setting COLCON_CURRENT_PREFIX avoids relying on the build time prefix of the sourced script COLCON_CURRENT_PREFIX="$_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX" diff --git a/ros2_ws/install/setup.zsh b/ros2_ws/install/setup.zsh index 54799fd..2901efe 100644 --- a/ros2_ws/install/setup.zsh +++ b/ros2_ws/install/setup.zsh @@ -17,11 +17,6 @@ _colcon_prefix_chain_zsh_source_script() { fi } -# source chained prefixes -# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script -COLCON_CURRENT_PREFIX="/opt/ros/humble" -_colcon_prefix_chain_zsh_source_script "$COLCON_CURRENT_PREFIX/local_setup.zsh" - # source this prefix # setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script COLCON_CURRENT_PREFIX="$(builtin cd -q "`dirname "${(%):-%N}"`" > /dev/null && pwd)" diff --git a/ros2_ws/log/latest_build b/ros2_ws/log/latest_build index d5cf0b3..6d48b87 120000 --- a/ros2_ws/log/latest_build +++ b/ros2_ws/log/latest_build @@ -1 +1 @@ -build_2025-01-29_16-04-47 \ No newline at end of file +build_2025-03-27_14-22-13 \ No newline at end of file diff --git a/ros2_ws/src/joint_states_control/get_urdf.py b/ros2_ws/src/joint_states_control/get_urdf.py index 4c7d262..bf52a83 100644 --- a/ros2_ws/src/joint_states_control/get_urdf.py +++ b/ros2_ws/src/joint_states_control/get_urdf.py @@ -38,7 +38,7 @@ def main(): if urdf_string: # Save to a file - urdf_path = "/BA/robot.urdf" + urdf_path = "/BA/robot_ur5.urdf" with open(urdf_path, "w") as file: file.write(urdf_string) diff --git a/ros2_ws/src/joint_states_control/move_scaled_joint_cart.py b/ros2_ws/src/joint_states_control/move_scaled_joint_cart.py index e52596a..d756320 100644 --- a/ros2_ws/src/joint_states_control/move_scaled_joint_cart.py +++ b/ros2_ws/src/joint_states_control/move_scaled_joint_cart.py @@ -5,7 +5,6 @@ from rcl_interfaces.srv import GetParameters import time from cart_to_angles import ik_sol import roboticstoolbox as rtb -import xacro class ScaledJointTrajectoryPublisher(Node): def __init__(self): diff --git a/workspace/build/joint_control/colcon_command_prefix_setup_py.sh.env b/workspace/build/joint_control/colcon_command_prefix_setup_py.sh.env index 384b422..7d6308d 100644 --- a/workspace/build/joint_control/colcon_command_prefix_setup_py.sh.env +++ b/workspace/build/joint_control/colcon_command_prefix_setup_py.sh.env @@ -1,21 +1,13 @@ -AMENT_PREFIX_PATH=/BA/workspace/install/joint_info:/BA/workspace/install/joint_control:/opt/ros/humble COLCON=1 -COLCON_PREFIX_PATH=/BA/workspace/install HOME=/root -HOSTNAME=3230bc57d699 +HOSTNAME=0e38e264ac6b LANG=C.UTF-8 LC_ALL=C.UTF-8 -LD_LIBRARY_PATH=/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: -OLDPWD=/BA/workspace/src -PATH=/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +OLDPWD=/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/BA/workspace/build/joint_control -PYTHONPATH=/BA/workspace/build/joint_info:/BA/workspace/install/joint_info/lib/python3.10/site-packages:/BA/workspace/build/joint_control:/BA/workspace/install/joint_control/lib/python3.10/site-packages:/BA/workspace/src/build/joint_info:/BA/workspace/src/install/joint_info/lib/python3.10/site-packages:/BA/workspace/src/build/joint_control:/BA/workspace/src/install/joint_control/lib/python3.10/site-packages:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages ROS_DISTRO=humble -ROS_LOCALHOST_ONLY=0 -ROS_PYTHON_VERSION=3 -ROS_VERSION=2 SHLVL=1 TERM=xterm _=/usr/bin/colcon -_colcon_cd_root=/opt/ros/foxy/ diff --git a/workspace/build/joint_control/joint_control.egg-info/SOURCES.txt b/workspace/build/joint_control/joint_control.egg-info/SOURCES.txt index 8c9d108..a1c6326 100644 --- a/workspace/build/joint_control/joint_control.egg-info/SOURCES.txt +++ b/workspace/build/joint_control/joint_control.egg-info/SOURCES.txt @@ -1,9 +1,20 @@ package.xml setup.cfg setup.py +../../build/joint_control/joint_control.egg-info/PKG-INFO +../../build/joint_control/joint_control.egg-info/SOURCES.txt +../../build/joint_control/joint_control.egg-info/dependency_links.txt +../../build/joint_control/joint_control.egg-info/entry_points.txt +../../build/joint_control/joint_control.egg-info/requires.txt +../../build/joint_control/joint_control.egg-info/top_level.txt +../../build/joint_control/joint_control.egg-info/zip-safe joint_control/__init__.py joint_control/cart_tcp_server.py joint_control/joint_angles_server.py +joint_control/plugdata.py +joint_control/plugdata2.py +joint_control/plugdata3.py +joint_control/test.py joint_control/trajectory_server.py joint_control/trajectory_server_cart.py joint_control.egg-info/PKG-INFO diff --git a/workspace/build/joint_control/joint_control.egg-info/entry_points.txt b/workspace/build/joint_control/joint_control.egg-info/entry_points.txt index 09de273..375b957 100644 --- a/workspace/build/joint_control/joint_control.egg-info/entry_points.txt +++ b/workspace/build/joint_control/joint_control.egg-info/entry_points.txt @@ -1,6 +1,10 @@ [console_scripts] cart_coords = joint_control.cart_tcp_server:main joint_control = joint_control.joint_angles_server:main +plugdata = joint_control.plugdata:main +plugdata2 = joint_control.plugdata2:main +plugdata3 = joint_control.plugdata3:main +test = joint_control.test:main trajectory_server = joint_control.trajectory_server:main trajectory_server_cart = joint_control.trajectory_server_cart:main diff --git a/workspace/build/joint_control/prefix_override/__pycache__/sitecustomize.cpython-310.pyc b/workspace/build/joint_control/prefix_override/__pycache__/sitecustomize.cpython-310.pyc index 0123d59340c4f58db0faac58b7be887b97c5b59b..e7d083a46329f6bcb4fe817734bfcfab50f8a4c5 100644 GIT binary patch delta 20 acmZ3=w3LZEpO=@50SL4=eBQ_{#Rvc|2n3P< delta 20 acmZ3=w3LZEpO=@50SLk@9&Y58Vgvv!3j{L& diff --git a/workspace/build/joint_info/colcon_command_prefix_setup_py.sh.env b/workspace/build/joint_info/colcon_command_prefix_setup_py.sh.env index cf8da85..4145848 100644 --- a/workspace/build/joint_info/colcon_command_prefix_setup_py.sh.env +++ b/workspace/build/joint_info/colcon_command_prefix_setup_py.sh.env @@ -1,8 +1,8 @@ -AMENT_PREFIX_PATH=/BA/workspace/install/joint_info:/BA/workspace/install/joint_control:/opt/ros/humble +AMENT_PREFIX_PATH=/opt/ros/humble:/BA/workspace/install/mock_robot:/BA/workspace/install/joint_info:/BA/workspace/install/joint_control COLCON=1 COLCON_PREFIX_PATH=/BA/workspace/install HOME=/root -HOSTNAME=3230bc57d699 +HOSTNAME=0e38e264ac6b LANG=C.UTF-8 LC_ALL=C.UTF-8 LD_LIBRARY_PATH=/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib @@ -10,7 +10,7 @@ LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd OLDPWD=/BA/workspace/src PATH=/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/BA/workspace/build/joint_info -PYTHONPATH=/BA/workspace/build/joint_info:/BA/workspace/install/joint_info/lib/python3.10/site-packages:/BA/workspace/build/joint_control:/BA/workspace/install/joint_control/lib/python3.10/site-packages:/BA/workspace/src/build/joint_info:/BA/workspace/src/install/joint_info/lib/python3.10/site-packages:/BA/workspace/src/build/joint_control:/BA/workspace/src/install/joint_control/lib/python3.10/site-packages:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages +PYTHONPATH=/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages:/BA/workspace/build/mock_robot:/BA/workspace/install/mock_robot/lib/python3.10/site-packages:/BA/workspace/build/joint_info:/BA/workspace/install/joint_info/lib/python3.10/site-packages:/BA/workspace/build/joint_control:/BA/workspace/install/joint_control/lib/python3.10/site-packages ROS_DISTRO=humble ROS_LOCALHOST_ONLY=0 ROS_PYTHON_VERSION=3 @@ -18,4 +18,3 @@ ROS_VERSION=2 SHLVL=1 TERM=xterm _=/usr/bin/colcon -_colcon_cd_root=/opt/ros/foxy/ diff --git a/workspace/build/joint_info/joint_info.egg-info/SOURCES.txt b/workspace/build/joint_info/joint_info.egg-info/SOURCES.txt index d7cdacc..df11c2c 100644 --- a/workspace/build/joint_info/joint_info.egg-info/SOURCES.txt +++ b/workspace/build/joint_info/joint_info.egg-info/SOURCES.txt @@ -1,6 +1,13 @@ package.xml setup.cfg setup.py +../../build/joint_info/joint_info.egg-info/PKG-INFO +../../build/joint_info/joint_info.egg-info/SOURCES.txt +../../build/joint_info/joint_info.egg-info/dependency_links.txt +../../build/joint_info/joint_info.egg-info/entry_points.txt +../../build/joint_info/joint_info.egg-info/requires.txt +../../build/joint_info/joint_info.egg-info/top_level.txt +../../build/joint_info/joint_info.egg-info/zip-safe joint_info/__init__.py joint_info/osc_joint_states_pub.py joint_info/osc_joint_states_sub.py diff --git a/workspace/build/joint_info/prefix_override/__pycache__/sitecustomize.cpython-310.pyc b/workspace/build/joint_info/prefix_override/__pycache__/sitecustomize.cpython-310.pyc index 4e7b0719a592bfe19571d3fc586c975335dd1631..041af0f1a7ad01af3028dc4eb49b339932b906e8 100644 GIT binary patch delta 20 acmbQwG@pq(pO=@50SFwbo^Iq8VFUmzAp}tX delta 20 acmbQwG@pq(pO=@50SLk^9&Y3oVFUmyA_O7; diff --git a/workspace/install/setup.bash b/workspace/install/setup.bash index 10ea0f7..4e927c6 100644 --- a/workspace/install/setup.bash +++ b/workspace/install/setup.bash @@ -17,11 +17,6 @@ _colcon_prefix_chain_bash_source_script() { fi } -# source chained prefixes -# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script -COLCON_CURRENT_PREFIX="/opt/ros/humble" -_colcon_prefix_chain_bash_source_script "$COLCON_CURRENT_PREFIX/local_setup.bash" - # source this prefix # setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script COLCON_CURRENT_PREFIX="$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)" diff --git a/workspace/install/setup.ps1 b/workspace/install/setup.ps1 index 558e9b9..fe4e838 100644 --- a/workspace/install/setup.ps1 +++ b/workspace/install/setup.ps1 @@ -21,9 +21,6 @@ function _colcon_prefix_chain_powershell_source_script { } } -# source chained prefixes -_colcon_prefix_chain_powershell_source_script "/opt/ros/humble\local_setup.ps1" - # source this prefix $env:COLCON_CURRENT_PREFIX=(Split-Path $PSCommandPath -Parent) _colcon_prefix_chain_powershell_source_script "$env:COLCON_CURRENT_PREFIX\local_setup.ps1" diff --git a/workspace/install/setup.sh b/workspace/install/setup.sh index fa9641d..7f6c219 100644 --- a/workspace/install/setup.sh +++ b/workspace/install/setup.sh @@ -29,12 +29,6 @@ _colcon_prefix_chain_sh_source_script() { fi } -# source chained prefixes -# setting COLCON_CURRENT_PREFIX avoids relying on the build time prefix of the sourced script -COLCON_CURRENT_PREFIX="/opt/ros/humble" -_colcon_prefix_chain_sh_source_script "$COLCON_CURRENT_PREFIX/local_setup.sh" - - # source this prefix # setting COLCON_CURRENT_PREFIX avoids relying on the build time prefix of the sourced script COLCON_CURRENT_PREFIX="$_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX" diff --git a/workspace/install/setup.zsh b/workspace/install/setup.zsh index 54799fd..2901efe 100644 --- a/workspace/install/setup.zsh +++ b/workspace/install/setup.zsh @@ -17,11 +17,6 @@ _colcon_prefix_chain_zsh_source_script() { fi } -# source chained prefixes -# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script -COLCON_CURRENT_PREFIX="/opt/ros/humble" -_colcon_prefix_chain_zsh_source_script "$COLCON_CURRENT_PREFIX/local_setup.zsh" - # source this prefix # setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script COLCON_CURRENT_PREFIX="$(builtin cd -q "`dirname "${(%):-%N}"`" > /dev/null && pwd)" diff --git a/workspace/log/latest_build b/workspace/log/latest_build index 6703708..9a2733d 120000 --- a/workspace/log/latest_build +++ b/workspace/log/latest_build @@ -1 +1 @@ -build_2025-03-24_10-47-50 \ No newline at end of file +build_2025-04-07_10-59-55 \ No newline at end of file diff --git a/workspace/src/joint_angles.py b/workspace/src/joint_angles.py index 92d5c7c..1e8225b 100644 --- a/workspace/src/joint_angles.py +++ b/workspace/src/joint_angles.py @@ -1,12 +1,13 @@ from osc4py3.as_eventloop import * from osc4py3 import oscbuildparse +import time def main(): # Start the OSC system osc_startup() # Make client channels to send packets - osc_udp_client("127.0.0.1", 8000, "osc_client") + osc_udp_client("172.18.0.3", 8000, "osc_client") # Example joint positions to send @@ -17,12 +18,33 @@ def main(): joint_positions5 = [-0.5,-0.6, 0.2,0.0, 0.0, 0.0] msg = oscbuildparse.OSCMessage("/joint_trajectory", None, [joint_positions1, joint_positions2, joint_positions3, joint_positions4, joint_positions5]) - print("Sending joint positions") - # Send the OSC message osc_send(msg, "osc_client") - print("Sent joint positions") osc_process() + print("Sending joint positions") + ''' + time.sleep(2) + msg = oscbuildparse.OSCMessage("/tcp_coordinates", None, joint_positions2) + osc_send(msg, "osc_client") + osc_process() + print("Sent joint positions2") + time.sleep(3) + msg = oscbuildparse.OSCMessage("/tcp_coordinates", None, joint_positions3) + osc_send(msg, "osc_client") + osc_process() + print("Sent joint positions3") + time.sleep(3) + msg = oscbuildparse.OSCMessage("/tcp_coordinates", None, joint_positions4) + osc_send(msg, "osc_client") + osc_process() + print("Sent joint positions4") + time.sleep(3) + msg = oscbuildparse.OSCMessage("/tcp_coordinates", None, joint_positions5) + osc_send(msg, "osc_client") + osc_process() + print("Sent joint positions5") + time.sleep(3) + ''' osc_terminate() if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/workspace/src/joint_control/joint_control/__pycache__/cart_tcp_server.cpython-310.pyc b/workspace/src/joint_control/joint_control/__pycache__/cart_tcp_server.cpython-310.pyc index 6db002c94b4eb569e17e2c6569fc9c8c0dae660c..34c1f9aabb9c59449c14fc909794551cb27038df 100644 GIT binary patch delta 502 zcmY*WL2DE-7|oYtCYhbdBHLQKEVYAJVJW4kJ$aE{+Ir|gMeraDLo=?k?T$7xDlQ2< zEO>GenTsI8?mtlWf9S#69zFOw{02cZ@Vzg2yyU$kA2+^isOL(x2##-We-6Y~b<4X@ zxDr^0SmiH-ip)2_TXooxmwI>lU8)jydi;=R4t~1{V~)|8<&PA*kI!t@u}q zO21;7O#q1I4@t#mo@JI_SZ~fMKJ>cQgAd08WZd-P5)fR(sj}!pNI}W{|(TO#=A#pQTKhb*S%M~ z%1oKXr+JZ$(keeGhSCeC;Z-l6K${_^<}6ASs9ItfM52pbe76u$YPu0DJXjunF7s-QYcJFTMw_ zDI6~jqubEQnsa56jMBVFlKz@`T)$Jr%Ao)N&s)7yb1Q-*SX?a@ zX#^3puodOr!3VIk6B{4Hte|LMX1)o($(N9)f$M?jD2f7N7tX&|`ExYsUWB&uY%JMm zzS@)$1ud|dB(@%)EGXDy8a369b~V$U0L>ev|D3=cV%f4~y}zs_S&D+T0ElqbNJ{S< zg^DWYo~AT$_7YdQiYc#3g)7)47Krw(HA_5|RS@1K>Ochodx_jhxmCQEv_R(+x${*{ z@p}YfEv&vFxA<#>BKXneoS9{3tZ(6{etc@4dAE6FB`gQ#gUyGbEZJATIkBuZ&5XA) z+;7`F?F0rzC;&$XMrc0b7(xhn2=RQ{Y{6jr#XA9*G_(E?jGGPr3dY-?{u#n@dpn$h z{7!Z#uT<)Btx>6zi*nsOM2)VsY&+LHj?-FvSdY_vIcml_CW@=ycSvjXU77uc%*N%M INjet40OF`)+yDRo diff --git a/workspace/src/joint_control/joint_control/__pycache__/joint_angles_server.cpython-310.pyc b/workspace/src/joint_control/joint_control/__pycache__/joint_angles_server.cpython-310.pyc index 8c4e103b692113fbbfe005735150204ae326a869..de62ed32ad28d80aa64939ce9f1e9fa232b85d02 100644 GIT binary patch delta 1143 zcmaJgwC^dSm@ z_#mS%im(9@R1k~5L45K_A0!AO2ohApU!dP?st+PgIN#3szH?4y&Y73JAC_b)zV8yO zukXK49P?*0cNu-E9*pKoZeW46Q^YV2Djr zL=%B13O_bA*VGk=Ff=F3(Z8w*x`?3Sk%$UYSl3xE@&XpEpGyX9^^zt_O4uFmK6#M* zfi9-4-%;nRZBCov$ZbP4t%Yl?Z~>gKTSE_^Wll|2Wvi=NEQ>&fg;H@$R>EoZ&RR1+ z2c5Hdlv5W!PCe==#~$Wav(FBEtXistIrI zqQbg{_U$DNT1WdLGtioyw9|@k{>UuZfdkI@&B=scOa#v&E73Xh6!bw78KqS0MrP7Y zDqNj}Bcx+5GUm86eE&~#JT%5vEqidJoyOtYo(3NRur^#^r=&d!qBZuP_2pl03d(sl++y9+P@BgNORhueAx zZ9N2)bNc84wcRCBq?`YAty*= z#(q-RiZjW#OBWM-^uOA_v#yZ-RBiX+g1VC$Ub$jlSr)^*JX_3PD9E#USxNTCkM7-{ zAD^5mZqKVvsXMuF0KG^i*nwr*-2gbKn(k`4UcGXc^X`^4S-x;ds?Y9C-)gyGN delta 848 zcmaJ;&1(}u6rVRU*^lgQ(#A+zRNA0cBGRY`{g9|_dh`o=2%eUjX-gs|FqzsmY{(&s zig+45Rbd03L=WQMAYSari}WHMz4;&1H``J{#J9XR?|a|xz3<0Ajb&OvkS0i90HiBLs8jA`n!t zM|2G9|J0zDjgbKbqL|?O);4)f`v<*DzhbJRw^K8hZvNau>ZBLf<+7@`nsXCHE{AY1 zIgDaA+g@pkP|4-SN=>!omOP4HJz`C|CMQQN7}B?``5qcb&b1ob*AkgR$&o9_?FI@( z`lQPYtcZo6C|WpP#6zZdgyTiLkqRxN@7tq9K%N}!de<%Yd}(8P4f&7^Ln^_LIgu4w5%xnh9s=zp;N;ZIGhdS-7!WZ%(YPH)~3t@Mg1_(!zX6 zw(hpn)VdU_deeIWMg7Y@17$twpN7l&x<3wC-S(dW*IsbWo58KLFQP~@y%=1`-9mNO l3B&u?I1G!!vZ5acPlm3dJK3)^39_WeGqd)2XCw`L?>EM&wxa+5 diff --git a/workspace/src/joint_control/joint_control/__pycache__/trajectory_server_cart.cpython-310.pyc b/workspace/src/joint_control/joint_control/__pycache__/trajectory_server_cart.cpython-310.pyc index e2538627825b62b343c23577a576e481b1fd9f12..6277c3913e6d786b25c9a127de0275efeefcc8c8 100644 GIT binary patch delta 2172 zcmaJ?U1(fI6rQ>N`~Q>O&2EyWH?b{l)fz!)8*AFyA6u$L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