Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

hrim_actuator_rotaryservo_msgs #6

Open
femust opened this issue Jul 24, 2019 · 7 comments
Open

hrim_actuator_rotaryservo_msgs #6

femust opened this issue Jul 24, 2019 · 7 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@femust
Copy link

femust commented Jul 24, 2019

Hey, how I can get hrim_actuator_rotaryservo_msgs package ? Since I have a trouble with compiling.

@LanderU
Copy link

LanderU commented Jul 24, 2019

You need to generate the packages using the following instructions:

cd ~/ros2_mara_ws/src/HRIM
sudo pip3 install hrim
hrim generate models/actuator/servo/servo.xml

You can follow the install instructions here: https://github.com/AcutronicRobotics/MARA#create-a-ros-20-workspace

@LanderU LanderU added help wanted Extra attention is needed question Further information is requested labels Jul 24, 2019
@femust
Copy link
Author

femust commented Jul 24, 2019

So, now after upgrading gazebo stuff I have the following (in the mean time i upgrated also sudo apt upgrade libignition-math2)

In file included from /usr/include/gazebo-9/gazebo/transport/CallbackHelper.hh:29:0,
                 from /usr/include/gazebo-9/gazebo/transport/transport.hh:2,
                 from /home/andrzej/ros_workspaces/ros2_mara_ws/src/mara/mara_contact_publisher/src/ContactPublisher.cpp:18:
/usr/include/gazebo-9/gazebo/msgs/msgs.hh:22:10: fatal error: sdf/sdf.hh: No such file or directory
 #include <sdf/sdf.hh>
          ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/mara_contact_publisher.dir/src/ContactPublisher.cpp.o] Error 1
make[1]: *** [CMakeFiles/mara_contact_publisher.dir/all] Error 2
make: *** [all] Error 2

@LanderU
Copy link

LanderU commented Jul 24, 2019

Which gazebo version do you have installed?

@LanderU
Copy link

LanderU commented Jul 24, 2019

Follow this instructions please: https://github.com/AcutronicRobotics/MARA#dependent-tools

@femust
Copy link
Author

femust commented Jul 24, 2019

Yes, I followed, and the error happened

firstly I had an error with ign-fuel-tools and it could be resolved by the upgrading libignition-math2 and now this I have unfortunately

@LanderU
Copy link

LanderU commented Jul 24, 2019

I'll try to reproduce your error.

@femust
Copy link
Author

femust commented Jul 24, 2019

Ok. I solve the problem with compiling by removing build and install, after installation of the library.

So basically if there is an error with ign-fuel-tools, there is a need to upgrade libignition-math2, and then there is a need to remove the install build. I'll try now to run the stuff and see whether it works without restrictions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants