Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Huldar
@G0rocks
Hi, I'm wondering if I can port the ardupilot software to raspberry pi 3 B. I'm reading this: https://ardupilot.org/dev/docs/porting.html
And I found this about the raspi:
The Raspberry Pi 3 Model B uses a Broadcom BCM2837 SoC with a 1.2 GHz 64-bit quad-core ARM Cortex-A53 processor, with 512 KiB shared L2 cache. The Model A+ and B+ are 1.4 GHz. Found on https://en.wikipedia.org/wiki/Raspberry_Pi#Processor
Can you give me advice on how to proceed? Thanks.
SHRIHARI G
@shariethernet_gitlab
i would like to know how to port ardupilot software to Shakthi C Class Microprocessor( Shakthi C64 Vajra, developed at IIT, Madras, India) . Since its RISC-V iSA based can anyone suggest how to port ardupilot to Shakthi microprocessor
tbilyn
@tbilyn
Hi there, are there any docs on what should be present on board in order to use it as FC with ArduPlane ? The bare minimum. And, the related thing, what is the minimum that should be configured in hwdef file? Can't get my head around that, hwdef for fmuv3 has to much of the staff, if you ask me.
Stephen Dade
@stephendade
@G0rocks: ArduPilot has already been ported to the Raspberry Pi via the NAVIO addon board.
@tbilyn: See https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_HAL_ChibiOS/hwdef/NucleoH743/hwdef.dat for a more minimal example. You'll at least need a telemetry port, RC input, servo output, IMU and barometer.
tbilyn
@tbilyn
@stephendade thanks a lot. Do you know, if all i want to do is just to compile, upload to the board and test that it is there and working, no flying. Do I still need telemetry RC input output and so on?
Huldar
@G0rocks
@stephendade Right but I was wondering if I could use port ardupilot to my raspberry pi without the NAVIO addon board. Thanks.
Stephen Dade
@stephendade
@tbilyn: If you just want to check the compile and upload works, sure.
@G0rocks: The NAVIO is essentially a sensor and servo output HAT for the Pi. ArduPilot runs on the Pi itself. I'd suggest looking at the NAVIO build and going from there.
Jean-Marie Prigent
@macfly1202
Hi, is there LUA scripting supported on Matek F405-wing ? I use Arduplane 4.1 dev and I can't find SCR_ENABLE parameter. I suppose there is constraint ressource on F405. And What about the Matek H743-Wing or at minima Matek F765-Wing : have they LUA scripting supported ? thanks for anwser. KR
Huldar
@G0rocks
Okay, I will, thank you @stephendade
tbilyn
@tbilyn
Guys, what is that storage for params in arduilot? I am building my board with stm32 F407ZGT6, i haven't added any eeprom, and my mcu seems to have none as well. But i have a feeling that eeprom is not needed for that storage thing, does it uses flash somehow? I have loaded my bootloader and ardupilot firmaware but getting error in serial "Unable to init Storage backend"
Stephen Dade
@stephendade
@tbilyn: You'll need to allocate some of the MCU's flash memory for storage. KakauteF7 mini is a good example: https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat#L117
tbilyn
@tbilyn
@stephendade thanks
heeplr
@heeplr
Is it possible to use main outputs as GPIO for relays? i'm using fmuv3 and iomcu/hwdef.dat defines GPIO(101..108), but they don't seem to map to any output.
Jean-Marie Prigent
@macfly1202
congrats Ardupilot dev'team Ardupilot win a comparison from Inav developper Pawel Spychalski. https://youtu.be/QbkSZ9sevKQ
Nikhil Sethi
@nikhil-sethi
Hey everyone. Sorry for the noob question. I'm new here. I want to port the firmware to a flight controller with STM32F303CC mcu. The flash size is 256kb but I dont need a lot of features. The hwdef/scripts folder at the repo has a script for this mcu but the discussion here and the official site says 1mb is the minimum requirement. It seems a while back @dannym08 was trying to do the same. I don't know if he succeeded though.
Is it possible? if yes, what are the features (like blending and dual gps) that I will have to sacrifice on(specifically for this mcu)? I can't change the board unfortunately.
Andrew Tridgell
@tridge
@nikhil-sethi we can use the f303 for peripherals, but not for main flight control firmware, it won't fit
just a reminder that the primary interactive discussion channels for ArduPilot is now on discord https://ardupilot.org/discord
Nikhil Sethi
@nikhil-sethi
@tridge Okay. That makes sense.
Thanks for the update, I'll join over there. Thank You!
tbilyn
@tbilyn
Guys, is it possible to run ardupilot without inertial sensor? Not planing to fly, just playing with hardware for now, but it seems there is hardcoded dependency on such sensor, or i am missing something? Maybe there is a code somewhere for a dummy ins sensor?
Jaaaky
@Jaaaky
Hi @tridge How can one make use of CH_DBG_ENABLE_STACK_CHECK ?
There is something wrong with master with Pixhawk1 that causes IMU resets and trigger imu_reset error. I'm trying to reproduce it as it occurs in some odd case. Have anyone noticed something related to this?
Jaaaky
@Jaaaky
@tridge It's related to IMU fast sampling. for some reason t2 in driver is corrupted or overflowed
I've done some patch to reproduce it. I could not regularly reproduce it using vanilla master code. I can share the patch if you're interested.
Jaaaky
@Jaaaky
One more thing, I found the max_time_micros for most of ArduPlane tasks are unreasonable low, one gets a flood of overruns when setting SCHED_DEBUG=3
maverickboy2020
@maverickboy2020
is there anybody who can help me with device drivers for antenna on package mm wave radar
device drivers
Andrew Tridgell
@tridge
Best to ask on discord, we'd need information on how it is connected and controlled
climr
@climr
@tridge Can you check the clock configuration for a 16Mhz oscillator on a STM32F103 IOMCU? I get errors when building the io firmware specifying 16Mhz, and the values here don't seem to make sense (albeit STM32 clock config is new to me as of 10 minutes ago) . e.g. STM32_PLLSRC = STM32_PLLSRC_PREDIV1? That doesn't seem right... TIA!! https://github.com/ArduPilot/ardupilot/blob/393ec5d6f79105eaf3a09968cda7b1bf966298a5/libraries/AP_HAL_ChibiOS/hwdef/common/stm32f1_mcuconf.h#L47
Thor Magne Økland
@menignulle
Hi, new guy here. Short question, has anybody gotten the Mamba F405 mk2 to work properly ? They seem to suffer massive gyro/accel drift, at startup the ground speed keeps increasing and the horizon keeps tilting until it's upside down. 2x boards, same issue, both ok in BF. Am I missing something ? (Boards are usb connected on my desk, not in drone yet).
Thor Magne Økland
@menignulle
@menignulle Seems like issue is only in copter firmware, not plane.
dezertefer
@dezertefer
Hello guys. I’m looking for some info about usb configuration and firmware difference between regular pixhawk boards and “matek” like FCs. I am able to flash any microcontroller via DFU or st-link and it seems to be working. Because when I plug it in PC I have two notifications one of them is for boot loader second is for firmware itself. But nothing is working/connecting. I’m trying to add PX4io support for “matek” like pcb. So overall problem is that matek is flashed with firmware for pixhawk2.4 and I can’t figure out why it doesn’t connect with USB. Schematic seems to be correct, they both use PA pins in hwdef files.
maverickboy2020
@maverickboy2020
@maverickboy2020
How to send distance data from mm wave radar from companion computer to Flight controller over mavlink
any help
shaun paul
@shaun121_gitlab
You guys have shared an amazing and wonderful post and the blog is pretty much knowledgeable and informative as well. https://ooffiice-setup.com
djmads08
@djmads08
Hey all, new to the community but trying to do an ArduPilot build on Windows OS. I have gone via the Cygwin64 route, but get the following errors when trying to update the sub modules as per the tutorial. alt any support would be great!
Here is the attached image: alt
Stephen Dade
@stephendade
@djmads08: Appears to show an error connecting to github, likely an Internet connection issue.
djmads08
@djmads08
Problem is, I am connected fine and can clone any projects @stephendade
WSTTECH
@WSTTECH1_twitter
Learn here how to download, install, and activate your Office setup on your computer and other devices.
In order to download and install. You need a 25-digit product key for activation. For more office information visit our website
https://office-comm-setup.com
https://office-setup-com.us
https://office-product-activate.com
https://msofficesquad.com
https://office-settup.com
hemmert
@hemmert
Hi, new guy here. Short question, has anybody gotten the Mamba F405 mk2 to work properly ? They seem to suffer massive gyro/accel drift, at startup the ground speed keeps increasing and the horizon keeps tilting until it's upside down. 2x boards, same issue, both ok in BF. Am I missing something ? (Boards are usb connected on my desk, not in drone yet).
Abner0907
@Abner0907
hello, I am going to use a openmv module for precision landing, I am very appreciate somebody can give a any advise or notes here. many thanks.
David Jack
@DavidJa63422877_twitter
Thanks for sharing. visit now : https://macoptimizerpro.com/
nostromo123
@nostromo123
new here, just looking
richard zhang
@richard65141034_twitter
Hi ! @tridge Can I ask a question ? I am try to work on ardupilots source code compile on pixhawk v6u boards(The gumtix's opensource borad with raspberry CM4). I found a familiar error which you may solved 4 years early. The MCU of the board is STM32H753(743)IIT with PWM output pins are PI0, PH12, PH11, PH10, PD13, PD14, PH6, PH9. The fromer 4 pins(PI0, PH12, PH11, PH10) are TIM5's 4 channels. The compile error massage are "modules/ChibiOS/os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.h:214:2: error: #error "ST requires TIM5 but the timer is already used" ".
I see you had worked out a new source branch which support 16bit timer ? Is that the solution ?
richard zhang
@richard65141034_twitter
Can we join discord ?
ilya-88
@ilya-88
hello, tell me the current consumption on the processor stm32f765, f / c f765-wing, I have 300 milliamps, it gets very hot, it burns my hand, but it works
Sérgio Vinha
@VinhA2018

Hello everyone, I'm trying to compile some code to my pixhawk 4 but I got an error :

./../libraries/AP_L1_Control/AP_L1_Control.cpp: In member function 'virtual void AP_L1_Control::update_waypoint(const Location&, const Location&, float)':
../../libraries/AP_HAL/AP_HAL_Macros.h:36:41: error: 'DO_NOT_USE_DOUBLE_MATHS' was not declared in this scope

define sqrt(x) DO_NOT_USE_DOUBLE_MATHS()

../../libraries/AP_L1_Control/AP_L1_Control.cpp:546:20: note: in expansion of macro 'sqrt'
_L1_dist = sqrt(sq(_L_dist)+sq(_crosstrack_error));

I cannot use the sqrt function in the board? I build for SITL and it works...