Baro and Compass in terminal show no values?

Hey guys,

 

back at it again and i see .42! awesome.

 

does anyone know if there is a bug in mission planner when you jump into terminal and test command "altitude" or "compass" do they work? 

when i do it, i see no values. do i have a hardware issue or is this a planner bug?

 

cheers,

 

paul.

 

keep up the great work guys!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • haha. thanks mike! i tried touching the baro and blowing into it. nothing! my compass is in the recommended config with pins soldered to board. i am totally dumb founded on why these sensors have stopped working. Someone PLEASE help!

     

  • hi mike, thanks for your diagnostics ! very detailed.  however no luck on my end?! strange, i pretty sure it was working in the past! now its just giving me this.

     

    compass:

    Heading: 347, XYZ: 0,0,0

     

    and for altitude:

    Baro: 0cm

     

    all this while in CLI mode, GPS light on and Green "A" light on.

     

    any clues?!

     

  • Moderator

    2.0.42 on my hardware does produce data for test/altitude and test/compass.

     

    Details of testing: I took an APM which was running ArduPlane, loaded 2.0.42 from Planner 1.0.67. No airframe, I do have a magnetometer hooked up, but no sonar, no ESCs, no rail power, no RX, no GPS (this last item might be important, it is plausible, not having read all the code, that you might have a GPS that has not fix, and some form of mixing is resulting on no results for compass or altitude. If I were to guess, however, from having read other CLI/Test code, I would bet against this "plausible" theory.)

     

    I switched it to CLI and Terminal, but it just told me to setup first.

    I used setup to enable the magnetometer and "+" mode, nothing else.

    I switched to Terminal, CLI/Log Switch and here is the rest. It works for me:

     

    NOTE: You must disconnect and move the slider switch when done to use other tabs

    Opened com port

     

     

    Init ACM

     

    RAM: 2574

    FW Version 107

    ----------------------------------------

     

     

     

    Entering interactive setup mode...

     

    Type 'help' to list commands, 'exit' to leave a submenu.

    Visit the 'setup' menu for first-time configuration.

     

    ArduCopter 2.0.42 Beta] test

    test] altitude

    Hit Enter to exit.

     

    Baro: 0cm

    Baro: -60cm

    Baro: -60cm

    Baro: -69cm

    Baro: -78cm

    Baro: -78cm

    Baro: -87cm

    Baro: -104cm

    Baro: -113cm

    Baro: -130cm

    Baro: -130cm

    Baro: -139cm

    Baro: -156cm

    Baro: -156cm

    Baro: -165cm

    Baro: -165cm

    Baro: -165cm

    Baro: -165cm

    Baro: -174cm

    Baro: -174cm

    Baro: -174cm

    Baro: -156cm

    Baro: -156cm

    test] 

    test] compass

    Hit Enter to exit.

     

    Heading: 14, XYZ: 203, -92, 182

    Heading: 14, XYZ: 203, -92, 182

    Heading: 14, XYZ: 202, -93, 182

    Heading: 14, XYZ: 202, -93, 182

    Heading: 14, XYZ: 203, -93, 183

    Heading: 14, XYZ: 203, -93, 182

    Heading: 14, XYZ: 203, -92, 182

    Heading: 14, XYZ: 203, -93, 183

    Heading: 14, XYZ: 203, -92, 183

    Heading: 14, XYZ: 203, -92, 182

    Heading: 14, XYZ: 203, -93, 183

    Heading: 14, XYZ: 202, -93, 183

    Heading: 14, XYZ: 202, -93, 182

    Heading: 14, XYZ: 202, -92, 183

    Heading: 14, XYZ: 203, -93, 183

    test]

     

  • Moderator

    Terminal-> test, on Mission Planner is basically a serial terminal link, so if you get far enough to type "test" and "compass" then it would have to be an ArduCopter issue, hardware or software, if it is not giving you data you expect. I'll fire mine up at see what data I get w/ 2.0.42 right now...

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @knightsautoteam: Hi @diyrobocars, we are Orlando's first Autonomous racing club and would love your support. We are hosting our first K…
Friday
DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #14 - #ParkingLotNerds join us January 15th for #AutonomousRacing #RoboRace ⁦@DAVGtec…
Jan 16
DIY Robocars via Twitter
RT @chr1sa: And after that came our races, 50 in all. This battle between these two Russians was the best we've ever seen -- incredible fig…
Jan 16
DIY Robocars via Twitter
RT @chr1sa: Before our @DIYRobocars virtual race this weekend, we had a presentation from the team that won the Indy Autonomous Challenge i…
Jan 16
DIY Drones via Twitter
Dec 12, 2021
DIY Robocars via Twitter
Dec 12, 2021
DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
Dec 4, 2021
DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Nov 28, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25, 2021
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23, 2021
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23, 2021
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20, 2021
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20, 2021
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9, 2021
More…