Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 18 00:42
    tridge review_requested #1041
  • Apr 18 00:42
    tridge opened #1041
  • Apr 17 10:52
    IamPete1 commented #1040
  • Apr 17 03:24
    peterbarker commented #1040
  • Apr 16 16:44
    IamPete1 opened #1040
  • Apr 11 03:34
  • Apr 10 08:01

    stephendade on master

    CI: Fix pyinstaller build error Windows: Change build command t… (compare)

  • Apr 10 08:01
    stephendade closed #1039
  • Apr 10 06:49
    stephendade edited #1039
  • Apr 10 06:48
    stephendade opened #1039
  • Apr 09 21:07
  • Apr 07 17:01
    AndKe synchronize #1009
  • Apr 07 07:29
    Towflos synchronize #1038
  • Apr 07 05:58

    tridge on master

    improved file command, handle d… (compare)

  • Apr 05 22:57

    tridge on master

    try to handle windows exceptions (compare)

  • Apr 05 22:57
    tridge closed #1025
  • Apr 05 22:56

    tridge on master

    ntrip: make connection non-bloc… arm: fixed tab completion of 'a… ntrip: removed sleep and only r… (compare)

  • Apr 05 22:56
    tridge closed #1033
  • Apr 05 22:48
    tridge synchronize #1033
  • Apr 05 07:59

    peterbarker on master

    mavproxy_map: avoid division by… (compare)

Samuel Dudley
@SamuelDudley
You can apply for one for free
Ador Dastan
@Ador2
@SamuelDudley thank you, its actually still empty, but I've noticed loading the module inside MAVProxy will read the config.ini inside .cach (python-egg)
ran the web server directly didn't work as well
Gourav1997
@Gourav1997
whenever i try to change flight modes in mavproxy it says unknown command but if i give commands like takeoo and land it works just fine. How to resolve this?
Jawad
@itzmejawad

@SamuelDudley ....

Change this line to a new api key. https://github.com/goodrobots/MAVCesium/blob/master/app/mavcesium_default.ini#L10

Tried with new API key... still no map... only dark space

Jawad
@itzmejawad

@stephendade @tridge
Hi I'm trying to download BIN log 1 using the following MAVProxy command line
but the log file stored in the current working directory is 0 bytes. I would like to download the bin log using a single line command. pls help

mavproxy.py --master=/dev/ttyUSB0 --baudrate=57600 --cmd="log list" --cmd="log download 1"
WARNING: You should uninstall ModemManager as it conflicts with APM and Pixhawk
Connect /dev/ttyUSB0 source_system=255
Requesting log list
Downloading log 1 as log1.bin
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from /dev/ttyUSB0
MAV> online system 1
STABILIZE> Mode STABILIZE
FTP Unexpected burst read reply
OP seq:51 sess:1 opcode:129 req_opcode:15 size:1 bc:0 ofs:0 plen=1 [10]
Log 1 numLogs 6 lastLog 6 size 1791191 Mon Nov 30 11:31:18 2020
Log 2 numLogs 6 lastLog 6 size 80433152 Fri Dec 4 16:40:16 2020
Log 3 numLogs 6 lastLog 6 size 14258176 Mon Dec 7 15:56:56 2020
Log 4 numLogs 6 lastLog 6 size 4594373 Mon Dec 7 16:06:44 2020
Log 5 numLogs 6 lastLog 6 size 3255513 Mon Dec 7 16:27:56 2020
Log 6 numLogs 6 lastLog 6 size 3443938 Mon Dec 7 16:40:52 2020
APM: ArduCopter V4.1.0-dev (7f429302)
APM: ChibiOS: 331fe75d
APM: CubeBlack 004C001F 32385108 32373737
APM: RCOut: PWM:1-12
APM: Frame: QUAD
APM: ArduCopter V4.1.0-dev (7f429302)
APM: ChibiOS: 331fe75d
APM: CubeBlack 004C001F 32385108 32373737
APM: RCOut: PWM:1-12
APM: Frame: QUAD
6
STABILIZE> log status
STABILIZE> Downloading log1.bin - 0/1791191 bytes 0.0% 0.0 kbyte/s (0 retries 0 missing)

Coleman
@goonbunny
I am trying to use 'long commands' like setyaw and attitude but when I do they are accepted but don't result in any movement from the servos unlike when I use mode ALT_HOLD. Anyone know what might be happening? My test command is setyaw 1 5 0 which I believe should set the yaw to 1 at a 5 degree angular velocity. Am I using the command properly? I'm using chibios SUB 4.0.2 on a pixhawk1
Coleman
@goonbunny
update- it appears setyaw is only for guided mode which isn't supported by sub and attitude is currently broken in sub. If anyone knows how to fix this I can pay $$$
GRS26
@GRS26
Hello
I need assistance
please
I am following this video to get dronekit working in mission planner in windows through using wsl
when i try to put this command on the second prompt
mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551 --out 127.0.0.1:14552
I get this
Auto-detected serial ports are:
Connect 0.0.0.0:14550 source_system=255
Failed to load module: No module named 'terrain'. Use 'set moddebug 3' in the MAVProxy console to enable traceback
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from 0.0.0.0:14550
link 1 down
MAV>
GRS26
@GRS26
ok, solved the module, but the link 1 down is still happening
Jaime Machuca
@jmachuca77
How are you starting SITL? You should use the sim_vehicle script which starts both sitl and mavproxy.
GRS26
@GRS26
@jmachuca77 I doing this

I am using two command prompt from windows and one ubuntu terminal version 18.04 with wsl2.
On Windows I installed python 3.7.1 64 bits, and with prompt I used pip install dronekit, then used python -m install --upgrade pip, then pip install dronekit-sitl, then pip install wheel,pip install mavproxy.

Then I went to ubuntu terminal and used pip install dronekit dronekit-sitl mavproxy. After that, I used python, and then import dronekit and then exit().Then did the same import command on prompt from windows.

Now with two windows prompts , the first I used dronekit-sitl copter --home=53.280707,-9.031534,0,180.The other mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551 --out 127.0.0.1:14552.And then went to mission planner on windows, selected udp, put the right ports, and it connected.
So far so good.
What I cant do is send the script from ubuntu. Ubuntu terminal I navigate to /mnt/c/Users/gusta/OneDrive/Desktop, where my python script is saved, and try to use the command sudo python drone.py --connect udp:127.0.0.1:14550 to connect,i tried 14550,14551 and 14552, and it does not connect.
What happens is this:
WARNING:dronekit:Link timeout, no heartbeat in last 5 seconds
ERROR:dronekit.mavlink:Exception in MAVLink input loop
Traceback (most recent call last):
File “/home/grs26/.local/lib/python2.7/site-packages/dronekit/mavlink.py”, line 211, in mavlink_thread_in
fn(self)
File “/home/grs26/.local/lib/python2.7/site-packages/dronekit/init.py”, line 1371, in listener
self._heartbeat_error)
APIException: No heartbeat in 30 seconds, aborting.
Traceback (most recent call last):
File “drone.py”, line 38, in
vehicle = connect(connection_string, wait_ready=True)
File “/home/grs26/.local/lib/python2.7/site-packages/dronekit/init.py”, line 3166, in connect
vehicle.initialize(rate=rate, heartbeat_timeout=heartbeat_timeout)
File “/home/grs26/.local/lib/python2.7/site-packages/dronekit/init.py”, line 2275, in initialize
raise APIException(‘Timeout in initializing connection.’)
dronekit.APIException: Timeout in initializing connection

Giulio Rigoni
@giulio.swe2010_gitlab
hi everyone, hope im asking in the right place...so I do all the stuff following the guide for SITL, and then I start it with the map and console; now the problem is that the battery percentage on the map is 0 from the start and the console keep saying: battery warning . Shouldnt the battery be at 100% ?
André Kjellstrup
@AndKe
@giulio.swe2010_gitlab did you configure battery capacity ? - unless you did 0% is possible.
Giulio Rigoni
@giulio.swe2010_gitlab
@AndKe no i did not, but i cannot find the command for that...can you tell me how to do it ? cause I'm only able to find info about voltage and not capacity...
André Kjellstrup
@AndKe
PrajwalSangam
@PrajwalSangam
does cmdlong MAV_CMD_NAV_TAKEOFF 0 0 0 0 0 0 0 4 work?
gusy can you help me.. how to use cmdlong command in mavproxy
maverickboy2020
@maverickboy2020
How to send distance data from mm wave radar from companion computer to Flight controller over mavlink
any help
Giulio Rigoni
@giulio.swe2010_gitlab
Hi guys, me again. Im still trying stuff on SITL copter and I noticed that the max speed is 10 m/s, I am wrong ? i tried different copters (quad, exa, octa) and changed the WPNAV_SPEED parameter
MohammadAmin Khazaei
@mohammada315
Hello
You know how many I can palne add mavproxy ?
multi-vehicle
@khancyr
Amilcar Lucas
@amilcarlucas
254 AFAIK
sheikhshack
@sheikhshack
Hi friends! Could i check if anyone has any experience with creating multiple streams with --out tcpin:<hostaddr> for mavproxy? Is such a thing possible
Vinicius Juvinski
@juvinski
is missing the port
<hostaddr:port>
Jaime Machuca
@jmachuca77
Use mavlink_router
MohammadAmin Khazaei
@mohammada315
error run
cepoya
@cepoya
hello, newbie
i want connect rosetta drone to my pycharm,,
idk how to connect and step by step?
Hussainali819
@Hussainali819
Hello Everyone, I'm a beginner working with pymavlink. I want to find the global position of the copter (latitude, longitude) so that I can calculate the instantaneous distance between the copter and a waypoint. I am currently working on SITL of the Mission Planner with the code running on anaconda terminals. I have searched GLOBAL_POSITION_INT and MAVLINK_MSG_ID_GPS_RAW_INT but I'm not able to use these I'm my code, Is there any example of waypoint following by copter involving this concept?
Thanking you in advance
TheHitech24
@TheHitech24
Hey did someone got the following error while connecting dronekit-sitl instance

mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551
Connect tcp:127.0.0.1:5760 source_system=255

Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from tcp:127.0.0.1:5760MAV>

MAV> AP: Calibrating barometer
online system 1
INITIALISING> Mode INITIALISING
AP: Initialising APM...
PANIC: AP_Baro::read unsuccessful for more than 500ms in AP_Baro::calibrate [2]

no link
link 1 down
no link
no link

any possible solutions to make dronekit-sitl work?
Ultram0n
@Ultram0n
hello hi, can someone help me solve my problem, currently im working on connecting the apm2.8 to rasberry pi, before this im using uart port which ttyAMA0 but the result "link 1 down", then im using the usb port ttyACM0 and connection success, but when i try to change the mode from STABILIZE mode to LOITER or else it said COMMAND_ACK UNSUPPORTED. did u have any idea what the problem
miir0
@miir0:matrix.org
[m]
Hello all,
I have a issue when trying to MAVProxy to transmit telemetry over the internet. My place has 4g lte card installed transmits telemetry over a VPN tunnel. The only problem is that it uses up 100KB/s of bandwidth. Can I somehow reduce the "tickrate" or should I just lower the baudrate on the serial connection ?