ros_ship_packages icon indicating copy to clipboard operation
ros_ship_packages copied to clipboard

Would you mind telling me how to install this package?

Open LeoWayne opened this issue 7 years ago • 13 comments

LeoWayne avatar Oct 19 '17 02:10 LeoWayne

Would you mind telling me how to install this package?

LeoWayne avatar Oct 19 '17 02:10 LeoWayne

Thank you for posting this issue.

  1. create catkin_ws
  2. git clone [email protected]:hakuturu583/ros_ship_packages.git
  3. catkin_make
  4. roslaunch ros_ship_gazebo_plugins wam-v_gazebo.launch

Best regards

hakuturu583 avatar Oct 21 '17 04:10 hakuturu583

fatal error: ros_ship_visualization/PlotCharacteristicCurve.h: No such file or directory. I think this package might miss some files. Would you mind pack the whole package for me? Thanks a lot!

LeoWayne avatar Oct 21 '17 06:10 LeoWayne

Sorry... I think you failed to build service files in ros_ship_visualization package or there are something wrong with CMakeLists.txt in ros_ship_visualization package... I try to update soon. Thank you.

hakuturu583 avatar Oct 21 '17 06:10 hakuturu583

I think you failed to build this service file. https://github.com/hakuturu583/ros_ship_packages/blob/master/ros_ship_visualization/srv/PlotCharacteristicCurve.srv

hakuturu583 avatar Oct 21 '17 06:10 hakuturu583

Sorry, I am a new learner in this, can you tell me how I can built this service file sucessfully?

LeoWayne avatar Oct 21 '17 08:10 LeoWayne

This service was included in the ros_ship_visualization package. So, please try this process.

  1. git pull
  2. catkin_make --pkg ros_ship_visualization
  3. catkin_make

in process 2, catkin built PlotCharacteristicCurve.srv and generate PlotCharacteristicCurve.h automatically. Please check code generation by using locate PlotCharacteristicCurve.h the result should be /home/(username)/catkin_ws/devel/include/ros_ship_visualization/PlotCharacteristicCurve.h

hakuturu583 avatar Oct 21 '17 08:10 hakuturu583

The service file was built successfully. But in the end I got this problem.

LeoWayne avatar Oct 21 '17 08:10 LeoWayne

[100%] Building CXX object ros_ship_packages/ros_ship_navigation/CMakeFiles/twist_from_fix_velocity_node.dir/src/twist_calculator.cpp.o Linking CXX executable /home/user/catkin_ws/devel/lib/ros_ship_navigation/twist_from_fix_velocity_node CMakeFiles/twist_from_fix_velocity_node.dir/src/twist_calculator.cpp.o: In function tf2::gmTransformToKDL(geometry_msgs::TransformStamped_<std::allocator<void> > const&)': twist_calculator.cpp:(.text._ZN3tf216gmTransformToKDLERKN13geometry_msgs17TransformStamped_ISaIvEEE[_ZN3tf216gmTransformToKDLERKN13geometry_msgs17TransformStamped_ISaIvEEE]+0xc5): undefined reference to KDL::Rotation::Quaternion(double, double, double, double)' collect2: error: ld returned 1 exit status make[2]: *** [/home/user/catkin_ws/devel/lib/ros_ship_navigation/twist_from_fix_velocity_node] Error 1 make[1]: *** [ros_ship_packages/ros_ship_navigation/CMakeFiles/twist_from_fix_velocity_node.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j2 -l2" failed

LeoWayne avatar Oct 21 '17 08:10 LeoWayne

In my environment, I never faced such a probrem... your ROS version is kinetic kame?? I develop this package in this environment ROS version: kinetic kame Ubuntu:16.04

I guess this error occurs from KDL version defference... Are you usually use tf2 or tf??

hakuturu583 avatar Oct 21 '17 09:10 hakuturu583

@LeoWayne I reconfigure build order of packages. So, I think your first problem will be fixed.

hakuturu583 avatar Nov 05 '17 14:11 hakuturu583

did anyone have problems with "ros-kinetic-julius"? It's necessary for the other packages and I tried installing and it says:

rsync: mkdir "/opt/ros/indigo/share/julius" failed: No such file or directory (2) rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.1] dpkg: error processing archive /var/cache/apt/archives/ros-kinetic-julius_2.1.6-0xenial-20171123-002032-0800_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 11 Errors were encountered while processing: /var/cache/apt/archives/ros-kinetic-julius_2.1.6-0xenial-20171123-002032-0800_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Hakuturu583, do you have any idea of this? why is it looking for a file in a different ROS version?

Thanks

andelnegro6 avatar Jan 05 '18 09:01 andelnegro6

@andelnegro6 I think it depends on ros-kinetic-jsk* related packages. Now, we make a /opt/ros/indigo/share directory and install julis, then we move julis into /opt/ros/kinetic/share directory.

hakuturu583 avatar Jan 06 '18 14:01 hakuturu583