Quantcast
Channel: ArduRover - ArduPilot Discourse
Viewing all 3862 articles
Browse latest View live

ArduRover 4.5.2 Can not find parameters GPS_MB1_OFS_X, GPS_MB1_OFS_Y, GPS_MB1_OFS_Z

$
0
0

I am using ArduRover 4.5.2. I am trying to set up gps for yaw using dual antenna CUAV C-RTK2HP. I need to set the location of the antenna but I can not find parameters

GPS_MB1_OFS_X, GPS_MB1_OFS_Y, GPS_MB1_OFS

Have these parameters been removed in this version. If so how I set the location effectively. If not, how can I find them. Thanks

1 post - 1 participant

Read full topic


I need a flight controler that can do waypoint missions on a boat for cheap will a speedybee f405 wing be able to do that?

$
0
0

Im building an autonomous boat and need suggestions for a good flight controler for cheap and was wondering if the SpeedyBee f405wing can do autonomous missions?

7 posts - 4 participants

Read full topic

tank, tank control, tracked vehicles

$
0
0

Hi all
I really need help setting up pixhawk 6c.
I tried setting the throttle and many other ways (maybe I just made a mistake somewhere))).

Please tell me how to configure pixhawk 6c for tank control. I use SIYI mk15 equipment if it is important. ESC 150A-SL.
no matter what type other than RCIN it always doesn’t turn and also constantly gives the error “no motor, sail or scripting outputs define”

please help me fix my all-terrain vehicle

3 posts - 3 participants

Read full topic

How to set RC switch to control forward or backward

$
0
0

Hi

Right now I can control my Rover forward and backward.

And I fly copter with the same RC controller. So I want to use the throttle the same way as copter does.

Is there any way to set a RC switch properly?
a) switch off (default), throttle up from the bottom, speed up and move forward
b) switch on, throttle up from the bottom, speed up and move backward

Any idea?

1 post - 1 participant

Read full topic

How can I add a mini sonar sensor to my ArduRover firmware?

$
0
0

hello!
Based on Ardurover firmware,
I am building and testing a USV myself.

Due to funding issues, USVs are being manufactured using cheap parts.

Due to the need for underwater sonar sensors,
I purchased a UART-based sonar sensor from AliExpress and am trying to connect it, but it doesn’t work as I want.

It would be great if you could share the method.

I would like to measure the water depth using the sensor I purchased and check it in GCS.

If this sensor is compatible, you will be able to test the sonar function for a small amount of money in the future.

What direction should we move forward?

Below is information on the sonar sensor I purchased.

https://www.aliexpress.com/item/1005005250918774.html?spm=a2g0o.order_list.order_list_main.44.2601140flTWNhl&gatewayAdapt=glo2kor




6 posts - 4 participants

Read full topic

Rover 4.5.2 encoder GPIO interrupt quota increase causing crash dump, any idea?

$
0
0

In order to handle 1024 wire motor encoder, i increased quota from 10000 to 60000.

diff --git a/libraries/AP_HAL_ChibiOS/GPIO.cpp b/libraries/AP_HAL_ChibiOS/GPIO.cpp
index f62bd73c27..55c7dd7c55 100644
--- a/libraries/AP_HAL_ChibiOS/GPIO.cpp
+++ b/libraries/AP_HAL_ChibiOS/GPIO.cpp
@@ -601,7 +601,7 @@ void GPIO::timer_tick()
     // allow 100k interrupts/second max for GPIO interrupt sources, which is
     // 10k per 100ms call to timer_tick()
 #if HAVE_GPIO_PINS
-    const uint16_t quota = 10000U;
+    const uint16_t quota = 60000U;
     for (uint8_t i=0; i<ARRAY_SIZE(_gpio_tab); i++) {
         if (_gpio_tab[i].isr_quota != 1) {
             // Reset quota for next tick

With one encoder active, it seems good. But when two encoder were active, it crashed when motor spins.

24/5/23 20:54:28 :  FICSR4290563 MM0 MC0 IE32768 IEC14 TN:moni
24/5/23 20:54:28 : WDG: T2 SL0 FL217 FT3 FA3001BBE8 FTP183 FLR2000007
24/5/23 20:54:18 :  FICSR4290563 MM0 MC0 IE32768 IEC14 TN:moni
24/5/23 20:54:18 : WDG: T2 SL0 FL217 FT3 FA3001BBE8 FTP183 FLR2000007
24/5/23 20:54:10 : CrashDump data detected
24/5/23 20:54:10 : PreArm: Internal errors 0x800 l:279 watchdog_rst
24/5/23 20:54:08 :  FICSR4290563 MM0 MC0 IE32768 IEC14 TN:moni
24/5/23 20:54:08 : WDG: T2 SL0 FL217 FT3 FA3001BBE8 FTP183 FLR2000007
24/5/23 20:53:58 :  FICSR4290563 MM0 MC0 IE32768 IEC14 TN:moni
24/5/23 20:53:58 : WDG: T2 SL0 FL217 FT3 FA3001BBE8 FTP183 FLR2000007
24/5/23 20:53:48 :  FICSR4290563 MM0 MC0 IE32768 IEC14 TN:moni
24/5/23 20:53:48 : WDG: T2 SL0 FL217 FT3 FA3001BBE8 FTP183 FLR2000007
24/5/23 20:53:47 : RCOut: PWM:1-2 PWM:7-12 NeoP:13
24/5/23 20:53:47 : Aocoda-RC-H743Dual 0036002A 3031510A 39373436
24/5/23 20:53:47 : ChibiOS: 6a85082c
24/5/23 20:53:47 : ArduRover V4.5.2 (5d9c84ca)
24/5/23 20:53:47 : RCOut: PWM:1-2 PWM:7-12 NeoP:13
24/5/23 20:53:47 : Aocoda-RC-H743Dual 0036002A 3031510A 39373436
24/5/23 20:53:47 : ChibiOS: 6a85082c
24/5/23 20:53:47 : ArduRover V4.5.2 (5d9c84ca)
24/5/23 20:53:46 : RCOut: PWM:1-2 PWM:7-12 NeoP:13
24/5/23 20:53:46 : Aocoda-RC-H743Dual 0036002A 3031510A 39373436
24/5/23 20:53:46 : ChibiOS: 6a85082c
24/5/23 20:53:46 : ArduRover V4.5.2 (5d9c84ca)

Is there any way to fix it?

1 post - 1 participant

Read full topic

SILT with Gazebo for Rover

$
0
0

Hello everyone,
I am trying to use the SITL to simulate a Rover, and I would like to link GAZEBO to the simulation. My SITL works well but the link between gazebo and the simulation is not made… I don’t know how to do.

I do these two commands in parallel :

For SITL

sim_vehicle.py -v Rover -f rover-skid --map --console

For GAZEBO

gz sim -v4 -r ackermann_steering.sdf

I don’t know how to link a rover models to the simulation :confused:

If someone has any idea, please help me :slight_smile:

THANK YOU !!

1 post - 1 participant

Read full topic

Motor Refuse to Spin while Testing - What to do?

$
0
0

Hi there currently I am working on a simple skid steer rover using Ardupilot 4.5 but I keep running into the issue of my motors refusing to work within the program itself.

I have been able to make the motors/wheels spin in Basicmicro Motion Studio which is the software used by my motorcontroller of choice a RoboClaw 2x15A controller but when I transition back to MissionPlanner I keep receiving the error “Command was denied by autopilot” while in the Motor Test portion of the Setup window. I’ve looked up my problem and changed around some configs to enable that no safety anything is holding me back.

My controller also works fine while in the calibration window but under Servo Output the values refuse to change no matter how much I push the controls.

I’m at a complete loss at the moment.

1 post - 1 participant

Read full topic


Building a ground gps station with here 3

$
0
0

Hello

I wanted to know if it is possible to introduce a here 3 that I connect to Arduino with a can to spi converter as a ground station to the mission planner and send the corrections to my rover? Does anyone have experience with this?
Unfortunately, I don’t have access to the ground station module here base, but I have two and here 3.

1 post - 1 participant

Read full topic

Rover EKF Failsafe Action Issue

$
0
0

Hi all,

When my rover is running in auto mode, the EKF label turns red and the rover continues to wander around and even crash. I think it should change to Hold mode, but not. Can you tell me why it doesn’t hold?
Bellow is my parameter.

Thanks


3 posts - 2 participants

Read full topic

Mower throttle Servo - how to build with manual over-ride

$
0
0

Hi, apols if answered elsewhere - im looking for pointers or suggestions.
How to connect servo to control a pull cable mower throttle.
I can build up the servo mount with no issues, but i’d like it to be “manually overridden” if need be, eg we can overpower the servo to shut or down (or up)
Im about to purchase a water proof servo for this task - any wisdom gladly received.
I can link in to the carb body, but assuming controlling the cable/lever is the way to go.
My throttle is similar to the one in the pic. Thanks
image

1 post - 1 participant

Read full topic

Cube orange with simplertk2b-heading

$
0
0

There are already many topics that deal with this. And yet I have not yet been able to get it to work.
I am currently working on a rover project. It has 4 rigid wheels which are individually driven by a motor (skid steering).
As hardware I use a Cube Orange and 3 ardusimple simpleRTKB budget boards.
I use one board as a base station. This transmits the corrections via XBee to a second board on the rover (GPS1; moving base). The third board is also on the rover (GPS2; rover).
My goal is GPS_YAW. Unfortunately, I could not create a configuration that worked for me.
I have used the following instructions as a guide. (Post 38)

Here the current status:

  • RTK-FIX LED flashes on all 3 boards.
  • GPS-XBee LED flashes on the base station
  • Xbee-GPS flashes on the moving base



Maybe someone can see from the parameter file what the problem is and help me with it?
According to my research, the value 65535 means that GPS_YAW works, but does not output a meaningful value.
The distance between my two antennas is 60cm.
GPS_YAW.param (15.5 KB)

3 posts - 2 participants

Read full topic

Battery voltage showing 0.00V PH4-mini

$
0
0

Hello, I am using a Pixhawk 4 mini with the Holybro PM06 V2 power module:
https://holybro.com/products/micro-power-module-pm06-v2

ArduRover version: 4.5.2
I have connected the power module to the pixhawk 4 mini using the (6-pin i believe) cable.
Using a 3s (11.1V) 4000 mAh lipo battery.
In setup I am following the instructions provided with the power module, that says to do folowing:

  1. Set “Monitor” to: “Analog Voltage and Current”
  2. Set “Sensor” to: “9: Holybro Pixhawk PM”
  3. Set “HW Ver” to: “4: The Cube or Pixhwak” (which suppodedly includes the Pixhawk 4 Mini?)"

When I do this the little “Measured Battery Voltage” thing still says 0, and if I dis- and re-connect to the pixhawk (wired mavlink connection) it gives me two errors (see pictures) and some of the settings I made are gone (see other picture).

I am not super expreienced with this entire pixhawk-ardupilot-missionplanner but I have some experience at least.

AFTER RECONNECT:

ERRORS:
unnamed
unnamed

Thanks in advance!

1 post - 1 participant

Read full topic

Rear Differential - Brake

$
0
0

Hello everyone!
I need some help.
I’m using an orange Pixhawk cube on my rover, and I can’t find a function :
When I want to brake, I lower the joystick, but the motors go into reverse. I’d like to have a time between the two, braking and then a second press down to brake?
Thank you for your help.
Ben

1 post - 1 participant

Read full topic

Channel mixing in mission planner

$
0
0

I’m currently building a fishing bait boat which has a Flysky FS-I6X, Flysky iA10B receiver, Dragonfly Pro 5 sonar, ESP8266, & Pixhawk

I’ve figured out how to get all 10 channels to show up in mission planner using S-BUS (Flysky iA10B has both analog 8ch and digital 10ch S-BUS) using pwm (ppm doesn’t show/work in mission planner for some reason).

However, I have certain channels mixed on the handset. I can’t figure out how to do the channel mixing in mission planner.

The handset and boat are set up as follows:

Ch5 operates the left hopper servo on a toggle switch (SWA) with the end point set to 10%.

Ch10 operates the right hopper servo on another toggle switch (SWD), the end point is also set to 10%.

Ch5 is mixed with Ch9 which operates a relay to change the power source to the leds from constant supply to a flasher unit so the leds flash when the hopper is dropped.

Ch10 is also mixed with Ch9 to do the same as above.

Ch5/Ch9 mix is set up as follows:
Master: Ch5
Slave: Ch9
100% Positive mix
0% Negative mix
+50% Offset

Ch10/Ch9 mix is as follows:
Master: Ch10
Slave: Ch9
100% Positive mix
100% Negative mix
0% Offset

I’d like to be able to do this within mission planner. I’ve looked online and it looks extremely complicated, confusing and convoluted to set up.

If someone can explain in simple terms how its done it’d be a huge help.

1 post - 1 participant

Read full topic


ICEngine functionality in Rover-4.5.0

$
0
0

Hi all.

I have been looking at the ICE functionality for some time now but I have come to terms with the idea that there is just not enough support for its inclusion in Rover (see previous topic for Rover 4.3).

Recently, while going through the Rover 4.5.0 release post I was happy to notice the following entries:

  • ICE option to enable/disable starting while disarmed
  • ICE support for starter via relay

That said, I still cannot find the ICE_ENABLE (or any other ICE_ related) parameter in my Rover 4.5.2 on Pixhawk Cube Orange.

What am I missing here? Thanks in advance for any answers.

2 posts - 2 participants

Read full topic

GPS Yaw problem under Rover 4.5

$
0
0

Hello community members:

I have been using GPS yaw with Rover version 4.4.0 without problems; but the same set up and same parameter set doesn’t work in version 4.5. The GPS Yaw worked fine after I downgraded the firmware to the 4.4.0 release version.
Here is my setup: Matek H743 flight controller plus two Ublox F9P evaluation boards. The F9Ps are connected via UART (Serial 3 and 4) to the flight controller. I send RTCM message to the flight controller via telemetry.
Under Rover version 4.4, both modules get to RTK fixed and I receive the correct heading.
Under Rover version 4.5, however, GPS1 stays 3D lock while the GPS2 only gets to RTK floating. The RTCM led of one of the F9P modules doesn’t blink, which means it is not getting RTCM message. I have checked all the key GPS Yaw parameters and they are set according to the ardurover documentation. I have attached the parameter file below for reference.
2024-05-27 v4.4.0 GPS Yaw is working.param (18.8 KB)
Has anyone experienced similar problem? Could you please point me to the right direction?

Separately, I have a question regarding the GPS_DRV_OPTION parameter. I can only make the GPS Yaw work with GPS_DRV_OPTION = 0 under Rover version 4.4. If I set it to 1, the ardupilot message says the GPS modules were detected at 230,400 baud rate rather than the 460,800 defined by SERIAL3_BAUD and SERIAL4_BAUD, where the F9Ps are connected to. The GPS_DRV_OPTION = 1 setting hasn’t been working a few Rover release versions back.
Could you please help?

Thank you!

1 post - 1 participant

Read full topic

Rover-4.5.3 released!

$
0
0

Rover-4.5.3 has been released as the stable/official version for rovers and boats and can be installed using Mission Planner, QGC or downloaded directly from firmware.ardupilot.org.

The changes vs 4.5.2 can be seen in the ReleaseNotes and they’re also copied below.

  1. Board specific enhancements and bug fixes
  • correct default GPS port on MambaH743v4
  • added SDMODELV2
  • added iFlight Blitz H7 Pro
  • added BLITZ Wing H743
  • added highres IMU sampling on Pixhawk6X
  1. System level minor enhancements and bug fixes
  • fixed rare crash bug in lua scripting on script fault handling
  • fixed Neopixel pulse proportions to work with more LED variants
  • fixed timeout in lua rangefinder drivers
  • workaround hardware issue in IST8310 compass
  • allow FIFO rate logging for highres IMU sampling
  1. Rover specific changes
  • correct clamping of RTL_SPEED for fractional speed values

The most important fix is the Lua script related item bolded above. It is very rare but in some unfortunate cases, if the lua script stopped it could cause the main C++ code to fail as well.

Thanks to the developers and beta testers who contributed to this release!

2 posts - 1 participant

Read full topic

Button on auxiliary output

$
0
0

Hi!
Desired: install a button to start auto mission, and another to RTL on top of a rover.

At this moment we have tested:


(chosen arm/disarm function for last test)
The aux out used for testing is the aux out 1, in a pixhawk cube (black)
then, we tested shorting negative and Signal pins, but nothing happened.
image

Also tried configuring another signal output (main out 2) to provide a PWM value of 2000, and shorted it to the AUX 1 signal, setting the param BTN_options1 to 1 (PWM input), but also, didnt work.

Pretty sure i am doing smthing wrong, will be happy to admit my guilt!
20240528_Aion.param (16.0 KB)

1 post - 1 participant

Read full topic

CAN Bus and UAVCAN

$
0
0

I’m trying to control a small electric caterpillar with Ardupilot. The electric motors work with CAN Bus but I don’t have any information about the manufacturer. I have managed to sniff out the information on the CAN Bus that currently drives these electric motors. I assume it will use some common standard in the automotive industry.

I had planned to use an Arduino Nano as an interface with the motors’ CAN Bus and connect it with two PWM inputs to the controller. But now I wonder if maybe this CAN Bus can be integrated directly into the Ardupilot controller.

Is the automotive CAN Bus physically compatible with UAVCAN?
If so, is it possible to make the driver with LUA? At this moment I don’t care about the telemetry that the motors can provide, just sending movement orders.

1 post - 1 participant

Read full topic

Viewing all 3862 articles
Browse latest View live


Latest Images