Thank for you answer and sorry for the delay I didn't reveive any notification on your first reply.
I flashed everything by following the procedure here :02 Initial Setup · intel-aero/meta-intel-aero Wiki · GitHub
So I suppose my set up is up to date.
The cmd aero-get-version.py from the intel aero compute board give (this command is not found from my computer):
Does it help?
Note that when I am trying to transfert a program from matlab the drone is connect to the computer from OTG to USB cable.
Thank you for your support,
Thank you for your reply.
It may be possible if there is a plug in for Matlab that supports Mavlink messages but we haven't tested the setup you are trying to use.
If you are connecting the drone to the computer through the OTG USB cable it will connect to the compute board but it won't connect to the flight controller so you need to connect to the flight controller by opening a terminal, connecting to the RTF through SSH and then use Mavlink in the terminal to connect to the flight controller.
Again, this hasn't been tested so we can't guarantee that it works.
Also how are you uploading the code to the flight controller on a regular pixhawk?
Thank you for your reply and your time.
When trying to perform the procedure (build, then code>PX4 PSP: upload code to Px4 FMU)to a regular pixhawk the program display the following message :
When I set "build, load and run" instead of "build" Figure 1 I obtain :
I'm able to connect to the intel drone by ssh. But I don't know how to use Mavlink in the terminal to connect to the flight controller. Can you tell me how to do that or is it explain somewhere ?
Thank you for your patience.
On the rtf, the board should already communicate with the FC if you have updated the firmware.
Check if the system is listening for MAVLink messages on port 5760 thanks to MAVLink router (for the Ready To Fly Drone only):
netstat -l|grep 5760
you should see:
tcp 0 0 *:5760 *:* LISTEN
If not, it's a problem. (You may have booted the wrong kernel, or something else is wrong)
The board communicates with the FC over the HSUART port. If you want to use a Pixhawk FC instead of the one in the RTF you can try the steps below also found on our wiki: https://github.com/intel-aero/meta-intel-aero/wiki/93-(References)-Pixhawk-FC
Depending on your use case, you can either disable the mavlink-router daemon and consume HSUART (/dev/ttyS1) locally on the Aero Compute Board OR configure mavlink-router to route incoming messages from the flight controller to Aero’s access point, allowing you to communicate to the flight controller over WiFi.
Disabling mavlink router
From Aero’s Linux shell, disable the mavlink-router daemon to free up the HSUART port. You can disable it with the following command.
Configuring mavlink router
By default, mavlink router is already setup to route packets between the flight controller and different IP endpoints. The only modification needed is to set the correct baud rate to be used on the HSUART. Normally, this is 57600 but can be different depending on how you configure Pixhawk.
Edit the file
/etc/mavlink-router/main.confand update the following with the correct baud.
Device = /dev/ttyS1
Baud = 57600
Restart mavlink router
Hope this helps.