ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Enabling CAN driver on VOXL2

    Feature Requests
    can voxl2 j1939 socketcan
    2
    2
    391
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      brinkap
      last edited by

      I wanted to use CAN to integrate the VOXL2 with a bus to run motors but noticed that the SocketCan drivers are not enabled in the default VOXL2 image. I'm aware the Flight Control board has a CAN interface (https://forum.modalai.com/topic/1560/can-device-support/2?_=1696869997420) but I wouldn't make any use of the other peripherals on that board. Even if I use a Flight Control board, the CAN interface to the PX4 controller would not enumerate on the VOXL2 as a SocketCAN-compatible interface e.g. can0 without this kernel module.

      How feasible would it be to add the CAN module into the VOXL2 kernel?

      ModeratorM 1 Reply Last reply Reply Quote 0
      • ModeratorM
        Moderator ModalAI Team @brinkap
        last edited by Moderator

        @brinkap unfortunately, there is no CAN capability on VOXL 2. You would need to have an adapter PCB that supports CAN connects to one of the available interfaces, and then write a Linux driver that enumerates as can0

        1 Reply Last reply Reply Quote 0
        • wilkinsafW wilkinsaf referenced this topic on
        • First post
          Last post
        Powered by NodeBB | Contributors