Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Mark Whitehorn
@kd0aij
👍
Lucas De Marchi
@lucasdemarchi
@jberaud @rmackay9 I'm trying to revive the support for bebop 1 on ardupilot (because I don't want to risk my disco for some changes on Skycontroller 2). RC is working for bebop now. I also "fixed" the issue of having to statically build arducopter: I can now use libiio and other libs - I'm bundling them.
@jberaud @rmackay9 after checking https://ardupilot.org/dev/docs/building-for-bebop-on-linux.html it seems it's a bit outdated... and after the step "Upload the update file bebopdrone_update.plf", the original flight stack started to flip on takeoff and gps is failing (not sure if it wasn't failing before). With arducopter, trying a " bench takeoff " (i.e. holding it with my hands) it seems the drone would equally flip
@jberaud @rmackay9 any idea what would cause that? motor order appears to be correct and with the right direction (it's harder to check since bebop doesn't support turning one motor at a time)
Ben
@bendespain
Anyone know how to set servos using MavProxy?
I've got sequence of servo actions I'd like to perform just via command line before I test them on a waypoint mission
RickReeser
@RickReeser
servo set x yyyy, where x is the servo number and yyyy is pwm value
Ben
@bendespain

ah, yes, thanks, I guess I had a hardware issue. Thanks!
This worked for me:

mavproxy --master com7
servo set 9 2200

FergalLonerganKUL
@FergalLonerganKUL
@RickReeser is there a similar command for MavROS?
Sena Ayvacı
@GSPNFM
Hello, I just started making quadcopter. I am using Pixhawk card and I want to load code into it. On which platform should I do this? I will be happy if you inform me.
Harshit Kumar Sankhla
@harshitsankhla
hi, any suggestions on the best combination of setting up a development and simulation/test environment on mac OS X - i think the build environment setup given on the dev page is fine, any other combination based on experience ? Also not using vagrant
Julien BERAUD
@jberaud
@lucasdemarchi Hi. The "building for bebop on linux" should now be totally rewritten. I should mostly match what's for the bebop2, but I'll need to get back to my bebop1 hardware. The flip problem could come from the differences in motor orders between bebop1 and bebop2 if some things have been inverted...
Paul
@PRIMETSS
image.png
Anyone know why SR3 (is this usb port?) seems to reset back to 2Hz after saving para, then re-opening MissionPlanner. Other SR#'s stay as set.
Anyone know what SR#'s relate to for PIXHawk4? Cant find a list anywhere
Lucas De Marchi
@lucasdemarchi
@jberaud thanks. I will double check the ordering, but on a first check it appears to be correct. Note that it flipped with the original flight stack... So I think if it may not be possible that the .plf update changed the bldc firmware
Prasheel.S.Renkuntla
@PrasheelSR_twitter
Hello all, I am a novice in Dronekit. I have learnt the arducopter very well but I want to work on a fixed wing plane. When I run the following commands,
dronekit-sitl plane (terminal 1)
mavproxy.py --master tcp:127.0.0.1:5760 --out 127.0.0:14550 --out 127.0.0.1:14551 --map --console(terminal 2)
I get this message in terminal 2 -" no link
link 1 down
no link"
Will be happy if anybody is able to help me
alexx295
@alexx295
Hi, i'm new in this but, I borrowed from a friend a drone that have ardupilot 2.5 (my friend can't help me because he doesn't know to code) and i want to make an university licence and i need to know everything i do at this drone, how it works, mathematics, from where i should start? Any turoriat to learn and be able to understand it good.
Mark Whitehorn
@kd0aij
@alexx295 This is the place to start: https://ardupilot.org/dev/index.html
alexx295
@alexx295
@kd0aij Thanks
Harshit Kumar Sankhla
@harshitsankhla
has anyone tested the SITL sim_vehicle.py with python3 and OS X
i get the error - /ArduPilot/modules/waf/waflib/Task.py", line 338, in process ….. ImportError: No module named future
i run sim_vehicle with python3 and future is installed
Jaaaky
@Jaaaky
Does mavproxy have MAV_CMD_FIXED_MAG_CAL_YAW implemented as command? Which GCS has this implemented if any?
Andy Piper
@andyp1per
@tridge any chance ArduPilot/ardupilot#13169 can be merged?
Gautham P Krishnan
@gauthampkrishnan
Hello everyone I am new to this channel :) I need to contribute to the Ardupilot repo
Lucas De Marchi
@lucasdemarchi
@harshitsankhla you need python3-future
Jaaaky
@Jaaaky
@gauthampkrishnan Read as much as possible on ardupilot dev wiki first, read contributing guide, fork, clone, try to understand code structure, review the code of vehicle and some random libs, create new branch, have an idea try to apply it, follow the same coding style - try to mimic how such thing is done on other parts of code, test on SITL and real boards, commit, git push your changes to your fork, send a link here about your changes and idea behind them, if interesting, send a pull request. Be patient :)
Also learncpp and a bit of python too is not bad.
Harshit Kumar Sankhla
@harshitsankhla
@lucasdemarchi future is installed for python3, I think the problem is different, when I run the script it detects my python2 version
by script I mean sim_vehicle.py
Harshit Kumar Sankhla
@harshitsankhla
SIM_VEHICLE: Start
SIM_VEHICLE: Killing tasks
SIM_VEHICLE: Starting up at SITL location
SIM_VEHICLE: WAF build
SIM_VEHICLE: Configure waf
SIM_VEHICLE: "/Users/harshit/git/ArduPilot/modules/waf/waf-light" "configure" "--board" "sitl"
Setting top to : /Users/harshit/git/ArduPilot
Setting out to : /Users/harshit/git/ArduPilot/build
Autoconfiguration : enabled
Setting board to : sitl
Using toolchain : native
Checking for 'g++' (C++ compiler) : not found
Checking for 'clang++' (C++ compiler) : /usr/bin/clang++
Checking for 'gcc' (C compiler) : not found
Checking for 'clang' (C compiler) : /usr/bin/clang
Checking for c flags '-MMD' : yes
Checking for cxx flags '-MMD' : yes
Checking for feenableexcept : no
Disabling SLP for clang++
Checking for HAVE_CMATH_ISFINITE : yes
Checking for HAVE_CMATH_ISINF : yes
Checking for HAVE_CMATH_ISNAN : yes
Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : yes
Checking for NEED_CMATH_ISINF_STD_NAMESPACE : yes
Checking for NEED_CMATH_ISNAN_STD_NAMESPACE : yes
Checking for header endian.h : not found
Checking for header byteswap.h : not found
Checking for HAVE_MEMRCHR : no
Checking for program 'python' : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.16
Checking for program 'python' : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.16
is there a way to change python version to python3 here ?
running the script with python3 suffix is also not working
Jaaaky
@Jaaaky
@harshitsankhla Open sim_vehicle.py and change the command on 1st line to python3
Harshit Kumar Sankhla
@harshitsankhla
nope, thats not fixing it
i think it has something to do with the pythonpath being fetche
Lucas De Marchi
@lucasdemarchi
@harshitsankhla install the python2's version of future or ensure you are loading the script with python3... e.g. by calling it like (python3 /path/to/sim_vehicle.py) or by ensuring python points to python3 rather than python2 in your distro
Harshit Kumar Sankhla
@harshitsankhla
I am loading the script with python3 as you’ve mentioned. Is this because MAVProxy is not supported for python3 ?
Jaaaky
@Jaaaky
It's
Harshit Kumar Sankhla
@harshitsankhla
resolved using - ln -s -f /usr/local/bin/python3 /usr/local/bin/python
thanks @lucasdemarchi
prajwal210798
@prajwal210798
Hello everyone I was trying to bypass mavproxy , instructions are given in the ardupilot.org . The problem is that I am unable to find ./ArduCopter.elf file . When I run command # ./ArduCopter.elf --home -35,149,584,270 --model quad from ArdupilotCopter directory terminal gives an error saying ./Ardupilot.elf no such directory or file. Can anyone help me ?
auturgy
@auturgy
@prajwal210798 look in the build directory
prajwal210798
@prajwal210798
@auturgy I checked build directory by searching ArduCopter.elf , didnt find any file.
Is the issue is related with the running of sim_vehicle.py ? Thank you for your reply
auturgy
@auturgy
Have you compiled the sitl binary? From the top ArduPilot directory,
./waf configure —board sitl
./waf copter
then you’ll find the elf in the build/sitl directory
Andy Piper
@andyp1per
did anything change in memory allocation recently in master? My code is no longer able to allocate fairly trivial amounts of memory it seems. Probably my bug, but just wondering
Andy Piper
@andyp1per
it's just me, never mind :-P
Randy Mackay
@rmackay9
weekly dev call starts now
arjunkapoor763
@arjunkapoor763
hi, i am analyzing logs, can anyone tell me how to know the waypoint details/
?
is it in NTUN log parameter ??