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

Rover 3.1.1 Throttle with Pixracer

$
0
0

@dkemxr wrote:

Has Pixracer been confirmed working with Rover 3.1.1? I cannot seem to get a throttle signal out. It Arms (all checks off) but nothing out (ESC doesn't initialize). Steering (channel 1) functions. Mission Planner shows it's responding from the Rx and if I connect the ESC to chan 1 the motor will run with steering input so I know the hardware is good. Unless the PIxracer itself is faulty but before I dig into that, maybe by loading copter and checking it out, I thought I would ask here. This is not skid steer, just a typical ESC with a steering servo.

Posts: 1

Participants: 1

Read full topic


Configurations of pin as input/output

$
0
0

@Andre wrote:

I need to use 2 the auxiliary pins of Pixhawk as digital output, and 2 as digital input, so I would like to know how configure it.

The parameters I set are:

BRD_PWM_COUNT = 0

RELAY_PIN = 50
RELAY_PIN2 = 51
RELAY_PIN3 = -1
RELAY_PIN4 = -1

BTN_Enable = 1

BTN_PIN1 = -1
BTN_PIN2 = -1
BTN_PIN3 = 52
BTN_PIN4 = 53

BTN_REPORT_SEND = 1

Are correct the parameters I set to configure pins 1 and 2 as output and pins 3 and 4 as input?

Another question: Is it possible to use the 2 digital inputs to stop the rover without changing the firmware?

Mission Planner version: 1.3.44
Firmware version: Rover 3.1.0

Thanks

Posts: 1

Participants: 1

Read full topic

Taking on Water

$
0
0

@ardisd wrote:

Could a sensor be added to a boat that would trigger a return to launch if water is detected in the hull.

Posts: 2

Participants: 2

Read full topic

Increasing Payload for 3DR Solo

$
0
0

@Gren wrote:

Hi. First time here. Before having to look around for another drone, I'm looking firstly to see if the payload beyond 0.80 Kg can be made possible. I'd prefer to keep the Solo (Brand New) but need to deliver a small payload of 2Kg over a distance of 400 Mtr at a height of no more than 80 feet. Anyone out there who can advise please..?

Posts: 2

Participants: 2

Read full topic

SITL for Ardusub

$
0
0

@jakkala_kalvik wrote:

Did anyone try getting SITL to work with ArduSub. I want to simulate an underwater rover I am not sure if I can get SITL with ArduSub working by my self.

Posts: 2

Participants: 2

Read full topic

Autonomous sailboat and path width on long distance course

$
0
0

@Tardis wrote:

I am trying to widen the "path" the boat takes to reach a waypoint). Specifically, i am trying to maximize battery by minimizing rudder usage.
Currently the boat tracks well and stays on path. This requires numerous movements by the rudder per second to stay on path.
Is it possible to widden the path or track between waypoints so that the rudder would be used less.
Example: path is set to 50' wide so that the rudder would only be active when it hits the path border. Other then that the rudder would be in the neutral ( straight) poistion.
I realize that the example above comes with its own set of issues, but i am curious to know if it is possible to set up?
I am thinking this might be achievable by setting the distance around a waypoint to a large number so that the distance circles overlap, but thought i woukd ask here to seenif anyone had an opinion on if it is possible.

Thx

Posts: 1

Participants: 1

Read full topic

4 Maxbot Rangefinder sensors for pixhawk

$
0
0

@jconsole wrote:

i dont understand why a clear diagram is not available to connect 4 Maxbot MB1242 i2c sensors on a rover. or 4 of any type of maxbot rangefinder sensors. its not unusual to connect 1 on each corner of the rover. i have seen the datasheets i have changed the address on a 1 mb1242 from 0x70 to 0x50 but no good.

my goal is to have 4 sensors on the rover so it doesn't bang into anything when using mission planner or qgroundcontrol. Please Help. I would not mind paying for services if it becomes involved, but depending how complicated.

THANKS

Posts: 1

Participants: 1

Read full topic

ArduSub Discuss Forums


How to enable UAVCAN for Zubax GNSS2 with ArduRover?

$
0
0

@JonasM wrote:

Hey everyone,

I have the Zubax GNSS2 Sensor and would like to use it with the ArduRover Software. With the ArduCopter software I was able the get the Sensor data via UAVCAN. Is there a way to also get the data with the ArduRover Software. Has anyone done it yet and know, which are the settings, to actually get the data?

I done the settings as said from the Zubax Tutorial but could not find the BRD_CAN parameter in the ArduRover settings.

Thanks in advance!

Posts: 3

Participants: 2

Read full topic

Pixhawk 2.4.6 and MaxSonar-EZ0 (in front)

$
0
0

@felipeviveiros wrote:

I'm having a problem on my quad I'm using a pixhawk 2.4.6 and a sonar MaxSonar-EZ0, the sonar is IN FRONT OF THE QUAD ...
I would like to know which parameter I change in the pixhawk (using mission planner or similar), when the sonar detects object the quad stops or has another attitude.

The quad had a standard attitude that increased the throttle but after an upgrade he lost this attitude.

I installed the sonar and changed the parameters with the help of the link: http://ardupilot.org/copter/docs/common-rangefinder-maxbotix-analog.html

tanks

Posts: 1

Participants: 1

Read full topic

Mavink Sonar Depth reading

$
0
0

@ardisd wrote:

I have a boat with a sonar that records depth and GPS coordinates to an SD card using an arduino mega. The GPS coordinates are got from the pixhawk flight controller through Mavlink. Could I pass back the depth via mavlink and have it display and be recorded as altitude on the ground control station.

Thanks

David Ardis

Posts: 1

Participants: 1

Read full topic

Bait Boat gps system

$
0
0

@David_J wrote:

Hello everyone. I'm starting a project with baitboat. I have looking for gps for my boat but original gps system for baitboat costs over 500€.
I'm guessing if I use ardupilot 2.6 but without connected outputs for servos will that be working?
I must drive boat by myself only thing what I need is that boat is shown by my smartphone that can I drive more times to same location.
Any suggestions?
Help is greatly appreciated.
Thank's
David

Posts: 4

Participants: 3

Read full topic

PWM for H-bridge DC controllers

$
0
0

@tapsa wrote:

My ardurover project use H-bridges with direction pin. I try read code that is there parameter already to get 0-100% PWM out from motor channel and separated direction pin. I did not find any trace of this kind feature yet.
Any ideas what is right way to implement this kind feature? I am not familiar with APM code so I start think that one possibility is that I just put external arduino to convert servo pwm to proper format. Anyway I use navio2 so another hand I have plenty on cpu power and spare output pins what I can use for getting that directly from board it self.

I put this to feature request category because another hand this can be good feature at main firmware. I think that in rover use there is many cases when 0-100% + direction is needed instead of servo pwm.

Posts: 1

Participants: 1

Read full topic

NAV_SET_YAW_SPEED Question

$
0
0

@hdmathias wrote:

Hi everyone. Today I began experimenting with the new NAV_SET_YAW_SPEED command. After a few tries (and software updates) I got it to work. Well, more or less.

My setup is an onboard companion computer, Pixhawk and Dronekit Python. I can get the rover to move and then stop. After I stop the vehicle by sending a NAV_SET_YAW_SPEED command with velocity of 0, I issue vehicle.close() and the script terminates. So far, so good.

Then if I run the script again, I see an endless stream of the following message:
'>>> NAV_SET_YAW_SPEED not record last 3secs, stopping'

These start as soon as I connect to the vehicle, before any other part of my script runs. It's as if the script is still running from the previous time. The second run will succeed but the above message scrolls the entire time.

So, what am I doing wrong? How do I get the rover to stop expecting the NAV_SET_YAW_SPEED commands so that the script can terminate properly?

Thanks.

Posts: 3

Participants: 2

Read full topic

Auto Mission won't start (solved)

$
0
0

@dkemxr wrote:

I'm trying to run a simple Auto Mission (3 waypoints) and when Auto is selected it doesn't throttle up. The steering moves like it's ready to head for the 1st waypoint but the vehicle doesn't move. I have good manual control of the vehicle and I see no errors in the log so I'm stumped as to why it won't start. I have a lot of experience with Missions with Copter where the mission will start by selecting Auto mode and raising the throttle. I have tried that here to no avail.

Well, as it turns out it was just the throttle chan max range was off. I was sure I calibrated the radio but in any case the vehicle starts now.

Posts: 1

Participants: 1

Read full topic


Momentary CH 7 Switch to Learn a waypoint

$
0
0

@jwcalvert wrote:

My Rover is running quite well with a Pixhawk.
Now I want to add waypoints using the CH 7 switch; setting it up on my TARANIS PLUS radio.

Can someone tell me the specification of the switch operation.
Should it go from 950 microsec to 2200 microsecs?
Or from 1500 to 2200?
Or the inverse of either of these?
Also how long do I hold the switch, 1/2 second , several seconds, etc.???
Thanks

Posts: 2

Participants: 2

Read full topic

GPS issues - Variable location

$
0
0

@LBartels wrote:

Hi everybody!

Recently i've bought a PX4 and everytime i connect it, in the flight data display, my rover is shown as it's running (i even can see a purple line that i guess it's its path) but in fact the PX4 is still in my desk!

Could someone help me with this mistery?

It's the first time a deal with Pixhawk... i've been reading a lot about it lately, but there's always little issues I can't find or fix them myself.

Posts: 4

Participants: 3

Read full topic

Pixhawk Porgramatic Servo Control

$
0
0

@CraigDrones wrote:

Hi All,

I have a raspberry pi communicating over Serial with my Pixhawk on my rover. That works fine. The Pixhawk reads the received serial character and depending on the charecter should output a pwm signal to a Servo.

However the code I am using fails to move the Servos. I know the Servos are functional because I tested them with my arduino uno. I have tried multiple wiring setups including powering and grounding the servos directly to my sabertooths 5v BEC as well as using the 5v rail of the Pixhawk like done here:

I have tried outputting the pwm signal with Hal.rcout to pins 1-14 and 50-61 using code like so:

include <AP_HAL/AP_HAL.h
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
void setup (void)
{
hal.console->println("Starting AP_HAL::RCOutput test");
for (uint8_t i=0; i<14; i++) {
hal.rcout->enable_ch(i);
}
}
static uint16_t pwm = 1500;
static int8_t delta = 1;
void loop (void)
{
uint8_t i;
for (i=0; i<14; i++) {
hal.rcout->write(i, pwm);
pwm += delta;
if (delta > 0 && pwm >= 2000) {
delta = -1;
hal.console->printf("reversing\n");
} else if (delta < 0 && pwm <= 1000) {
delta = 1;
hal.console->printf("reversing\n");
}
}
hal.scheduler->delay(5);
}
AP_HAL_MAIN();

(Note on above code, I had to change the include statement for
formatting, also when I tried the pins 50-75 I just changed the for
loop. I also removed the R pi serial reading to make it more focused on
this topic)

So I have a few questions:

  • How do I know what pin to use for the pixhawk Aux Outs?
    *I had found a diagram showing all the out pins as 50 and up, but the example code uses 1 to 11...

  • I just purchased a 3.3 to 5v level converter form sparkfun for ~2 dollars. Do I need to use this for the servo signal?
    *I didnt think I did...Am I even using the right pins? The above photo shows the servo hooked up to the Aux out pins.

  • I just purchased a 3.3 to 5v level converter form sparkfun for ~2 dollars. Do I need to use this for the servo signal?

I just want to be able to programmatically control my rovers servos with my pixhawk and it is acting much more difficult than my arduino. I really don't want to have to use both the Pixhawk and the arduino :slight_smile:
Any advice would be much appreciated!
Also- I dont have a PPM controller/reciever, only my PWM Turingy 9x so using a controller isn't an option right now.

edit: I cross posted this in the Pixhawk Hardware forum, Mods I'm kinda new if that was bad I apologize

Posts: 1

Participants: 1

Read full topic

PixRacer with ESP8266 WiFi

$
0
0

@dkemxr wrote:

I have a PixRacer on a Rover running 3.1.1 and as with the current stable version (or beta for that matter) of Copter there is an issue with the ESP8266 WiFi radio loading parameters. This has been fixed in the latest Copter Master, does this mean that the latest Rover Master (3.2.0 dev I see) also fixes this issue?

Posts: 1

Participants: 1

Read full topic

Rover not steering in AUTO mode

$
0
0

@amulya123 wrote:

Hello Everyone,
Acutally, I am using mission planner 1.3.44 and I have ArduPilot 2.5. I can steer the rover in the manual mode. When I switch to the AUTO mode it still runs however, it doesn't steer. The AHRS_GPS_USE is enabled.

Is it a GPS problem? my GPS is showing negative altitude which is not normal.
Please reply...
Thanks

Posts: 4

Participants: 2

Read full topic

Viewing all 3855 articles
Browse latest View live


Latest Images