This repo contains steps for using the doosan-robot made by BryanStruurman
cmake --version
https://github.com/Kitware/CMake/releases?page=14
(http://embedonix.com/articles/linux/installing-cmake-3-5-2-on-ubuntu/)
cd /opt
sudo wget https://github.com/Kitware/CMake/archive/refs/tags/v3.9.0.tar.gz
sudo tar -zxvf v3.9.0.tar.gz
sudo rm v3.9.0.tar.gz
cd CMake-3.9.0/
sudo apt install openssl libssl-dev -y
sudo code bootstrap
to
cmake_options="-DCMAKE_BOOTSTRAP=1 -DCMAKE_USE_OPENSSL=ON"
sudo apt install libqt4-dev qt4-dev-tools libncurses5-dev -y
sudo ./configure --qt-gui
code CMakeCache.txt
sudo make -j8
sudo make install
cmake --version
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt install curl # if you haven't already installed curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt-get update
-
ROS,rqt,rviz,generic libraries, 2D/3D simulator, navigation, etc. in the package
sudo apt-get install ros-kinetic-desktop-full
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
sudo apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential python3-rospkg
sudo apt install python-rosdep
sudo rosdep init
rosdep update
sudo apt-get install ros-kinetic-rqt ros-kinetic-moveit ros-kinetic-industrial-core ros-kinetic-gazebo-ros-control ros-kinetic-joint-state-controller ros-kinetic-effort-controllers ros-kinetic-position-controllers ros-kinetic-ros-controllers ros-kinetic-ros-control ros-kinetic-serial
sudo apt-get install ros-kinetic-lms1xx ros-kinetic-interactive-marker-twist-server ros-kinetic-twist-mux ros-kinetic-imu-tools ros-kinetic-controller-manager ros-kinetic-robot-localization
sudo apt install ros-kinetic-joint-state-publisher-gui
sudo apt-get install python3-catkin-pkg-modules
sudo apt-get install python3-rospkg-modules
### We recoomand the /home/<user_home>/catkin_ws/src
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
#catkin_init_workspace
#git clone --branch ros_control_compat https://github.com/BryanStuurman/doosan-robot
git clone --branch rt_feature https://github.com/VentionCo/vention_doosan.git
#git clone --branch robot-simulation-498 https://github.com/VentionCo/vention_doosan.git
#git clone --branch master https://github.com/doosan-robotics/doosan-robot.git
rosdep install --from-paths doosan-robot --ignore-src --rosdistro kinetic -r -y
cd ~/catkin_ws
catkin_make
source ./devel/setup.bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
git clone https://github.com/BryanStuurman/serial.git
# Tiaga's Repo
#git clone --branch ros_control_compat https://github.com/BryanStuurman/doosan-robot
#Doosan's Repo
#git clone --branch master https://github.com/doosan-robotics/doosan-robot.git
#Vetnion Repo
git clone --branch rt_feature https://github.com/VentionCo/vention_doosan.git
cd ~/catkin_ws
colcon_make
Anytime you open a new terminal run the following command in you workspace
source ./devel/setup.bash
roslaunch dsr_description h2017.launch
roslaunch dsr_launcher single_robot_rviz_gazebo.launch model:=h2017
In 2nd terminal (change robot model to h2017 in .py example file)
rosrun dsr_example_py single_robot_simple.py
roslaunch dsr_launcher single_robot_rviz_gazebo.launch host:=192.168.1.3 mode:=real model:=h2017
In terminal 2 (calling a service)
rosservice call /dsr01h2017/motion/move_joint
Change joint angle and set time to 5. Click enter and you would see the robot move in reality
roslaunch dsr_launcher single_robot_rviz_gazebo.launch host:=192.168.1.3 mode:=real model:=h2017
In 2nd terminal (change the robot model in the .py example file)
rosrun dsr_example_py jog_simple.py
Moving the actual robot from moveit roslaunch dsr_launcher dsr_moveit.launch host:=192.168.1.3 mode:=real model:=h2017
The robot executes the move as spline move.
roslaunch dsr_launcher dsr_moveit.launch host:=192.168.1.3 mode:=real model:=h2017
roslaunch dsr_control dsr_moveit.launch host:=192.168.1.3 mode:=real model:=h2017
roslaunch dsr_control dsr_control.launch host:=192.168.1.3 mode:=real model:=h2017
rosrun dsr_example_py realtime.py
sudo apt-get remove ros-*
sudo apt-get purge ros-*
sudo apt-get autoremove
http://wiki.ros.org/ROS/CommandLineTools
apt-get install python3-pip
sudo apt-get install python-catking-tools python3-dev python3-numpy
sudo apt-get install python-virtualenv
sudo apt-get install python3-empy
mkdir -p catkin_ws/src
cd catkin_ws
virtualenv py3venv --python=python3
source py3venv/bin/activate
cd ~/catkin_ws/src
catkin_init_workspace
git clone --branch feature_rt_roscontrol https://github.com/BryanStuurman/doosan-robot