wynn4 / ibvs_sim Goto Github PK
View Code? Open in Web Editor NEWImage-based visual servoing simulation
Image-based visual servoing simulation
Please note that GitHub no longer supports old versions of Safari.
We recommend upgrading to the latest Safari, Google Chrome, or Firefox.
Ignore
Learn more
rosflight / rosflight
Code Issues 12 Pull requests 3 Projects 0 Wiki Security Pulse Community
Edit
New issue
Jump to bottom
some errors in spawning quadcopter #114
Open Arsalan66 opened this issue Nov 18, 2019 · 0 comments
Comments
@Arsalan66 Arsalan66 commented Nov 18, 2019
OS Version: ubutu 18.04
Compiler version (amd 64)
sir, i ran catkin_make on the roscopter directory and it worked perfectly however when i ran catkin_make on ibvs sim it generated errors:
[ 96%] Building CXX object ibvs_sim/CMakeFiles/boat_forces_and_moments_plugin.dir/plugins/src/boat_forces_and_moments.cpp.o
[ 97%] Built target ekf_rosbag
[ 98%] Built target ekf_node
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp: In destructor ‘virtual gazebo::BoatForcesAndMoments::~BoatForcesAndMoments()’:
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:29:18: error: ‘DisconnectWorldUpdateBegin’ is not a member of ‘gazebo::event::Events’
event::Events::DisconnectWorldUpdateBegin(updateConnection_);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp: In member function ‘void gazebo::BoatForcesAndMoments::SendForces()’:
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:39:7: error: ‘math’ has not been declared
math::Vector3(actual_forces_.Fx, actual_forces_.Fy, actual_forces_.Fz));
^~~~
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:41:7: error: ‘math’ has not been declared
math::Vector3(actual_forces_.l, actual_forces_.m, actual_forces_.n));
^~~~
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp: In member function ‘void gazebo::BoatForcesAndMoments::UpdateForcesAndMoments()’:
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:166:3: error: ‘math’ has not been declared
math::Pose W_pose_W_C = link_->GetWorldCoGPose();
^~~~
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:167:15: error: ‘W_pose_W_C’ was not declared in this scope
double pn = W_pose_W_C.pos.x;
^~~~~~~~~~
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:170:3: error: ‘math’ has not been declared
math::Vector3 euler_angles = W_pose_W_C.rot.GetAsEuler();
^~~~
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:171:16: error: ‘euler_angles’ was not declared in this scope
double phi = euler_angles.x; // roll
^~~~~~~~~~~~
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:171:16: note: suggested alternative: ‘file_handle’
double phi = euler_angles.x; // roll
^~~~~~~~~~~~
file_handle
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:175:3: error: ‘math’ has not been declared
math::Vector3 C_linear_velocity_W_C = link_->GetRelativeLinearVel();
^~~~
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:176:14: error: ‘C_linear_velocity_W_C’ was not declared in this scope
double u = C_linear_velocity_W_C.x;
^~~~~~~~~~~~~~~~~~~~~
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:179:3: error: ‘math’ has not been declared
math::Vector3 C_angular_velocity_W_C = link_->GetRelativeAngularVel();
^~~~
/home/arsalan/in_ws/src/ibvs_sim/plugins/src/boat_forces_and_moments.cpp:180:14: error: ‘C_angular_velocity_W_C’ was not declared in this scope
double p = C_angular_velocity_W_C.x;
^~~~~~~~~~~~~~~~~~~~~~
ibvs_sim/CMakeFiles/boat_forces_and_moments_plugin.dir/build.make:62: recipe for target 'ibvs_sim/CMakeFiles/boat_forces_and_moments_plugin.dir/plugins/src/boat_forces_and_moments.cpp.o' failed
make[2]: *** [ibvs_sim/CMakeFiles/boat_forces_and_moments_plugin.dir/plugins/src/boat_forces_and_moments.cpp.o] Error 1
CMakeFiles/Makefile2:8938: recipe for target 'ibvs_sim/CMakeFiles/boat_forces_and_moments_plugin.dir/all' failed
make[1]: *** [ibvs_sim/CMakeFiles/boat_forces_and_moments_plugin.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
can anyone kindly help me to address this issue, thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.