Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all 46014 articles
Browse latest View live

Tracker-4.6.0-beta3 is available for beta testing

$
0
0

Tracker-4.6.0-beta3 has been released and can be installed using MP or QGC’s “Beta firmwares” link. Alternatively it can be downloaded directly from firmware.ardupilot.org

The changes vs -beta2 are in the ReleaseNotes and copied below

  1. Board specfic changes
  • AEROFOX-H7 support
  • AET-H743-Basic support
  • ESP32 memory initialisation fix
  • MicoAir743AIO and MicoAir743v2 support
  • OrqaF405Pro supports ICM42688 IMU
  • TBS Lucid Pro support
  1. Plane related enhancements and bug fixes
  • RC aux channel option for C++ QuikTune
  • TECs uses external HAGL (if available) for landing
  1. DDS/ROS2 pre-arm check and copter takeoff service

  2. Bug Fixes and minor enhancements

  • BATTx_OPTIONS param desc fixed
  • BLHeli telemetry ESC index fixed on boards with IOMCU
  • CAN manager logging critical race condition fixed (only occurred if CAN_LOGLEVEL was 1 or higher)
  • DShot EDTv2 logging fixed
  • ICM45686 IMU FIFO read rate fixed (could read unnecessarily quickly)
  • LDRobot LD06 proximity driver prevents possible read buffer overrun
  • LDRobot LD06 proximity driver averages over 2deg slices (was 12 deg)
  • RunCam/OSD menu movements obey RC channel reversal
  • Topotek camera gimbal pitch rate control direction fixed
  • TradHeli AutoTune rate and accel limiting fixed
  • VTOL-quiktune script gets QUIK_ANGLE_MAX to prevent bad oscillation if tuning algorithm fails

In general 4.6.0 seems quite stable but there is one stubborn issue to do with QuadPlane attitude control that needs to be cleared up before we can promote 4.6.0 to be the stable release.

As always we very much appreciate any help we can get with beta testing so all feedback is very welcome!

2 posts - 1 participant

Read full topic


Introduct from Saloni kumari (GSoC'25)

$
0
0

Hello everyone, I am Saloni Kumari. I’m a student of B-tech(CSE) at Polaris School of technology. I am looking forward to contribute to Ardupilot at GSoC '25. Especially on webtools I have read that and also got my one PR merged but I am little bit confused how to get started and what should I do first and what all things I need to do to understand it in a better way. Kindy share your suggestions and tips. Thankyou!

1 post - 1 participant

Read full topic

How to read IMU Batch Sampler data?

$
0
0

Hi, everyone.

I’m an Ardupilot newbie. I would like to learn more about IMU Batch Sampler. I have developed some vibration analysis tools (MatLab/Octave based scripts) and I would check my own external vibration data against CUAV X7 board internal data.
I need to know how to assembly the vibration data based on ISBD and ISBH data sets.

Can anyone tell me were can I find information about it?

7 posts - 2 participants

Read full topic

Indoor drone PreArm: Need position estimate error

$
0
0

I am in the process of building an indoor drone. For this, I am using a UWB system (Marvelmind Superbeacons). I have set everything up, and the beacons on the drone are working. In Mission Planner, the GPS is also displayed (GPS: 3D Fix). The direction of the drone (Yaw)
is also provided by the beacons. The AltHold mode works as well. However, when I switch to Loiter or Position Hold mode, I get the message “Prearm Need Position Estimate.”

What could be causing this?

Attached are all the parameters.
parameter.param (19.4 KB)

3 posts - 2 participants

Read full topic

Is there a way of displaying User Data on analog OSD through LUA?

$
0
0

Hi,

I am just starting with Lua scripts, and I wonder whether there is a way of displaying some info on OSD screen through some Lua command? I was not able to find an answer.

I am looking for something like print at X,Y, textZ.

For instance, in the following script, instead of sending message to GCS, I would like to display the message on OSD, is there a way of doing it?

In OSD, there is “MESSAGE” field, but I believe it does not reflect the message sent to GCS, or I amm wrong?

function update ()
local roll=ahrs:get_roll()
local rolldeg=math.deg (roll)
local ch12=rc:get_pwm(12)
local ch11=rc:get_pwm(11)

ch12L=0
if (ch12<1400) 
   then
       ch12L=-1
   end
if (ch12>1600) 
   then

       ch12L=1
    end
Pk=0
if (prevch12L~=ch12L)
   then     
      Pk=ch12L
      gcs:send_text(2, Pk)
      local Roll_P= param:get('ATC_RAT_RLL_P')
      Roll_P=Roll_P+Pk*0.01
      gcs:send_text(2, Roll_P) 
      param:set_and_save ('ATC_RAT_RLL_P',Roll_P)                       
    end

prevch12L=ch12L        
 
return update, 10

end

return update()

1 post - 1 participant

Read full topic

RC Calibration with or without limited rate?

$
0
0

Hi!
I know that SERVOn_MIN and SERVOn_MAX are used to set the max travel (mechanical) of each servo. But lets take this example: my plane has full travel on all servos (980us to 2000us) and no problem with that. But for convenient flight, I’ve limited my aileron travel to 60% of full servo travel (lets say, for example, from 1100us to 1800us). Should I do the Radio Calibration procedure with my TX (radiomaster TX16S) configured for full travel (980us to 2000s) or with limited rate (1100us to 1800us)? That was not clear to me in the Ardupilot manual.

5 posts - 3 participants

Read full topic

Rover 4.5.7 Internal Error 0x100000 in Guided

$
0
0

We’re running a Cube Orange+ with 4.5.7 on our skid-steer rover. Everything runs fine in Manual and Acro, but as soon as we switch to Guided mode, this Internal Error 0x100000 shows up and triggers a failsafe. I’ve taken a look at the logs, but I don’t see anything concerning other than the internal error. We tried reverting to firmware 4.4 as well, but saw the same issue. We’ve tried running it without the companion computer connected, no luck. We also tried swapping the Cube out with a brand new Cube Orange+. I have not been able to replicate this problem in SITL.

I’ve searched through the forums, but the only thing I’m seeing related to this error is Copter IMU or Flow Control issues.

Here’s two logs from our 4.5.7 trials: internal_error_logs.zip - Google Drive

Please let me know if there is anything else I can provide, any help is greatly appreciated!

1 post - 1 participant

Read full topic

Dev Call Jan 27, 2025

$
0
0

Vehicle Update

Issues & Pull Requests

1 post - 1 participant

Read full topic


Delay in Motor Initialization and Beep Sequence on My 5-inch Copter (ArduPilot)

$
0
0

Hey everyone, I’ve been working on a 5-inch copter build with the following components:

  • Matek H743 Slim V3
  • SpeedBee ESC BLH32 50A
  • EMAX 2306 Motors
  • ELRS RadioMaster RP4TD
  • iFlight Blitz Mini GPS

After connecting everything together, I followed the usual calibration steps, set up parameters, and finished the hover learning and altitude hold tuning. The only thing left is the auto-tune.

However, I’ve noticed something weird during startup. When the motors beep, motor 1 takes about 15 seconds to beep, and then it takes another 6 seconds for the other motors to beep in sequence. All the motors don’t beep simultaneously like they did in Betaflight.

Also, in Betaflight, the motors beep almost immediately after the battery is connected, while in ArduPilot it takes much longer. Is this normal behavior for ArduPilot, or is there something I need to adjust to speed up the initialization process, especially for the motor arming?

Any help would be appreciated. Thanks!


i have check for hardware before , i connect speedbee F7 that already frameware by beta flight and it intialized directly

5 posts - 2 participants

Read full topic

CUAV x7+ Pro with skydroid H12 Serial port not detected

$
0
0

I have a skydroid H12 controller I am using it with CUAV x7+ Pro flight controller. The Multilink modules UART I have connected too telem port 1 on the CUAV Module. I am using QGS app on the skydroid H12 for configuration, but no serial ports are found in it. I have verified all my wiring Rx-Tx, Tx-Rx and 5V and GND and SBus wires also I have done frequency matching and everything.

2 posts - 2 participants

Read full topic

MR72 CAN obstacals radar

$
0
0

@rishabsingh3003
i have 2 MR72 CAN RADAR planning to install front and back of the drone for obstacle avoidance.
which parameter on the flight controller to modify which is front and which one is back to tell the FC?

1 post - 1 participant

Read full topic

VTOL Quick Tune First Test Shoulder Button Not Triggering

$
0
0

Hello,

I set up my copter for Quick Tune following the Methodic Configurator, but I couldn’t get it to start using the shoulder button on the Herelink. I copied the Lua script to the SD card, set RC7_OPT = 300 after watching Randy Mackay’s video, and made sure all other parameters matched those specified in the configurator. I also set SCR_ENABLE = 1 and rebooted the system. Since I don’t have a three-position switch, I set QUIK_AUTO_SAVE = 10s and QUIK_OPTIONS = 1.

After my first flight, when Quick Tune didn’t activate, I checked whether the button was working properly. In QGroundControl, I could see the button toggling on and off in the Buttons tab, and when I assigned it to flight modes, it successfully changed them. However, it did not trigger the Lua script while flying in Loiter mode.

I downloaded the script from this link

ardupilot/libraries/AP_Scripting/applets/VTOL-quicktune.lua at Copter-4.5 · ArduPilot/ardupilot · GitHub

and looked through the code. I came across the following section related to QUIK_RC_FUNC:

–[[
// @Param: QUIK_RC_FUNC
// @DisplayName: Quicktune RC function
// @Description: RCn_OPTION number to use to control tuning stop/start/save
// @User: Standard
–]]
local QUIK_RC_FUNC = bind_add_param(‘RC_FUNC’, 12, 300)

This confused me—does this mean I should set RC12_OPT = 300 instead of RC7_OPT? Or does the Lua script automatically adjust the RCn_OPT value based on my selection?

If anyone has insights on what I might be missing or how to get this working, I’d really appreciate the help.

Thanks!
ODM

5 posts - 2 participants

Read full topic

Need parameters setup for dual MR72 (CAN version ) for FRONT and Back

$
0
0

Hi I am currently using cuav x7+ hexacopter and I am planned to use two MR72 CAN version module in CAN2 port on x7+ using i2c hub for my drone in front and back as obstacle avoidance sensor so I need parameter setup for that is anyone have the parameters pls share .
Thankyou
@rishabsingh3003

2 posts - 2 participants

Read full topic

Instability and Oscillations During and After Autotune Process

$
0
0

Problem Description:

Initial Hover Oscillation Post-Autotune Completion: After completing the autotune process, the drone remains stable initially. However, once the drone reaches a hover state, oscillations start occurring. I attempt to land the drone manually to prevent further instability.
Oscillation During Subsequent Autotune: On the second attempt at autotuning, the drone starts oscillating during the autotune process itself. The instability is observed immediately after starting the autotune sequence, indicating that something during the tuning process is contributing to the oscillations.


1 post - 1 participant

Read full topic

No esc telemetry Pixpilot V6


Manually setting EKF Origin in Multi Robot Systems

$
0
0

Dear all,

following up on this discussion I’m looking for a way to manually set the EKF origin. The motivation is to have a common origin among multiple vehicles.

Currently, we apply a primitive patch to the EKF3 that prohibits GPS to set the origin and enables changing the origin.

Then, we set the origin manually through MAVROS’ set_gp_origin topic which sends a SET_GPS_GLOBAL_ORIGIN message to ArduPilot.

This works but is a bit hacky since the copter now relies on the external software setting the origin and cannot be used anymore for manual or mission flights.

We would like to contribute a method to the ArduCopter firmware that enables to manually set the origin in a coherent and safe way without breaking existing functionality and safety mechanisms.

Could you please share your thoughts

  • whether you think this is feasible,
  • how ArduCopter would need to be adapted, and
  • which safety considerations to keep in mind.

Thank you for your support!

1 post - 1 participant

Read full topic

DarwinFPV "Cement" Serie tropicalized hardware

$
0
0

Hello,
DarwinFPV released a range of tropicalized hardware (ESC/RX/FC).

I would like to use the F7 Cement FC (MPU6000) for a long range all weather multirotor project, and more of that I think many of us could be interrested by these durable components.

Wil it be possible to make a custom Arducopter firmware for that board?

Thank you,

Julien

2 posts - 2 participants

Read full topic

Servo moves with LUA

$
0
0

Hi! Maybe somebody can help me understand and fix my problem: the idea is to create a script that will do one move forward with servo after every click to rc10 button. Here is my script and it absolutely not work like that: local SERVO_FUNCTION = 94
local MOVE_AMOUNT = 100
local POSITION = 1500 – Середнє положення
local is_moving = false

function update()
local RC10 = rc:get_pwm(10)
if RC10 > 1500 then
is_moving = true
else
is_moving = false
end

if is_moving then
POSITION = POSITION + MOVE_AMOUNT
SRV_Channels:set_output_pwm(SERVO_FUNCTION, POSITION)
end

return update, 20 – reschedules the loop at 50Hz
end

return update()

1 post - 1 participant

Read full topic

Cannot build inside ROS 2 Docker container

$
0
0

I’ll start by saying I’m very new to Docker, ROS 2, and this forum. My bot is working for remote-operated scenarios, and now I am trying to set up autonomous behavior in my bot. I am using a Raspberry Pi 5 running Raspberry Pi OS (64-bit), which is communicating with a Pixhawk1. The RPi5 is connected to QGC mission planner on my PC via Ethernet. Everything in this setup is working. Now for autonomous behavior, I am trying to run ROS 2 Humble on my RPi5. ROS 2 Humble only has Tier 3 support for Raspberry Pi OS. So, I am using a Docker container for installing ROS 2 Humble on the RPi.

This is the issue I am encountering:

According to these docs: ROS 2 — Dev documentation, I have run the following commands so far:

$ git clone GitHub - ArduPilot/ardupilot_dev_docker
$ cd ardupilot_dev_docker/docker
$ docker build -t ardupilot/ardupilot-dev-ros -f Dockerfile_dev-ros .
$ docker run -it --name ardupilot-dds ardupilot/ardupilot-dev-ros

Now this opens the container’s terminal and I have followed the rest of the guidelines as mentioned on the docs, inside the container:

$ pip install -U MAVProxy
$ echo “source /opt/ros/humble/setup.bash” >> ~/.bashrc
$ printenv | grep -i ROS #to check for correct installation
$ echo “export ROS_DOMAIN_ID=7” >> ~/.bashrc

Now, according to the docs, I am setting up the build environment inside the container:

$ git clone --recurse-submodules GitHub - ArduPilot/ardupilot: ArduPlane, ArduCopter, ArduRover, ArduSub source
$ cd ardupilot
Tools/environment_install/install-prereqs-ubuntu.sh -y

Since inside the Docker container, I am logged in as root, I cannot run this particular command to install the necessary dependencies. Therefore, I cannot run ./waf configure --board Pixhawk1 and build my environment for SITL, etc. I know I am using Raspberry Pi OS and the script is meant for Ubuntu. To confirm compatibility, I have tested this particular file on my RPi5 outside container and it runs flawlessly, and I can build and get SITL running easily.

Here is what I tried to do to solve this issue so far:

  1. Tried to manually comment out the sudo requirement from the install-prereqs-ubuntu.sh script:

I commented out:

if [ $EUID == 0 ]; then

echo “Please do not run this script as root; don’t sudo it!”

exit 1

fi

However, if I try to run the script now, it still doesn’t run properly.

  1. Tried to create a new user inside the container and run the file:

I tried to create a new user inside the container and tried to run the file. This runs correctly and I can get SITL running from the new user. However, as I have logged in as a new user, I no longer have any of the directories that were created for root when I first created the image from the Dockerfile.

  1. Tried to edit Dockerfile_dev-ros to include a new user:

At the end of the Dockerfile, I added the following lines:
RUN useradd -u 1001 rosuser && echo “rosuser:password” | chpasswd
RUN usermod -aG sudo rosuser

Now when I build and run the Dockerfile, I get logged in as ‘rosuser’, a non-root user. However, now when I run the install-prereqs-ubuntu.sh script, I get an error about some ‘invalid signature’ and the script does not run. Moreover, the default .bashrc file that is created upon running the container as root is no longer available to me. That was a very lengthy file containing a lot of commands. I cannot see it using sudo cat, or edit it. This new ‘rosuser’ has no .bashrc file.

  1. Tried to use the STM toolchain as the docs suggest:
    Setting up the Build Environment (Linux/Ubuntu) — Dev documentation

I don’t want to do this since I know that the script runs both on Raspberry Pi OS outside the container as well as inside the container when logged in as a non-root user.

However after giving up hope, I tried running the following commands inside the container as suggested by docs (as a root user btw):
$ export PATH=$PATH:$HOME/ardupilot/Tools/autotest
$ export PATH=/usr/lib/ccache:$PATH
$ . ~/.bashrc

$ wget https://firmware.ardupilot.org/Tools/STM32-tools/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi.tar.xz
$ apt update
$ apt install make
$ apt install gawk
The next step according to the docs is to install “libc6-i386”. I tried to install this many times, but terminal always gave the same error that it cannot find this package.

I stopped continuing with this approach once I encountered this issue.

I have no idea how I should proceed. I just want to build inside the Docker container suggested by ArduPilot for ROS 2. Any help would be much appreciated.

1 post - 1 participant

Read full topic

NTRIP Injection with Herelink RC

$
0
0

Hello guys,

I want to connect to my NTRIP caster through QGC installed on my herelink rc but couldn’t find how I can do that. On the mission planner, I was able to connect to my caster successfully. Is there a way to connect my rc to my caster so it can forward RTCM data to my copter?

Best.
ODM

1 post - 1 participant

Read full topic

Viewing all 46014 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>