Intelligent-Quads / iq_tutorials

MIT License
446 stars 250 forks source link

Unable to Simulate APMrover2 #25

Closed Prasanna-icefire closed 3 years ago

Prasanna-icefire commented 3 years ago

I tried doing a git check with different versions of APMrovers present. I then altered my startsitl.sh file and replaced ArduCopter with APMRover2.... The process began and after 30 percent or so it fails and exits.

Build failed

-> task in 'objs/AP_AHRS' failed (exit status 1): {task 140114098061088: cxx AP_AHRS_NavEKF.cpp -> AP_AHRS_NavEKF.cpp.0.o} (run with -v to display more information) SIM_VEHICLE: Build failed SIM_VEHICLE: Killing tasks

ericjohnson97 commented 3 years ago

I don't have any example rover stuff atm, but you should look at this repo

https://github.com/SwiftGust/ardupilot_gazebo

I believe the command you need is

sim_vehicle.py -v APMrover2 -f gazebo-rover  -m --mav10 --map --console -I1
Prasanna-icefire commented 3 years ago

Haha yup, I figured this part out and used it up. Your tutorials are amazing!Thank you!

On Wed, Jun 2, 2021 at 6:10 AM Sprained Ankle @.***> wrote:

I don't have any example rover stuff atm, but you should look at this repo

https://github.com/SwiftGust/ardupilot_gazebo

I believe the command you need is

sim_vehicle.py -v APMrover2 -f gazebo-rover -m --mav10 --map --console -I1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Intelligent-Quads/iq_tutorials/issues/25#issuecomment-852606998, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALEFCAICYUITEO6XTOSKSO3TQV4XXANCNFSM45NKAMJQ .

ericjohnson97 commented 3 years ago

Glad you figured it out! Best of luck with your project!