jr-robotics / robo-gym-robot-servers

Repository containing Robot Servers ROS packages
https://sites.google.com/view/robo-gym
MIT License
29 stars 22 forks source link

ur_robot_server/panda_robot_server: Cannot locate rosdep definition #5

Closed tinhangchui closed 3 years ago

tinhangchui commented 3 years ago

Hi, I tried to follow the instructions to install robo-gym-robot-servers on my clean Ubuntu 20.04 VM. After installing ROS (Noetic), I run the line rosdep install --from-paths src -i -y --rosdistro $ROS_DISTRO in step 5, then I got the following error:

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
ur_robot_server: Cannot locate rosdep definition for [ur_gazebo]
panda_robot_server: Cannot locate rosdep definition for [panda_gazebo]

Any ideas? Thanks!

matteolucchi commented 3 years ago

Hi, yes somehow the line cloning the ur_robot package got commented out. Thanks for reporting the error!

To solve that run:

# Set robo-gym ROS workspace folder
export ROBOGYM_WS=~/robogym_ws 
# Set ROS distribution
export ROS_DISTRO=noetic

cd $ROBOGYM_WS/src 
git clone -b $ROS_DISTRO https://github.com/jr-robotics/universal_robot.git

after that you can continue with the following steps.

tinhangchui commented 3 years ago

Thanks for the reply! However, I still have the panda_robot_server error after this:

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
panda_robot_server: Cannot locate rosdep definition for [panda_gazebo]
matteolucchi commented 3 years ago

I'm really sorry about the inconvenient!

Can you please try the following :

# Set robo-gym ROS workspace folder
export ROBOGYM_WS=~/robogym_ws 
# Set ROS distribution
export ROS_DISTRO=noetic

cd $ROBOGYM_WS/src 
git clone -b v0.7.1-dev https://github.com/jr-robotics/franka_ros_interface &&\
git clone https://github.com/jr-robotics/franka_panda_description &&\ 
git clone -b ${ROS_DISTRO}-devel https://github.com/jr-robotics/panda_simulator &&\
git clone https://github.com/orocos/orocos_kinematics_dynamics &&\
cd orocos_kinematics_dynamics && git checkout b35c424e77ebc5b7e6f1c5e5c34f8a4666fbf5bc

and then continue with the following steps.

Please let me know if this solves the issue

tinhangchui commented 3 years ago

Yes. It works now. Thank you!

matteolucchi commented 3 years ago

Great!