Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Andrea Belloni
    @anbello
    Then, I think, next step will be to switch on the base of values that indicate the data from GPS has degraded, from GPS: GPS.HDop, GPA.HAcc, GPA.Vacc and / or from EKF: XKF4.SV, XKF4.SP ...
    But this is only free thinking i am not an expert.
    Anyway now all this discussions are moved to discord https://ardupilot.org/discord
    lgh5054
    @lgh5054
    @anbello Thanks !
    Fahad1994-coder
    @Fahad1994-coder
    Hello everyone can someone guide me on how to build Navio2 computer vision system that detect object to deliver payload. pls give guideline in hardware and coding if its possible!
    Huibean Luo
    @Huibean
    has anyone get numba working on rpi4?
    Huibean Luo
    @Huibean
    Hi @thien94 can your script https://github.com/thien94/vision_to_mavros/blob/master/scripts/d4xx_to_mavlink.py running on RPI4? trying to test it
    DeafMic
    @DeafMic

    Hi everyone. I am currently using RealSense t265 in combination with Nvidia TX2 (Auvidea j120 board) for precision landing on an AprilTag. There is currently a persistent issue with the camera starting to randomly spit NaNs for its odometry (camera_pose_frame). As a result, the transform can not be calculated. It never happens while the drone is in the air, however, when it is left on the ground stationary the issue arises. Restarting the camera node or unplugging the camera USB helps until the next randomly timed error. librealsense v2.36.0 is installed. Could be a faulty unit, however, I`ve seen other people having it with no clear solution to the problem.

    If anyone had a similar issue, I`d appreciate any help, as well as provide any additional information.

    Thanks in advance!

    Jaime Machuca
    @jmachuca77
    If the camera is pointing down and you are too close to the ground this is likely to happen as there will not be enough “texture” in the image to calculate a pose and it will loose track.
    DeafMic
    @DeafMic
    Thanks a lot for the reply. Indeed, it seems to be the case. However, how can this issue be counteracted effectively? My drone is sitting on the ground quite often. For now, since it doesn`t seem to recover on its own, I just made another node to restart the camera node automatically when NaN is detected. Seems like a very dirty solution to me. Is there anything else that can be done?
    Ed Muthiah
    @ed-muthiah
    @Fahad1994-coder For a Navio2 based vision system, check out Intelligent Quads on youtube, that should guide you. Depending on your camera you should be able to run TinyYolo from legged_robotics on the RPI4. You should look into how to send commands using MAVROS. That should get you a really basic vision system. Hardware wise, you can use a RPI Camera V2 to start and the move to Intel Realsense D435i. https://www.youtube.com/watch?v=AP1UC0DlIrE&list=PLy9nLDKxDN683GqAiJ4IVLquYBod_2oA6
    ddomit
    @ddomit

    Hello Everyone! Im trying to use precision landing with IRlock in RTL mode but it never uses it!

    IRlock works in precision loiter and in land but RTL does not work at all.

    The setup is a quadcopter with the latest version of arducopter.

    Anyone knows how to make RTL look for IRLock and use it for landing?

    ddomit
    @ddomit
    Apparently terrain follow has to be enabled , but it limits you to have the rtl alt to the rangefinder maximum alt
    aaronsims2020
    @aaronsims2020

    Hi All,

    I’m looking for roslaunch files for global planner and local planner px4 obstacle avoidance running intel realsense D435 on a real drone not in simulation.

    I will appreciate any thing you are able to provide because I’ve been hacking away at this for weeks and it’s the standard supported configuration in the obstacle avoidance project so it shouldn’t be difficult for somebody who has tested it or used it to just send me what you have so I can look it over and compare it with what I’m having.
    I think it’ll be a lot easier if I can just see what works and then adapt my files to that.

    I will very much appreciate your help.

    Sincerely,

    Aaron

    Hoang Anh Tran
    @ineq1512
    Hi guys, I have problem when using vicon system.
    When I use vicon as mav gps for my drone, the drone can not hovering, it drift instead.
    I already checked the orientation and it seem be true with respect to the NED frame.
    When I add the optical flow, the drone can hovering pretty good.
    So I think there might be have some problem with my vicon setup but I don't know which is problem.
    Can anyone help me with this? Thanks!
    Rohan Singh
    @rohansingh42
    Hi All,
    I am facing an issue with setpoint velocity/position in guided mode. I am using Cubeorange with arducopter 4.0.5, running mavros on a companion computer connected via usb on the fcu. I am using a slam system to give pose data(not using gps as it's for indoor flight) to the drone, and the message is being received by the fcu (i can see the message in mavlink inspector). After this, when i switch to guided mode and give it a setpoint velocity/position message from mavros, i don't see any movement from the drone, and it often just starts drifting randomly (in random directions). I don't know what logs to share that show i am sending setpoint velocity and it is not being used by the fcu, but if anyone can suggest anything i can share those logs. I have also tried doing the same out in the open with gps (and no slam) and i see similar behavior. At this point i have no idea how to debug this issue. I must also add that i have worked with similar setup in the past and have had no issue like this and really lost about what could cause this. Any help with this would be appreciated. Thanks.
    Carlos Vicente
    @cjmv

    Hey everyone, I've been playing around with mavros to interface a NVIDIA Jetson Nano and a Pixhawk through the GPIO to/from telemetry port. I'm launching mavros with the apm launch file.
    I'm able to arm/disarm successfully and although in a peculiar way, I'm also able to change to custom modes.
    So although I'm able to change modes with the command, for instance:
    rosrun mavros mavsys mode -c 1
    I still get an error " CMD: Unexpected command 11, result 0". But it does change the mode nevertheless (I can see it in Mission Planner)

    Although if I issue:
    rosrun mavros mavcmd int 176 0 1 0 0 0 0 0
    I get the error " CMD: Unexpected command 176, result 3"

    Shouldn't mavsys mode -c 1 use command 176?

    The other thing I've been trying to do is to test actuating on a servo, which should work by using MAV_CMD_DO_SET_SERVO, (command 183), although once again after issuing:
    rosrun mavros mavcmd int 183 1 1023 0 0 0 0 0
    I'm getting the error "CMD: Unexpected command 183, result 3"

    It's probably something really basic... but I can't put my finger on it.
    Any pointers?

    Vinicius Juvinski
    @juvinski
    I think you need to post on ardupilot’s discord channel - vision project
    Carlos Vicente
    @cjmv
    Hi @juvinski , who me? I have no problem on doing that. But what does that mean exactly? Does that mean that I will probably get better help on Discord than here? :-)
    Jaime Machuca
    @jmachuca77
    Yes the Gitter channels have been deprecated for a while new discussions should be done on discord
    Carlos Vicente
    @cjmv
    Hi @jmachuca77 , Thanks... will do then!
    Carlos Vicente
    @cjmv
    By the way... I'm looking for it on Discord but I can't see to find it in the Public Servers. What's the actual name of it?
    Vinicius Juvinski
    @juvinski
    try this
    1 reply
    Carlos Vicente
    @cjmv
    Will do... thanks!
    Hoang Anh Tran
    @ineq1512
    @juvinski can you sent me the discord invite link too?
    Vinicius Juvinski
    @juvinski
    Hoang Anh Tran
    @ineq1512
    Thanks
    ddomit
    @ddomit
    What do you think is the best tutorial for vision landing?
    xiaolin198832
    @xiaolin198832
    Does ekf3 support rangefinder?
    Set EK3_SRC1_POSZ = 2 ??
    romaster93
    @romaster93
    is there any EK3_GPS_TYPE parameter in 4.1 copter version?
    siddharthcb
    @siddharthcb
    Hey guys, I am planning to implement obstacle_distance plugin in mavros. i have created a separate script to reduce laser data points to 72 but when i run this script i get this error on roslaunch mavros terminal:
    [ERROR] [1613710135.169930659]: DS: no mapping for sensor id: 10, type: 0, orientation: 0
    [ERROR] [1613710135.171906809]: DS: no mapping for sensor id: 11, type: 0, orientation: 1
    [ERROR] [1613710135.172353498]: DS: no mapping for sensor id: 12, type: 0, orientation: 2
    [ERROR] [1613710135.172672919]: DS: no mapping for sensor id: 13, type: 0, orientation: 3
    [ERROR] [1613710135.172950524]: DS: no mapping for sensor id: 14, type: 0, orientation: 4
    [ERROR] [1613710135.173280412]: DS: no mapping for sensor id: 15, type: 0, orientation: 5
    Am i supposed to add obstacle_distance config under apm_config.yaml? if yes, what should it contain?I really appreciate if someone could help me. Thank you
    Vinicius Juvinski
    @juvinski
    this will not expires :)
    v-to
    @v-to

    Hi Guys,
    I'd like to ask for help with mode changing of ardurover with mavros.
    Here is my situation:
    I am using Ardurover for floating drone and working on anticollision system.
    I am trying to send mavlink commands via mavros to ardupilot rover.
    mavsafety arm/disarm is working fine, but I can’t change mode of the autopilot.
    I am sending message with: rosrun mavros mavsys mode -c HOLD
    I am getting response: Error:Unsupported FCU
    I run out of ideas how to solve this. Any idea of what might be the issue?
    Any help appreciated.

    All the best!

    v-to
    Diagnostics if could help:
    header:
    seq: 6192
    stamp:
    secs: 1624018328
    nsecs: 876180406
    frame_id: ''
    status:

    • level: 0
      name: "mavros: FCU connection"
      message: "connected"
      hardware_id: "/dev/ttyACM0:57600"
      values:
      • key: "Received packets:"
        value: "65075"
      • key: "Dropped packets:"
        value: "0"
      • key: "Buffer overruns:"
        value: "0"
      • key: "Parse errors:"
        value: "0"
      • key: "Rx sequence number:"
        value: "60"
      • key: "Tx sequence number:"
        value: "62"
      • key: "Rx total bytes:"
        value: "11535453"
      • key: "Tx total bytes:"
        value: "28938"
      • key: "Rx speed:"
        value: "2803.000000"
      • key: "Tx speed:"
        value: "0.000000"
    • level: 2
      name: "mavros: GPS"
      message: "No satellites"
      hardware_id: "/dev/ttyACM0:57600"
      values:
      • key: "Satellites visible"
        value: "0"
      • key: "Fix type"
        value: "1"
      • key: "EPH (m)"
        value: "99.99"
      • key: "EPV (m)"
        value: "99.99"
    • level: 0
      name: "mavros: Heartbeat"
      message: "Normal"
      hardware_id: "/dev/ttyACM0:57600"
      values:
      • key: "Heartbeats since startup"
        value: "4113"
      • key: "Frequency (Hz)"
        value: "1.000017"
      • key: "Vehicle type"
        value: "Surface vessel"
      • key: "Autopilot type"
        value: "ArduPilot"
      • key: "Mode"
        value: "HOLD"
      • key: "System status"
        value: "Critical"
    • level: 2
      name: "mavros: System"
      message: "Sensor helth"
      hardware_id: "/dev/ttyACM0:57600"
      values:
      • key: "Sensor present"
        value: "0x0320DC2F"
      • key: "Sensor enabled"
        value: "0x0020802F"
      • key: "Sensor helth"
        value: "0x0110812F"
      • key: "3D gyro"
        value: "Ok"
      • key: "3D accelerometer"
        value: "Ok"
      • key: "3D magnetometer"
        value: "Ok"
      • key: "absolute pressure"
        value: "Ok"
      • key: "GPS"
        value: "Ok"
      • key: "motor outputs / control"
        value: "Ok"
      • key: "AHRS subsystem health"
        value: "Fail"
      • key: "CPU Load (%)"
        value: "12.1"
      • key: "Drop rate (%)"
        value: "0.0"
      • key: "Errors comm"
        value: "0"
      • key: "Errors count #1"
        value: "0"
      • key: "Errors count #2"
        value: "0"
      • key: "Errors count #3"
        value: "0"
      • key: "Errors count #4"
        value: "0"
    • level: 1
      name: "mavros: Battery"
      message: "Low voltage"
      hardware_id: "/dev/ttyACM0:57600"
      values:
      • key: "Voltage"
        value: "0.00"
      • key: "Current"
        value: "-0.0"
      • key: "Remaining"
        value: "-1.0"
    Dronotique
    @Dronotique

    Hello,

    I'm working on a multi-copter project that will follow a Aruco target. The goal is to "land" in a kind of net on a sailing boat using a comanion computer
    I need a precision about 50cm in XYZ.

    I tried :

    • Precision landing, but when the camera loose the Aruco, the drone still continue the landing process
    • control attitude in Guided no gps mode, but it's a little bit complex as I need to filter aruco position, implements PID for attitude target...
    • Vision Positionning, but I can't send vision positionning messages all the time because camera shows the aruco only at the end of the flight... And I've a doubt about it also because in this case, the reference is moving then I 'm not sure how the drone will act if I tell it it's moving and its IMU says it doesn't? I tried what is explain here (https://ardupilot.org/copter/docs/common-non-gps-to-gps.html) but I got an error message at init "Vision Position not healthy"

    My question is what is the better way to implement that for you? Any other ideas?

    Rishabh Singh
    @rishabsingh3003
    @Dronotique can you join discord server, we have moved away from Gitter. I have a PR in the pipeline that "retires" landing incase the camera looses the target, and it also gives you an option to not land at all incase the target isn't in sight. ArduPilot/ardupilot#17930