by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 09 2019 03:29

    tridge on master

    protocol: replace unsupported %… (compare)

  • Sep 09 2019 03:29
    tridge closed #17
  • Sep 08 2019 05:36
    bugobliterator opened #17
  • Aug 14 2019 03:51

    tridge on master

    Add override keyword to those m… (compare)

  • Aug 14 2019 03:51
    tridge closed #16
  • Aug 14 2019 01:37
    peterbarker opened #16
  • Aug 14 2019 01:33

    peterbarker on override-keywords

    Add override keyword to those m… (compare)

  • Jun 06 2019 00:11

    tridge on pr-header-conflict-ch

    (compare)

  • Jun 06 2019 00:11

    tridge on master

    marshal: fixed header conflict … (compare)

  • Apr 19 2019 12:42

    OXINARF on fix-python-37

    (compare)

  • Apr 19 2019 12:41

    OXINARF on pr-STM32H7-support

    (compare)

  • Apr 19 2019 12:38
    OXINARF closed #15
  • Apr 19 2019 12:38

    OXINARF on master

    stm32: support ChibiOS kernel m… dsdl_compiler: add missing sheb… dsdl_compiler: remove trailing … and 1 more (compare)

  • Apr 18 2019 18:30
    OXINARF opened #15
  • Apr 18 2019 18:30
    OXINARF review_requested #15
  • Apr 18 2019 18:22

    OXINARF on fix-python-37

    dsdl_compiler: add missing sheb… dsdl_compiler: remove trailing … dsdl_compiler: check for StopIt… (compare)

  • Feb 02 2019 02:03

    tridge on pr-STM32H7-support

    stm32: support ChibiOS kernel m… (compare)

  • Aug 12 2018 14:12

    OXINARF on ardupilot-2018-06-09

    (compare)

  • Aug 12 2018 13:55

    OXINARF on pr-chibios-update

    (compare)

  • Aug 12 2018 13:55

    OXINARF on allow-can2-without-can1

    (compare)

Andrew Tridgell
@tridge
@ukmook no, we don't support multiple rangefinders on one node yet in AP_Periph
we could add that if there is need for it
Malcolm Churn
@ukmook
@tridge ok thanks just thought I would try
Jan
@swanepoeljan
Hi all, I have tried my hand at writing a libcanard based test program that sends a NodeStatus message every 750ms and can also respond to a GetNodeInfo message. I tested it with UAVCAN GUI tool and it works nicely so far. To make it do something more interesting I added the transmission of uavcan.equipment.power.BatteryInfo and then just hard-coded some fake battery voltage and current readings. Also tested this with UAVCAN GUI and it works.
Problem is that when I hookup my node to my FC with fw 4.0.4 and set battery type to UAVCAN it does not seem to work. To try and debug I toggled a led on my node when it receives NodeStatus from the FC. After power-up it seems like it receives about 5 to 10 messages (flashes) and then nothing more. When I use SLCAN on Mission Planner then I can see my Node and the led keeps flashing (receiving NodeStatus) until I disconnect it.
I know it's hard to say without seeing the code but maybe anybody have some advice were the issue could possibly be?
UAVCANGUI_BatteryInfo.png
Jan
@swanepoeljan
As an additional test I added the MagneticFieldStrength message and it shows up but still no BatteryInfo messages. Could somebody maybe confirm that BatteryInfo does indeed work? I see the code is there in AP_BatteryMonitor_UAVCAN and from my limited knowledge I guess it's okay?
MP_Inspector_Mag.png
Jan
@swanepoeljan
Okay, I can confirm it works! My issues was in the way I handled the dynamic arrays, forgot to add the length bits...
Fredrik Hedberg
@fhedberg
I've just gotten a KDE-UAS125UVC ESC that I'm having weird issues with when trying to set up. Having enabled UAVCAN on can1 and KDECAN on can2 on a BlackCube, once I plug the ESC into can2, can1 stops working and the Here2 GPS fails. When snooping traffic via SLCAN on can1, all UAVCAN activity stop immediately, only to start working again after disconnecting the ESC from can2. Any advice?
James O
@joshanne
image.png

Hi All, I have a question re. examples/UAVCAN_sniffer...
I currently have access to a a cube, which is able to run uavcan_gui_tool bus monitor and dump the traffic that way. But I was hoping to run UAVCAN_sniffer, which appears to be able to produce a serial stream of message names and counts.
Strangely, all I appear to see is the system time being printed.

Have I misunderstood the purpose of UAVCAN_sniffer? or am I using it incorrectly?
Thanks

A snippet of the output from the UAVCAN_sniffer example
UAVCAN: init done
2016508
3016393
Successfully mounted SDCard (slowdown=0)
4016395
5016648
6016455
7016806
8016589
Andrew Tridgell
@tridge
I suspect it isn't seeing any packets. I used it yesterday and worked for me
You know cubeblack has can1 and can2 swapped on carrier labels?
James O
@joshanne

That's odd - the uavcan_gui_tool image (above) is from the same cube connected to the same CAN network above - so I know there is messages on the network.

I wasn't aware the cube black has the labels swapped. I've got a cube orange - I haven't seen the swapped labels in any cubepilot documentation for the orange.

I just tried UAVCAN_sniffer again, checking connection on both CAN labels, and still only have the system time being printed. Swapping back to running plane on the cube orange, and checking uavcan_gui_tool I can still see the can node.

image.png
My goal is to utilize something like a pixracer to run the UAVCAN_sniffer example.
James O
@joshanne
I guess the other obvious question is, should I be running this from a specific branch or tag?
My periph is running from the latest tagged periph version, and cube was running plane and sniffer from master.
James O
@joshanne
image.png
Okay - so this is interesting.
I went from running plane where uavcan_tool_gui was working, then flashing UAVCAN_sniffer without unplugging the cube, and it had messages coming in, in a format I was expecting.
James O
@joshanne

Ahh, the peripheral was 'initialized' and setup for UAVCAN when running plane, and when I reflash to the sniffer, the network is already set up. If I unplug/replug the peripheral, the light constantly flashes, which is searching for network, or network not available, or the like.

Is the sniffer not able to start the network? or is there an extra step there I'm missing?

James O
@joshanne
Eureka! Dynamic Node Allocation. The sniffer doesn't do DNA, so you need to set the param on the periph to hard code the node id. When I did this, the sniffer works first time. :-)
Andrew Tridgell
@tridge
Great!
TarasMelnik
@TarasMelnik
TarasMelnik
@TarasMelnik
hello. Tell me how to properly flash the processor f303. I tried and st-flash write build/f303-Universal/bin/AP_Bootloader.bin bold0x8000000
st-flash write build/f303-Universal/bin/AP_Periph.bin bold0x801000 , but the processor does not come out of the bootloader. There were no problems with f103.
Randy Mackay
@rmackay9
Hi there, more and more discussion is moving to discord so you are all invited to join us over there! https://ardupilot.org/discord