Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect pixhawk cube to motor using can open #19470

Open
henme1 opened this issue Apr 11, 2022 · 3 comments
Open

connect pixhawk cube to motor using can open #19470

henme1 opened this issue Apr 11, 2022 · 3 comments

Comments

@henme1
Copy link

henme1 commented Apr 11, 2022

hello!
I have a pixhawk cube and a motor and motion controller which communicate via can open.
I want to connect the to the pixhawk but i know that pixhawk supports only uavcan.
tried to find any documantation on the internet but couldnt find somthing good.

I was wondering if there is a way to convert uavcan to can open so the pixhawk could communicate withe the motion controller and the motor.

Thanks!

@dagar
Copy link
Member

dagar commented Apr 11, 2022

Can you share specifics about the particular motor? Are interface details publicly available?

I'm very much in favor of making it easier to use the system with multiple different CAN protocols. We're looking at moving most of the system over to SocketCAN so that the CAN driver isn't so tightly integrated with UAVCAN. For now there are simple examples like https://github.com/PX4/PX4-Autopilot/blob/master/src/drivers/tattu_can/TattuCan.cpp that show how to use the NuttX CAN driver directly (you have to manually disable UAVCAN first).

@henme1
Copy link
Author

henme1 commented Apr 11, 2022

I dont have any specifices on the motor and the motion controller.
I tought about the option to combine between motors with can open and pixhawk.
I saw on the internet some kinds of brushless dc motors that operate withe can open/

@dagar
Copy link
Member

dagar commented Apr 11, 2022

It's definitely possible, just don't expect it to be plug and play. Often those CAN messages are vendor proprietary so we'll have to take a closer look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants