Would you mind telling me how to install this package?
Opened this issue · 13 comments
Would you mind telling me how to install this package?
Thank you for posting this issue.
- create catkin_ws
- git clone git@github.com:hakuturu583/ros_ship_packages.git
- catkin_make
- roslaunch ros_ship_gazebo_plugins wam-v_gazebo.launch
Best regards
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!
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.
I think you failed to build this service file.
https://github.com/hakuturu583/ros_ship_packages/blob/master/ros_ship_visualization/srv/PlotCharacteristicCurve.srv
Sorry, I am a new learner in this, can you tell me how I can built this service file sucessfully?
This service was included in the ros_ship_visualization package.
So, please try this process.
- git pull
- catkin_make --pkg ros_ship_visualization
- 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
The service file was built successfully. But in the end I got this problem.
[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
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??
@LeoWayne
I reconfigure build order of packages.
So, I think your first problem will be fixed.
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 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.