Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Vehicles - MultiRotors / my Drone doesn't go straight up...
« Last post by Alex H. on July 28, 2022, 04:37:33 pm »
Does anyone have an idea why is my drone behaving like in the video?
72
Vehicles - MultiRotors / Re: GCS Ubuntu + cc3d board
« Last post by Alex H. on July 27, 2022, 10:12:59 pm »
73
Vehicles - MultiRotors / GCS Ubuntu + cc3d board
« Last post by Alex H. on July 27, 2022, 07:51:43 pm »
Hi,
as I have switched to Ubuntu, I'm trying to connect my cc3d board to PC in order to configure it with GCS 16.09+r894.
Looks like the board is not recognized/seen by the software...
In dmesg I can see:

[ 2513.805164] usb 1-3.1.1: USB disconnect, device number 24
[ 2515.563930] usb 1-3.1.1: new full-speed USB device number 25 using xhci_hcd
[ 2515.690170] usb 1-3.1.1: New USB device found, idVendor=20a0, idProduct=415b, bcdDevice= 4.01
[ 2515.690175] usb 1-3.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2515.690178] usb 1-3.1.1: Product: CopterControl
[ 2515.690180] usb 1-3.1.1: Manufacturer: openpilot.org
[ 2515.690181] usb 1-3.1.1: SerialNumber: 52FF69064888555372650987+BL
[ 2515.764386] hid-generic 0003:20A0:415B.0016: hiddev1,hidraw5: USB HID v1.10 Device [openpilot.org CopterControl] on usb-0000:07:00.1-3.1.1/input0

Can someone tell me what should I do?

Thanks,
Alex
74
It would help to know exactly how you want to use this:
- in this run only, or come back to that place some other run or day?
- just station keeping there or a waypoint on a multi waypoint course?
- would it be OK to use the GCS before or after the run, just not during the run?

Are you aware that GPS readings for a single location can easily be different by several meters some time (hour+) later?  GPS is only accurate to about 5 meters.  Modern drones enhance this with visual recognition to land where they took off.

There is also a capability of running a python script.  That is associated with waypoints.  With writing a python script you have access to everything, including HomeLocation PoiLocation and the currently loaded waypoints.  Writing a script is a programmer thing though.  Script could be just "add a waypoint here then do X (say position hold till flight mode changes)"?  That would still require you to save the waypoints (using GCS) after the run if you wanted to use them another day.  To make it save/load to settings memory and not need the GCS at all would be a task for a developer who could work with the LP source code.

I don't think there is anything you can do to set a waypoint from a transmitter switch, but there is a thing called Point Of Interest POI in the flight modes.  I have never used it and am not sure what it does.  It may not be helpful in that it only keeps the vehicle (VTOL intended?) pointed at the POI?

There are also transmitter scripts that can be written and some already written on the internet.  That, combined with transmitter telemetry and a possible GPS addon for the Rx could do something, but that seems like a hack if you are using an FC already.
75
Hi!

I’m planning to make a bait boat using an FC with GPS, and I see a bunch of ready to use boats are using the transmitter to trigger a waypoint set. Is it possible to do the same with librepilot, or I’ll have to use Librepilot2Go with bluetooth?

Thanks in advance!
76
Vehicles - Helicopters / Re: Convert racing controller PIDs to CC3D
« Last post by TheOtherCliff on July 17, 2022, 01:41:40 pm »
Hmm...

By the time the sensor data gets into a UAV where you can see it, it is already converted into standard units and floating point.  For instance GyroSensor is in degrees per second.  The PID comes later than that.

The raw gyro sensor data is scaled to be float degrees per second in flight/modules/Sensors/sensors.c and put in GyroSensor with GyroSensorSet().  It goes into GyroState from there and every time that changes, innerloop.c gets the values and puts them into gyro_filtered and that is what the PID acts on.

There seems to be a hold over from the days of integers though.  The PID code multiplies the inputs by 1000 at the beginning and divides by 1000 at the end.  This kind of looks like scaling to avoid integer overflow / underflow and tastes like the old days of direct hardware access, but it might be some reasonable required scaling.  Maybe just to match the values used in the integer days.  I cringe when I think about it, but it is only 500 x 2 x ?6? = 6000 FLOPS so it isn't really worth a special version to take it out.
77
Vehicles - Helicopters / Re: Convert racing controller PIDs to CC3D
« Last post by jcg1541 on July 17, 2022, 09:09:16 am »
Just some general musings:

OP/LP tries to create settings that are based on measurement units (e.g. degrees per second, seconds, meters, meters per second per second) and use floating point to allow some of it (e.g. very small numbers).  Even within OP/LP there are simplifications to make e.g. tunings into "unitless" numbers 00-99 (Stabilization -> Use Basic Configuration View).

Good point. I looked at both CC3D code and racing clean flight code, and I couldn't easily tell whether degree or radian was the unit from the gyro sensor. I could tell for sure though that both CC3D and clean flight treat the gyro sensor input as-is in the core PIDs code. Neither CC3D nor clean flight try to do unit conversion leading to the core PIDs loops.
78
Applications - FPV / Re: MinimOSD - where are they?
« Last post by trust on July 05, 2022, 06:21:14 pm »
I did some more searching for schematics and looked on Hobbyking, and found two different versions of this OSD - seems to use the same two main chips.
Anyone use these versions?
79
Applications - FPV / Re: MinimOSD - where are they?
« Last post by trust on July 05, 2022, 05:59:46 pm »
Thanks for the reply.
As I pointed out in my note, I did try Amazon, and they canceled the order after two weeks when the vendor didn't actually ship anything and I complained. There is only one vendor showing this product. They STILL advertise it, BTW.
For the time being I'm moving units from planes I'm not flying much to new test planes - the data I get is valuable for diagnosing flight characteristics.
But I'm still interested in building some.
80
Applications - FPV / Re: MinimOSD - where are they?
« Last post by TheOtherCliff on July 05, 2022, 12:06:42 pm »
I would just try a different seller, just don't bother trying eBay for that, they are $40 each there for some reason.

Amazon wants $9.  I would probably try there.
Pages: 1 ... 6 7 [8] 9 10