by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 19:41
    sjw58194 commented #789
  • 19:35
    sjw58194 synchronize #789
  • Aug 13 00:21
    PtrMDy opened #796
  • Aug 12 20:37
    mtrivedi25 commented #327
  • Aug 12 04:40

    peterbarker on master

    Add map circle command for plot… (compare)

  • Aug 12 04:40
    peterbarker closed #795
  • Aug 12 01:53
    peterbarker opened #795
  • Aug 11 14:47
    kd0aij closed #794
  • Aug 11 14:47
    kd0aij commented #794
  • Aug 11 07:05
    stephendade commented #794
  • Aug 11 00:53
    peterbarker commented #792
  • Aug 10 23:47
    CraigElder unlabeled #789
  • Aug 10 23:44
    tridge commented #789
  • Aug 10 23:42
    tridge review_requested #789
  • Aug 10 23:38
    tridge commented #789
  • Aug 10 22:52
    CraigElder labeled #789
  • Aug 10 09:28
    Dominik8743 commented #792
  • Aug 09 16:52
  • Aug 08 22:52
    peterbarker commented #792
  • Aug 08 17:37
    kd0aij opened #794
Patrick José Pereira
@patrickelectric
Any idea if it's possible to connect a component with mavproxy to vehicle/gcs ? When connecting my component via --master udpin:ip:port the GCS is able to receive, but the component does not receive any messages. When I connect with --out udpin:ip:port the component receives all messages but the GCS does not receive. Any tip ? I took a look under https://ardupilot.org/dev/docs/mavlink-routing-in-ardupilot.html but it was not clear about this concept, since my system_id are the same of the vehicle and I'm using a component_id for the camera
Rakesh.Vangaveti
@RakeshVangaveti

Package python3-wxgtk3.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python3-pygame is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python3-wxgtk3.0' has no installation candidate
E: Package 'python3-pygame' has no installation candidate
how do we solve it, whn itry to install mavproxy ,i got this error

Rakesh.Vangaveti
@RakeshVangaveti
have any one faced this issue?, if any one solved this or any one know how to solve it please tell me
Rakesh.Vangaveti
@RakeshVangaveti
$ sudo apt-get install python-dev python-opencv python-wxgtk3.0 python-pip python-matplotlib python-pygame python-lxml python-yaml,
tried this ,issue solved.thanks
nitrousfree
@nitrousfree_twitter
image.png
Hello, can anyone help me to figure this out?Don't know what is the problem, it shows MAV link one down
I'm using my phone as a hotspot, ios don't show it's IP address so don't know if it's because I had the wrong IP address.
André Kjellstrup
@AndKe
@nitrousfree_twitter you need python-wxgtk3.0 - package, on Linux you would do "apt install python-wxgtk3.0" - I don't know how that is done on windows.
nitrousfree
@nitrousfree_twitter
@AndKe this is to test dronekit simulator on windows Comand prompt, for us to see our python script is correct or not
@AndKe
image.png
@AndKe I enter these two command on different comand prompt, many instructors do that so I just follow but doesnt work
Jaya Srivastava
@jaihonikhil
I am having a lot of issue in running the SITL in ardupilot as the module"map" and "console" are not loading.
ModuleCmd_Load.c(208):ERROR:105: Unable to locate a modulefile for 'map' please tell me where can I find the module?
The "map " module
since without loading the file in the pathway this won't run
Harshit Kumar Sankhla
@harshitsankhla
@jaihonikhil what command are you using - sim_vehicle.py —map —console ?
how can I output the Raw IMU values for the 2nd IMU in SITL. graph RAW_IMU has shows only values for the primary lane IMU and RAW_IMU.id = 0
engblaze
@engblaze
Hi all - I was wondering if anyone could shed light on how MAVProxy handles "non-standard" MAVLink message types. I am trying to test some custom messaging from a companion computer to the GCS using the built-in debug message types - namely NAMED_VALUE_INT and STATUSTEXT. When I send a message, I can call "status STATUSTEXT" from within MAVProxy and see that it has been received properly. However, calling "watch STATUSTEXT" doesn't seem to do anything when new messages are sent ("watch VFR_HUD", for example, provides updates as expected). Is there a way to see these message types arrive in real time?
sjw58194
@sjw58194
Hey everyone, I’m trying to store the position of the console frame in one of the configuration files (like .mavinit.scr) so that I know what the frame’s last known location was before I ended the session.
I thought to do this in an event handler for an EVT_END_SESSION event in modules/lib/wxconsole.py, but that requires an App-derived class and wxconsole.py doesn’t have a class derived from wx.App. It just creates an instantiation of wx.App. So, I thought to derive a class from wx.App, handle the event, then replace all instances of wx.App with instances of the derived class.
I'm wondering if there is a better way to do this, though. Any ideas? Thanks in advance!
Andrew Tridgell
@tridge
Have you seen the layout save command?
sjw58194
@sjw58194
@tridge Just looked into it. Thank you so much, that's exactly what I need.
Willian Galvani
@Williangalvani
Hi! If I have mavproxy running with one udpout for QGC and one for a Python script, can I send messages from one to the other?
I want to statustext messages to QGC from a pymavlink script connected to :14551
I'm trying in sitl with
sim_vehicle.py --out=udpout:0.0.0.0:14550 --out=udpout:0.0.0.0:14551
sjw58194
@sjw58194
Hello, I’m trying to extend the functionality of “layout save” to also save Mission Editor, since it only saves the console and map windows at the moment.
modules/lib/win_layout.py holds the functionality for “layout save” in win_layout.save_layout, which saves all the windows that are stored in the global var window_list. Console and Map get stored in this list by calling the win_layout.set_layout function, so I’m using that function to store Mission Editor. This works just fine, but when I execute “layout save” and win_layout.save_layout is called, Mission Editor is no longer in window_list.
Any ideas on what could be happening? Is there a better way to approach this? Thank you in advance!
Rahul Nath R
@rahulnathr
Hi, I was confused about the "set home" and "set origin" in sitl.
As far as i know, Set home would establish a local frame there. What about the set origin?
clev0910
@clev0910
Hello everyone. After installing MAVProxy on a new system, every time I run the command ../Tools/autotest/sim_vehicle.py --map --console -v ArduCopter -f airsim-copter on the cygwin terminal, MAVLink opens for a split second and then crashes. What can I do to make it work the right way?
Stephen Dade
@stephendade
@clev0910: Is this on Windows or Linux? It could be that you've not installed all the required libraries
clev0910
@clev0910
@stephendade This is on windows. I installed everything using the instructions on this link: https://ardupilot.org/dev/docs/building-setup-windows-cygwin.html#building-setup-windows-cygwin . Is there anything else that needs to be done specifically for MAVProxy?
Stephen Dade
@stephendade
@clev0910: You used the mavproxy installer? If so, there's a known bug that prevents it working on Windows. Should be fixed in the next week.
It should work fine using WSL though
clev0910
@clev0910
@stephendade oh alright, thanks!
granewton
@granewton
Hi All I am getting started with MAVproxy, and stuck at the first part... I cannot open the program (Windows 10).
When I open it, the window pops up briefly and then disappears. Any Ideas?
granewton
@granewton
I installed the previous version and It runs.
so all good :)
clev0910
@clev0910

Hello everyone, I'm trying to use gimbal control on mavproxy with windows so I can simulate gimbalized tilt rotors on airsim; I've used this link to do it: http://ardupilot.github.io/MAVProxy/html/modules/gimbals.html .

When I type in the gimbal point command as explained in the link, it displays an error saying that the entered data type is not an integer. What can I do to correct this? Is the syntax in the link the right one?

Stephen Dade
@stephendade
@clev0910: That's a bug - thanks for finding it. I've made a fix for it at ArduPilot/MAVProxy#787
Nihal M
@mnihalm
How do i install mavproxy in a virtual environment on 20.04? I have tried following the command in the wiki, and installed everything but python3-wxgtk3.0 as it had no installation candidate. Instead, python-wxgtk3.0 was available. I installed that, but i can't get any modules loaded - console, map, etc.
Stephen Dade
@stephendade
@mnihalm: you need python3-wxgtk4.0. Where did you see 3.0?
Nihal M
@mnihalm
I still get the no module named console error . what is the pip candidate for the library being used? I tried pip install wxpython but am facing installation issues. Not sure if it is because of 20.04
Stephen Dade
@stephendade
Ok, that documentation is old. The new documentation is at https://ardupilot.org/mavproxy/docs/getting_started/download_and_installation.html
Nihal M
@mnihalm
Thanks Stephen, I think I may have corrupted my installs, as I can't seem to get it working with the instructions in the updated wiki as well. I can use the terminal, but I need the map and console module as well. Any tips on properly cleaning up my installs before reinstalling?
Stephen Dade
@stephendade
You can do pip uninstall <package> to remove packages and then you can reinstall them.
clev0910
@clev0910

Hello everyone. I'm trying to use LogViewer with AirsSim which presents the MavLink streams that it is getting from the Unreal Simulator. I've done it according to this link: https://microsoft.github.io/AirSim/log_viewer/ .

As I start the LogViewer and run MAVLink and AirSim after it, however, my LogViewer screen only displays a few parameters: attitude, heartbeat, timesynct and sysstatus_t. I'd like it to display paramaters as seen on the image in the link above.

Would anyone be able to tell me if this is an AirSim problem, or a MAVLink problem, and possibly how to correct it?

Alternatively, I need to find the code which defines how Airsim receives the input commands from MAVLink, so that I can figure out how to control a gimbal and change it to what I'd like it to do. Does anyone know where I can find this?

Rajat Singhal
@rajat2004
@clev0910 I'm quite surprised that even some information is being captured in the LogViewer when using ArduPilot. It uses the Mavlink stream from UE, but AP-AirSim integration doesn't use Mavlink messages. A shortcut way could be to add an output stream using Mavproxy, and make LogViewer listen to that port
As to controlling gimbal using Mavlink messages, currently AirSim doesn't support that. It should be possible to add, but needs some thinking on how to fit it inside the existing codebase
Rajat Singhal
@rajat2004
Also, a lot of the development chat has moved to Discord, it might be easier to chat there itself