wynn4 / ibvs_sim

Image-based visual servoing simulation
14 stars 5 forks source link

Errors #4

Open Arsalan66 opened 4 years ago

Arsalan66 commented 4 years ago

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_andmoments.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(actualforces.Fx, actualforces.Fy, actualforces.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(actualforces.l, actualforces.m, actualforces.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_WC = 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_WC = 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_WC = 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

sotomotocross commented 4 years ago

I have the same exact errors. Have you by any chance solved the matter you had and can direct to a solution? Screenshot from 2020-06-05 15-37-43

Arsalan66 commented 4 years ago

Brother , I switched to another repo however I had many issues in my previous Ubuntu, I would suggest you to go for another ubuntu, don't delete this ubuntu, just make your system dual boot.

sotomotocross commented 4 years ago

Which distro did you use?

Arsalan66 commented 4 years ago

I had Ubuntu 18 with ros melodic at that time but now I'm using Ubuntu 16 with ros kinetic

sotomotocross commented 4 years ago

So i have no other choice than making a dual boot to my system with ubuntu 16.04 in order to use ROS Kinetic? Thank you very much for the help and notes. I will see how i will proceed.

Arsalan66 commented 4 years ago

No worries brother but let me tell you this that i switched to another repo and completed all my project on that, make sure in your new ubuntu you don't install anything else other than this

sotomotocross commented 4 years ago

can you indicate this repo? which one did you use? i have ubuntu 18.04 and ros melodic

Arsalan66 commented 4 years ago

text me at arsalanwasim6@gmail.com

AnukritiSinghh commented 3 years ago

Hey, can you let me know which repo you used? Thanks, Anukriti

Arsalan66 commented 3 years ago

Hi, just received your messages

On Fri, Aug 27, 2021 at 8:25 PM Anukriti Singh @.***> wrote:

Hey, can you let me know which repo you used? Thanks, Anukriti

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wynn4/ibvs_sim/issues/4#issuecomment-907284203, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM2MN3NZG3PQGGOJ7LKCBJTT66U7HANCNFSM4JOZFTKA .

Arsalan66 commented 3 years ago

https://gaas.gitbook.io/guide/software-realization-build-your-own-autonomous-drone/build-your-own-autonomous-drone-e01-offboard-control-and-gazebo-simulation

On Fri, Aug 27, 2021 at 9:28 PM Arsalan wasim @.***> wrote:

Hi, just received your messages

On Fri, Aug 27, 2021 at 8:25 PM Anukriti Singh @.***> wrote:

Hey, can you let me know which repo you used? Thanks, Anukriti

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wynn4/ibvs_sim/issues/4#issuecomment-907284203, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM2MN3NZG3PQGGOJ7LKCBJTT66U7HANCNFSM4JOZFTKA .

AnukritiSinghh commented 3 years ago

Thank you so much! Anukriti

On Fri, Aug 27, 2021 at 9:59 PM Arsalan Wasim @.***> wrote:

https://gaas.gitbook.io/guide/software-realization-build-your-own-autonomous-drone/build-your-own-autonomous-drone-e01-offboard-control-and-gazebo-simulation

On Fri, Aug 27, 2021 at 9:28 PM Arsalan wasim @.***> wrote:

Hi, just received your messages

On Fri, Aug 27, 2021 at 8:25 PM Anukriti Singh @.***> wrote:

Hey, can you let me know which repo you used? Thanks, Anukriti

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wynn4/ibvs_sim/issues/4#issuecomment-907284203, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AM2MN3NZG3PQGGOJ7LKCBJTT66U7HANCNFSM4JOZFTKA

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wynn4/ibvs_sim/issues/4#issuecomment-907325405, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGZUXZ36TFLEMLPR52U47ITT664NTANCNFSM4JOZFTKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.