Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 09 00:22

    tridge on master

    archive repo (compare)

  • Feb 09 00:09

    tridge on master

    Add basic support CANFD transmi… disable tail array optimisation… include padding bytes introduce… and 4 more (compare)

  • Feb 09 00:09
    tridge closed #18
  • Feb 07 18:05
    bugobliterator synchronize #18
  • Aug 25 2021 14:28
    khancyr commented #21
  • Aug 25 2021 14:18
    khancyr edited #21
  • Aug 25 2021 14:18
    khancyr opened #21
  • Aug 25 2021 11:15
    khancyr opened #20
  • Jul 12 2021 20:48

    tridge on master

    ignore cast-align in Pool alloc… (compare)

  • Jul 12 2021 20:48
    tridge closed #19
  • Jun 26 2021 07:48
    bugobliterator opened #19
  • May 17 2021 18:19
    bugobliterator opened #18
  • May 03 2021 12:50
    bugobliterator closed #14
  • 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)

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'Shannessy
@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'Shannessy
@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'Shannessy
@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'Shannessy
@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'Shannessy
@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'Shannessy
@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
Caleb Martin
@caleb272
Hello all, is there a px4 ardupilot fork that uses CANOpen instead of UAVCAN?
Buzz
@davidbuzz
no.
also, px4 is NOT ardupilot.
Caleb Martin
@caleb272
@davidbuzz Sorry yeah, specifically I want to use mavros on a RPI talking to a pixhawk4 via the CAN bus and some other nodes on the network will be using UAVCAN
I saw some stuff about UAVCAN in the mavlink code but its not clear if you can somehow set the mavlink to talk to the FC via CAN or what
RajakumarR
@RajakumarR
Hi I want to make CAN Communication between my won motor controller to pixhawk 2.4.8. i have mission planner . in my motor controller i have CAN 2.0 with 11 bit identifier . i have to send data to flight controller like speed current voltage and temperature. could you please clarify someone . what is the CAN ID i have to use and what is the format i need to send the data
Mahdiul Chowdhury
@MahdiulChowdhury
I am trying to setup VESC with CAN and also trying to read the encoder data using pixhakw cube and ardupilot? can anyone please refer me to a doc or something that can help setting this up ?
ciamia
@ciamia
Hi guys, I am trying to send my battery datas with stm32f405 to autopilot which is a orange cube. I managed to send datas from stm32f405 to cube with Can communication on Arduino IDE as I compared datas from Serial and DroneCan. Do I have to switch to UAVCAN to send battery info?