I'm working on a project to simulate swarms of vehicles. Mixed copter and plane using SITL. I've found some related threads like this talking about a couple vehicles, but for this project I want to support N vehicles in simulation where N is greater than 20. I can scale across multiple machines to reach my goal number of vehicles, but would prefer to minimize the complexity by keeping the number of machines required as low as possible.
So does anyone know of another project along these lines? If so any pointers would be appreciated.
Does anyone know what the limiting factor might be for pushing N instances of ardupilot in SITL higher on a single computer?
Origin Pixhawk, Taranis X9D, D16, RX X8R, Connected via SBUS.
Pixhawk configured for Gimbal Tilt as recommended in the Wiki (RC12 instead of RC9) as in the Pic.
In MP Windows "Tuning" the ch6in is moving according to the command on the TX. But ch12out remains at Zero, and the servo does not move. Tested with all Type of Gimbals in the selection of Gimbal configuration.
Another test with the Pass Thru Function shows the same issue. No Output on the Aux Out's.
Hello I am using Pixhawk AC3.3 and two ublox m8n gps (primary and secondary redundancy). I am currently facing two problems with gps. 1) latitude and longitude for both gps mismatch nearly 4 to 5 meters difference in position 2) whenever the SP in EKF4 spikes to 1 or more, gps switch from primary to secondary. But how it happens? when SP spikes to 1 or more??
I've a working simulation in Gazebo using ros default hector_gazebo. I'd like to switch to mavros/arducopter/sitl to prepare real world execution. My goal is to add a kinect to allow 3D perception. But I'm quite confuse of which way to follow. I had give a try to FlytSim and it was easy but part it don't work and they don't update it. It's not open source so we can't correct it. I saw http://diydrones.com/profiles/blogs/705844:BlogPost:2151758 that seems really good but since then people continue to refer to the old wiki http://ardupilot.org/dev/docs/using-rosgazebo-simulator-with-sitl.html but it's an old code I also saw this pull request : https://github.com/ArduPilot/ardupilot/pull/4837 in the main branch. Can someone tell me the best way to begin in the right direction who will be supported by the community ?
I am new to ardupilot and have successfully got the SITL up and running. I am looking for some guidance on commands. I've googled, read the wiki and even looked (briefly) at the source on GitHub without finding answers.
I'm specifically looking for a way to reset the vehicle position having run a simulation. Either to move it back to the position it started from or to a different location either referencing one in locations.txt or using Lat/Lon? Right now I have to stop and restart the simulation which seems a little long winded.
More generally is there a list of commands that can be entered once sim_vehicle has started up (I assume these ar MAVProxy commands)? I've found "module" and "wp" but there must be a lot more.
I have a quick question concerning the CONFIG_HAL_BOARD: I'm using a Pixhawk and have seen that all preprocessor defines (i.e #if CONFIG_HAL_BOARD == HAL_BOARD_PX4) are greyed out.
Shouldn't they be true - as I'm using a Pixhawk? Or is this some error of my IDE (Eclipse Juno)?
Do I have to do some corrections to the CONFIG_HAL_BOARD - define?
Hi guys. we use Copter: 3.4-rc5. We want to control the drone manually. We call manualControl method from ControlApi, but our drone doesn't move at all. We have some questions: 1) Should we configure the drone before sending manual commands to it? We've found enableManualControl method, it returns true, but it doesn't help. 2) What is the meaning of errors in manualControl callback? It returns 'int' value, but for example we don't know what does 3 or 4 value mean. Can you list meaning of all possible errors.
Could someone tell me if there's any moves to get landing gear reactions depends on altitude? This feature was supposed to be in AC 3.3 but there is not. Feature is great but I can't get any information if there's any progress in this case.
while setting up sitl in linux as given on ardupilot site
after running command : sim_vehicle.py --console --map --aircraft test
Failed to load module: No module named adsb. Use 'set moddebug 3' in the MAVProxy console to enable traceback Loaded module console Failed to load module: No module named map. Use 'set moddebug 3' in the MAVProxy console to enable traceback
I beganto build from windows make firmware but notice at the end of build that there are 2 days ago mavlink v2.0 I downloaded and repaced with v1.0 but have error
include "include/mavlink/v2.0/ardupilotmega/mavlink.h"
I also added C:\Users\user\Documents\GitHub\ardupilot\modules\PX4Firmware\mavlink\include\mavlink\v2.0\ardupilotmega and here becouse not sure C:\Users\user\Documents\GitHub\ardupilot\modules\mavlink\include\mavlink\v2.0 but get error that no such file or directory "include/mavlink/v2.0/ardupilotmega/mavlink.h"
I already read the most part of internet docs and manuals of debugging STM32 with eclipse using STLINK or JTAB GDB, or with Qt creator but no information if is it real to debug ardupilot code on real pixhawk with brakepoints etc.
I have seen black magic probe and find on pixhawk contact pads for jtag interface and or stlink interface, I have stm32f4discovery and debug it from eclipse very well, pixhawk have stm32f429 processor so How Can I debug it step by step with break points. After build code in linux with make i have elf and .px4 files but what is next???
Help me pleeeeeeeeeeeeeese from me good bear ) thank you for your advice
Anyone have thoughts on what is the cause and solution to this error message from Pixhawk and Arducopter 3.3.3?
Test: Motor Balance = FAIL - Motor channel averages = [1638, 1543, 1564, 1615, 1593, 1587, 1149] Average motor output = 1526 Difference between min and max motor averages = 489
This flight completed and will upload the bin file. After the flight completed, the Pixhawk will not arm, the HUD displays Disarmed, and not sure what the cause is and then how to resolve.
Thanks for offering to help look into this issue. I've started this new thread as requested. Sorry about the extra posts in the release thread!
As mentioned I'm facing an issue with my aircraft (My Twin Dream) with pixhawk FC with Arduplane 3.7
It usually only occurs in cruise mode and it seems to depend what throttle position I have (or what demanded airspeed I have, since throttle nudge is on) If I change the throttle up and down enough I eventually can get a spot where the throttle and pitch respond as predicted but otherwise the throttle surges up and down very quickly:
It seems to be TECS related as it presents as an oscillation on the pitch and the throttle (height/speed control?).
I have tried re-flashing and re-tuning numerous times both manually and using auto tune as the basis. I have changed all hardware on the plane with the exception of the ESCs and the Pixhawk itself. Maybe I just have something in the tune wrong?
I have also tried adjusting throttle slew (various settings down to 10%) and TECS time constant (up to 7.0) with no difference in terms of the error.
Getting a strange output with failing Test: Motor Balance failing and strange motor count. It's a DJI S900 Hexa frame, and MP 1.3.40 and 1.3.41 are counting 7 and eight motors with Motor Balance = Fail.
vibs seems very good, the only issue i had was that the motors didnt start after arming, only when i throttled up 5-10% so i asume the min throttle is to low? or do i need to clibrate the S1000 escs (is that even possible?)
I am working on setting up a pixhawk in a plane with a rather complex wing setup. Basically I require flaperons on the front wing and elevons on the rear wing. I have modified the code to allow this. Now I would like to add differential to all aileron controls. The only thing I have turned up on this is a blog post from 2011 and one post here, neither one of which mentions flapersons/elevons.
Is there a way to set this up, or do I need to modify the code? I was thinking of adding a ELEVON_DIFF and FLAPERON_DIFF parameter that could be applied as part of the mixing?
Also, one question that still nags are me. What does the IO processor do? It seems like it is designed to handle failsafe conditions where the main processor may have locked up, but where does the output mixing happen? Say the main processor does crash, will I still be able to fly the plane and I have the pixhawk doing all the mixing?
Hello, I use a Pixhawk with Arducopter 3.3 and I want to trigger the camera with mavros. I try with rosservice call /mavros/cmd/trigger_control 1 0 but it answer : success: False result: 3 And nothing in mavros terminal: The link is working as when I call : rosrun mavros mavsafety arm In terminal: Request failed. Check mavros logs And in mavros terminal: [ERROR] [1476375492.460409636]: FCU: PreArm: inconsistent compasses
Is /mavros/cmd/trigger_control supposed to work with ArduCopter or only with PX4 firmware ? How to trigger camera via mavros ? With RC_Override ?