how many of you are working on a sort of NOGPS project?
my project goal is operating my drone in an underground situation
no gps signals at all
so far i am aware of that I can set vehicle's altitude and modify attitude
can we possibly preset missions under NOGps mode?
is dronekit dead or whats going on?
@Guohao91 I was working on one originally, however, ran into a lot of problems with the no_gps example for dronekit so ended up having to scrap it. I was using a Navio2 as the flight controller so that might have been the problem
Hi @LordHandLee, I've been working on the Navio2 as well, ended up just having to connect from my laptop and running the scripts there. That seemed to work best for me, I'm about to start work on an outdoor project so should work fine I hope
Also I turned off the pre-arm checks for the Navio2 to get it to launch, but you need to be super careful when doing that
@andrew_t97_gitlab I too can also run scripts and connect from my laptop, but that defeats the whole purpose of even using the Navio2 and dronekit in the first place.
What are you looking to do exactly?
run scripts locally from the drone without having to connect with my laptop
I wrote a program in python that uses computer vision in OpenCV. Im looking to experiment with autonomous drones.
Okay, unfortunately I don't think I can help you there as I ended up just using my laptop, I spoke to some people on the Navio2 forums and got the same results as you, I'd look into potentially using ROS if that is able to fit what you want to do as you'd be able to interact with mavros allowing you to control the drone instead of dronekit. Word of warning though, Navio2's ROS is pretty limited in terms of packages
I'd definitely look into ROS if that's what you're trying to do
I do not think ROS will work. I would have to program my own flight controller I believe.
The Navio2 and dronekit would be the best/easiest solution if it wasn't bugged
Correct me if I am wrong, but I think ROS is more geared toward land based robots and not flight based.
Yeah I know, I tried using it for no GPS and it crashed my drone without much reason. I don't know too much about mavros but I'm pretty sure it will allow you to supply it with flight commands. The ArduPilot documentation has a massive ROS section
there's alot of stuff on them but once again the Navio2's packages are limited so some of the stuff like LIDAR navigation won't work because of the distro on the Navio2
what do you mean the Navio2's packages are limited? Don't these flight controllers all use the same shit? dronekit?
So I mean for ROS, wasn't really clear on that
so because the Navio2 has a custom distro, there are a number of packages which are not designed for it and are unavailable via the package manager. A good portion of ROS packages are missing from the Navio2's package manager. So you may have trouble with ROS depending on what sort of ROS packages you need
In all honestly I probably won't attempt to work on anything else drone related until something better comes along. Not trying to help develop ardupilot or develop my own framework for flying drones. I just want to be able to write code that can make use of a simple API. Honestly ArduPilot and dronekit shouldn't be as overcomplicated as it is. It needs more layers of abstraction.
That is probably why me and everyone else is getting the timeout hearbeat error. The new Navio2 image is probably incompatible with dronekit
Yeah, the Navio2 has some problems at the moment, personally I want them to move to an Ubuntu distro so it solves all the ROS problems but it's still in development so you can't expect everything from them, remember drones are still a relatively new technology so open source development options are pretty limited
It should at least work. It doesn't even do the one thing it is supposed to
At least not for me anyways
I got my money back, so I can't complain too much
But yeah I understand
If I ever find time, I might look into ROS as you mentioned. I found a much cheaper flight controller than the Navio2 that also uses dronekit. It lacks many of the features of the Navio 2 such as GPS, but that does not interest me anyways.
I might give that a go in the near future
How hard would it be to just use a regular flight controller and mimic RC signals from a Raspberry Pi and send that to the flight controller to control the drone that way?
@andrew_t97_gitlab thanks for your opnion
so yes the drone can do a very limited motions with NoGPS mode
I am using Pixhawk 4 and Intel NUC
I have no idea about Navio2
so i think I'd better try to accomplish my code as good as possible
and I believe there would be someones working to improve Ardupilot's NOGPS mode
He claims that the dronekit-sitl is obsolete. I still use dronekit + dronekit-sitl + mavproxy.
@tizianofiorenzani is in this chat, so can give you his reasoning :) I suspect he’s referring to the fact that the default version of arducopter in DK-Sitl hasn’t been updated for some time, and whilst DK itself is largely functional, it’s not actively developed or maintained at the moment (sadly).
The version of Ardupilot installed with the dronekit-sitl package is really old and has not been updated since March 2019. Which in this project it’s an eternity. The AP versión installed is 3.3 for Copter, 2.5 for rover (that’s ancient), 3.3 for plane, and apparently 2.0.20 for solo.
hi guys new to dronkit-python, is dronekit python works for arduirover boat?