UmbraTek / ut_arm_ros

umbratek utra ros devel
BSD 2-Clause "Simplified" License
4 stars 2 forks source link

Fail to build the package with catkin build tool #1

Closed petpetpeter closed 2 years ago

petpetpeter commented 2 years ago

I try to build the package with the catkin build tool and I found this error

image

I guess it's related to this discussion https://answers.ros.org/question/50120/catkin-conversion-usrbinld-cannot-find-lpackage_name/

So, I remove the project name from every target_link_libraries in the CMakeLists.txt file in the utra_controller package and success with the build.

from

target_link_libraries(joint_publisher_450 ${catkin_LIBRARIES} utra_api)

to

target_link_libraries(joint_publisher_450 ${catkin_LIBRARIES})

not sure if it also works for catkin_make as well.

OS Version: Ubuntu 18.04.6 LTS ROS: Melodic

samping commented 2 years ago

it's have problem with some package.xml, i have updated the project. i make the new ubuntu 18 in VMware, and install new ros environment, and follow the steps in readme. it can build the project. you can try it again . (if Gazebo not running on VMware, add "export SVGA_VGPU10=0" to ~/.bashrc)

gmp-prem commented 2 years ago

I tried to follow readme.md of the latest package. after that we do the catkin_make

this error from building the workspace happen like this

Screenshot from 2021-12-22 16-30-00

OS Version: Ubuntu 18.04.6 LTS ROS: Melodic

samping commented 2 years ago

it is miss the utra_msg_generate_messages_cpp on utra_controller CMakeLists.txt.

samping commented 2 years ago

please git pull the new version , and catkin_make again

gmp-prem commented 2 years ago

I can build the package successfully. Now, I try "Run RViz and connect with utra" and moveit but found this error when trying to move the robot.

error2

The connection work fine and I could enable robot with the rviz plugin.

gmp-prem commented 2 years ago

thank you. it fixed by updating latest controller firmware.