Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Would you mind telling me how to install this package? #1

Open
LeoWayne opened this issue Oct 19, 2017 · 13 comments
Open

Would you mind telling me how to install this package? #1

LeoWayne opened this issue Oct 19, 2017 · 13 comments

Comments

@LeoWayne
Copy link

No description provided.

@LeoWayne
Copy link
Author

Would you mind telling me how to install this package?

@hakuturu583
Copy link
Member

hakuturu583 commented Oct 21, 2017

Thank you for posting this issue.

  1. create catkin_ws
  2. git clone git@github.com:hakuturu583/ros_ship_packages.git
  3. catkin_make
  4. roslaunch ros_ship_gazebo_plugins wam-v_gazebo.launch

Best regards

@LeoWayne
Copy link
Author

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!

@hakuturu583
Copy link
Member

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
Copy link
Member

@LeoWayne
Copy link
Author

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

@hakuturu583
Copy link
Member

hakuturu583 commented Oct 21, 2017

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

@LeoWayne
Copy link
Author

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

@LeoWayne
Copy link
Author

[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

@hakuturu583
Copy link
Member

hakuturu583 commented Oct 21, 2017

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
Copy link
Member

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

@andelnegro6
Copy link

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

@hakuturu583
Copy link
Member

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants