Thank you David, yes, she is very stable, but with a bit of give where it needs it
John Easton's battle with 'Wobbly Path' - [NOT SOLVED]
Git Required For Build?
Hi. I am new to ArduPilot. I am trying to build ArduCopter from source, and I would like to be able to perform the build on a “stand-alone” setup, from source, without having the local git clone present.
I am able to get the source and peform a build no problem, when the git repository is locally present, using the following:
git clone https://github.com/ArduPilot/ardupilot ardupilot
cd ardupilot
git checkout ArduCopter-stable
git submodule update --init -recursive
./waf configure --board=navio2 --no-submodule-update
./waf copter
However, if I remove the top-level .git files and folders and try the build again (./waf copter
), I get the output
Waf: Entering directory `/home/user/ardupilot/build/navio2'
Command ['/usr/bin/git', 'rev-parse', '--short=8', 'HEAD'] returned 128
I specified the --no-submodule-update configuration option to prevent checking for submodule updates, but it seems like the build process still needs a local git repository in order to build … ? Is there any way around this?
My motivation for this is that we use subversion, and I am trying to get the source into our local subversion repository. It seems cleaner for me to be able to just place the source into the repository, as opposed to needing to place the entire git clone into the repository. (I realize that my interface with the rest of the world for updates still needs to be git.)
Thanks
Joel
Sailboat Support
@rmackay9 thanks for making it run!, looks like I put the parameters in the wrong place? I attempted cherry picking but it went abit wrong I think because you had re-based and I haven’t, I attempted a rebase but ended up just opening a new pull request.
I have now got the acro code working for the heading and pwm wind-vane types. It performs exactly as expected on the stand, unfortunately not had time to go and test it out today, should be able to try it out tomorrow. The only change from before is that now it sheets out all the way when disarmed, this also meant I had to swap the way the throttle controls the sail in manual. Now minimum throttle is sheet fully out (@David_Boulanger is this the convention?) otherwise you end up sheeting in all the way when you want to be slowing down to disarm and when you arm the sail has to traverse from full out to fully in.
as for the analog potentiometer wind vane I haven’t got much further than buying the potentiometer, I got this one https://uk.rs-online.com/web/p/products/6930746/ . It has a fantastically smooth action but does take quite abit of force to turn, I guess we will have to use quite a large ‘flag’ to get it to move in light wind. I found this design and the plan is to adapt it https://www.thingiverse.com/thing:952978 I think i will try and make it abit smaller and mount it on a something at the front of the boat and see how we go from there.
John Easton's battle with 'Wobbly Path' - [NOT SOLVED]
First 6 hour test today calm conditions …
John Easton's battle with 'Wobbly Path' - [NOT SOLVED]
LW20/C Laser altimeter
Ok, i am in the same boat as you guys now. Connected directly to my Pix2.1 and it reads zero, no matter what.
Connected to pc trough serial works fine.
Do we have to wait for a firmware update to have it working?
p.s. strange thing is that when i first received it and having read all the probs i tested it and it worked perfect as reported in my previous post.
Here 2 RTK plane
Dear, I am considering in mounting Here 2 RTK on rc plane.
Will it work or works better on a copter?
Pixhawh documents etc
Cube seems to be an earlier px4/pixhawhk design 2.xx
So in essence px4?
Or.
broken 404 link to docs.
http://ardupilot.org/copter/docs/common-thecube-overview.html
Dual External Compass?
To make sure, detach one of them from the frame, but keep connected and do the test, then change and do again.
If you have two compasses on the same address, then it is only random which one’s response is processed by the FC. It is not fusing but a very non supported setup
QUAD s 500 Pixhawk 2.4.8 / MP 1.3.58 will not arm
I have run calibrations and motors spin with test, no MP message why arming fails. MP will say armed when Taranis plus throttle down / yaw rt, then goes desarmed before I can throttle up.
How do I post logs for review help and would this be the right place .
Thanks Ken
Some sanity questions
Sorry to bother. I’ve been a short to middle term user of Ardupilot. I must say it is quite robust. Though sometimes I don’t really understand the fine details of everything. As a result I’m probably making some wrong assumption. Therefore I opened this topic in order to get some more details and understand how ardupilot works a little bit better. The questions are in specific about IMU/Compass and ekf. Don’t worry about answering all questions. One answer will already help me understanding it better.
-
Only recently I understood that IMU and compass are different concepts for Ardupilot. I assumed the compass contained all IMU too. Does that mean the compass is actually only the “Magnetometer” and that the IMU is the Gyrometer and Accelerometer. Is that correct?
-
I know that for the compass it is better to have it external. Is that the same for IMU? Seems it is only possible to use the internal ones. Wouldn’t it also better to use an external one?
-
Now you can have 3 IMUS enabled. IIUC this creates up to 3 EKF instances. One per IMU. This means only the IMU is different per EKF? Every EKF uses the same magnetometer and gps values?
-
Some hardcore question: When you set EK2_IMU_MASK to 3 it will create two instances one with IMU1 and one with IMU2. What is IMU1 and IMU2? Is that INS_GYR_ID/INS_ACC_ID and INS_GYR2_ID2/INS_ACC2_ID? Or is that the first and second enabled IMU (INS_USEX == 1)
-
Along those lines. What happens if all INS_USE=0 INS_USE2=0 INS_USE3=0 ? I tried this and I didn’t notice a difference. Will it just take a disabled IMU?
-
Similar questions about EK2_IMU_MASK. What if there is only one IMU enabled. I saw we still have two EKF instances. What IMU is used for the second ekf2?
If anybody knows an answer on any of those questions. That would help me a lot in understanding Ardupilot better. Thanks!
Nimbus 1800 vectored yaw VTOL maiden
John Easton's battle with 'Wobbly Path' - [NOT SOLVED]
Is there anyway you can outfit the boat to keep the outboard stationary and put rudders on the outer hulls? Your picture of the track looks better than others I’ve seen. I’m still interested in why it is worse in one direction than the other. Maybe a dagger board in the main hull would smooth things out a bit. Once it gets going straight it looks good. But then again it has huge problems in the cove. I think this vectored thrust steering with a single screw has some problems. Not Ardupilot problem but basic Naval Architecture problem. Once it gets going straight, for the most part, it hold course. But your boat should behave better than this to be considered working properly
Sailboat Support
Left stick down is usually sheeted in full. left up is sheeted out. If disarmed the sheets should be out I think. So manual sheeting as you have it is kind of backwards. As this code matures I can’t think anyone would have a problem with the sheeting being backwards to start with.
Sailboat Support
Thanks, I think that way is more intuitive, pulling the stick is the equivalent of pulling the rope, I guess we could swap it back and use a switch or hold mode disarm to avoid having to be sheeted in to disarm. Or in the longer term it would probably be a good idea to add separate sheet channel rather than just using the throttle input, i guess people may have motors and sails in which case using the throttle input for sails wouldn’t work.
Sailboat Support
In my opinion if your using a sailboat the throttle input should be the sail sheeting. If you have motors on the boat also that should be an auxiliary channel. When Motor sailing skippers often set the motor at a low speed and trim the sails to go along the course. If this is code for sailing vessels then the use of motors should be on a separate channel. My opinion.
Nimbus 1800 vectored yaw VTOL maiden
Yepp, this is the original setup.
Here+ RTK follow mode
Hello guys
I would like to make precise follow me mode relative to moving vehicle.
I have got Here+ RTK with pixhawk 2. I’ve upgraded firmware in rover and base to 1.40.
I read about using moving baseline for follow me. I couldn’t reach stable fix type. Fix changed from 3D fix to RTK float. I’ve never seen RTK FIX. In the air copter was loitering above base, but the precision was not good. It flies ± 3 meter around the base.
In another fly I used static baseline mode. I reached RTK float status and for a few second I get RTK float. The precision was good. Copter stayed on position. When I moved with baseline the copter changed self position with base.
Can I use static baseline for follow?
How do I configure moving baseline to make it working?
Thank you
Newbuild / 3.5.7 / Crash
Hi Dave, I hadn’t calibrated the compass as I broke the mount when it crashed. I didn’t see that this would hold me back from a short hover to test inputs.
In any case, I think the problem may have been down to a dodgy connection on the receiver. I noticed today if it was tapped a certain way that the unit would loose power. A second tap would correct it. On closer inspection the power lead in the servo wire is broken and needs a wiggle to correct. This has now been rectified and once I have repaired the damaged compass mount and got new props I will see how she goes . Thanks for your help its much appreciated.
Some sanity questions
- Yes
- No.
- There is apparently 22 or so EKF’s running, anyone correct me if I’m wrong. They are individual to the sensors.
- ?? not sure here haven’t read up on it.
-
- Sounds like your messing with the internals for the sake of it. If you find out please share,