Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 08:14

    tridge on master

    Autotest: fix css loading for a… (compare)

  • 08:14
    tridge closed #15642
  • 07:27
    khancyr synchronize #15642
  • 06:17

    tridge on master

    AP_Bootloader: Repurpose unused… (compare)

  • 06:16
    tridge closed #15918
  • 05:39
    rishabsingh3003 commented #15919
  • 05:05
    tridge labeled #15921
  • 04:45
    tridge synchronize #15921
  • 04:35
    tridge opened #15921
  • 04:35
    tridge labeled #15921
  • 04:35
    tridge review_requested #15921
  • 04:34
    pkocmoud opened #15920
  • 02:48
    magicrub commented #15694
  • 02:38
    rmackay9 edited #15919
  • 02:30
    rmackay9 labeled #15919
  • 02:30
    rmackay9 labeled #15919
  • 02:30
    rmackay9 opened #15919
  • 01:56
    Travis rmackay9/rmackay9-ardupilot (ekf3-wenc-prearm) fixed (6813)
  • 01:29
    rmackay9 synchronize #15912
  • 01:03
    pkocmoud opened #15918
heeplr
@heeplr
ardugitter: i'm no ardupilot dev but i think clean code is an improvement. Maybe you could provide multiple (small) pull requests with changes, so discussion takes place in the PR conversation?
maybe start with something minor and see how it echoes
ardugitter
@ardugitter
Thanks heeplr, I'll give it a go. Like you say, small changes first. Feels like I'm rummaging around someone's attic a little bit! (Ardupilot is amazing so please no one take offence!)
heeplr
@heeplr
i got the same impression. code is not a mess but there's room for improvement. tbf, ardupilot as project is huge and complex and i suppose active developers rather do stuff they like... so no surprise
Cherevatin
@Cherevatin
Guys, what development environment do you use to customize the firmware?
ardugitter
@ardugitter
I use Geany
I think making small changes will be a good way to get into it.
Cherevatin
@Cherevatin
@ardugitter , thanks for the answer. Are you building a project there? I just can't figure out how to get the .hex, px4, .atj or .vrx file for flashing
ardugitter
@ardugitter
No I use the command line to build the project.
You should find this file: build/Pixhawk1/bin/arducopter.hex
(for example)
Cherevatin
@Cherevatin
Does anyone know how to define a pin as an input / output and apply a high / low voltage to it? Which library?
Cherevatin
@Cherevatin
Is anybody here?
Ivona-pp
@Ivona-pp

Hi, We are new in ardupilot project and we' re trying to build it but we have the following error: 19:57:57 Incremental Build of configuration Default for project ardupilot
"c:\cygwin64\bin\python2.7" waf all
Cannot run program "c:\cygwin64\bin\python2.7": Launching failed

Error: Program "c:\cygwin64\bin\python2.7" not found in PATH
PATH=[D:\Ivona\bin;C:/Users/Olvia/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_14.0.2.v20200815-0932/jre/bin/server;C:/Users/Olvia/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_14.0.2.v20200815-0932/jre/bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;D:\STM_virt\asm;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32\config\systemprofile.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\PROGRA~2\PICC;C:\Program Files\dotnet\;C:\Program Files (x86)\Calibre2\;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility;C:\Program Files\SafeNet\Authentication\SAC\x64;C:\Program Files\SafeNet\Authentication\SAC\x32;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;D:\Ivona\Drone\ESC\Git\cmd;C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin;D:\Ivona\Drone\eclipse]

19:57:57 Build Failed. 1 errors, 0 warnings. (took 80ms)

Can you give us any help? :)
ardugitter
@ardugitter
I would build on Ubuntu. It's much easier.
adezie
@adezie
if you used windows 10, you could easily install ubuntu from store and run the building environment on ubuntu
Ivona-pp
@Ivona-pp
Okay, thank you. We will try.
raspberryfone
@raspberryfone
Developing on Navio2 and trying to get the heading or bearing. Does anyone know how to convert the 3 magnetometer reading to a bearing in Python?
example output is Gyroscope: [0.0031926727642276422, 0.018091812330623305, -0.0063853455284552845]
Cherevatin
@Cherevatin
Hello.
Before compiling in Ubuntu, I have to select board (./waf configure --board name). I am using an ArduCopter controller, so which board should I choose? I did not find such a name there
Cherevatin
@Cherevatin
psss, no one can help me?(
Farzad Ahmadinejad
@farzadsw
@Cherevatin
It depends on your hardware (board name). "ArduCopter controller" is not the name of hardware, I guess probably it is pixhawk1.
check here:
https://github.com/ArduPilot/ardupilot/blob/master/BUILD.md
specifically:
./waf configure --board bebop --static # Bebop or Bebop2
./waf configure --board edge           # emlid edge
./waf configure --board fmuv3          # Pixhawk2/Cube using ChibiOS
./waf configure --board navio2         # emlid navio2
./waf configure --board Pixhawk1       # Pixhawk1
./waf configure --board CubeBlack      # Pixhawk2
./waf configure --board Pixracer       # Pixracer
./waf configure --board skyviper-v2450 # SkyRocket's SkyViper GPS drone using ChibiOS
./waf configure --board sitl           # software-in-the-loop simulator
./waf configure --board sitl --debug   # software-in-the-loop simulator with debug symbols
Cherevatin
@Cherevatin
@farzadsw
Now I tried to compile for pixhawk 1, but it didn't work. The controller does not start with this firmware.
Thanks for the link, but I've already read this. There is nothing about the ArduCopter controller anywhere. I do not know what to do(
image.png
I use this
Andrea Belloni
@anbello
That is an old 8bit controller not compatible with new firmware, you can see compatible controller here https://ardupilot.org/copter/docs/common-autopilots.html
Cherevatin
@Cherevatin
I'm not going to use the new firmware, I just need to add one module to the old code and load it into the controller. Can't I do it?
raspberryfone
@raspberryfone
Does anyone know if Navio2 provides a Python call to obtain the compass bearing? As there are two compasses onboard I would have expected an API call to get the current bearing but cannot find one.
Stephen Dade
@stephendade
@raspberryfone: You can get the raw magnetometer values via the example at https://github.com/emlid/Navio2/blob/master/Python/AccelGyroMag.py. Otherwise you can use ArduPilot and pymavlink to get a bearing.
Iko-Git
@Iko-Git
Hello! I would like to ask if I can use mavwp without QGC, particularly for local navigation! If yes, could you please provide me some guidance. Thanks
heeplr
@heeplr
i'd like to add support for cheap 2-PIN ESCs (H-Bridge drivers as mentioned in issue #7616)
Can anyone think of a better way than introducing "H_BRIDGE_FWD" and "H_BRIDGE_BCK" boolean flags to SRV_Channel Params and then only outputting PWM values > TRIM if H_BRIDGE_FWD is true and values <= TRIM if H_BRIDGE_BCK is true, otherwise 0?
it's the least obstrusive way that comes to my mind but a) it's not really consistent with the "SRV_FUNCTION" way to differ output types (imho) and b) i have very little clue about ardupilot. (just started to read some of the code/docs).
flyr885
@flyr885
Hi! If you send telemetry data from both Mavlink V2 and Mavlink V1 messages, does the ardupilot software give priority to one of the versions?
Afif Humaidi
@afifhumaidi
Hello, is ardusub using pid control for controlling its system?
Willian Galvani
@Williangalvani
yes, mostly the same controllers as the other vehicles
Iko-Git
@Iko-Git
hello! How to control linear velocity with mavros/setpoint_position/local
raspberryfone
@raspberryfone
Hello, trying to get Python code on Raspberry Pi running Ardupilot to connect to Mavlink on the same Raspberry Pi running ArduPilot. I can connect from another PC using connection the_connection = mavutil.mavlink_connection('udp:192.168.178.25:14550') So I know it works. When I try and connect from the same code on the Raspberry Pi with connection string the_connection = mavutil.mavlink_connection('udp:127.0.0.1:14540') it does not connect. The setup of the Ardupilot, I have TELEM1="-A udp:192.168.178.25:14550"
TELEM2="-A udp:127.0.0.1:14540". I am assming this is do-able and it is just me! Any ideas?
Nobody
@norisg
Hello guys, is it dangerous to reload a 14.8 battery even when the voltage display shows 12.77 Volts
buy charger recognises only 3 cells instead of 4
heeplr
@heeplr
is there documentation about how the autotest builds images?
the images i build according to BUILD.md won't boot while the downloaded ones work fine. image_size of my build is ~74kb smaller aswell... :-(
Willian Galvani
@Williangalvani
@norisg check the balance connector of your battery
Iko-Git
@Iko-Git
Hello! could you plz help me in writing cpp code for subscribing and printing the value of /mavros/local_position/pose/position/z topic
Jacqueline Oh
@JacquelineOh3_twitter
Hi, have anyone tested this with VESC on brushless thrusters? May I know which model you bought for your thrusters?
Michael Mak
@wrmichaelmak
Hi I just want to know how can I add a wiki page to the peripherals hardware section of ardupilot documentation?
zuliasro
@zuliasro
Hello guys, please let me know why degrade GPS by 12+ satellites and 0.8 Hdop?
André Kjellstrup
@AndKe
ok, who can confirm the crazy yaw oscillations in SITL ?: https://discuss.ardupilot.org/t/bad-yaw-oscillation-current-master-in-sitl/64288
or better - know when/shy this started