You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would really like to achieve onboard control of PixHawk by Xavier NX via MAVROS.
I am new in PixHawk, ROS, MAVROS.
Please help me solve this problem.
Thank you very much.
The text was updated successfully, but these errors were encountered:
I want to connect PixHawk and Xavier NX through the serial port and send data through MavLink.
Now I have a problem.
I connect the PixHawk's serial port Telem2 to the Xavier NX's pin8, pin9, and pin10.
Then, I used QGC to set the parameters of PixHawk as shown in the figure below.
I have installed ROS and MAVROS on Xavier NX.
I modified the parameter fcu_url in px4.launch.
Then, the script px4.launch was executed.
Check the connection results through the commands rostopic echo /mavros/state and rostopic echo /diagnostics.
It seems the results were unsatisfactory.
Below is the detailed process.
I set the parameters of PixHawk on QGC as followed
![Screenshot from 2024-05-07 18-45-32](https://private-user-images.githubusercontent.com/65482805/328492655-73b9d7ba-6697-4dab-b461-9520bc73eed4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNTkxMTgsIm5iZiI6MTcyNTA1ODgxOCwicGF0aCI6Ii82NTQ4MjgwNS8zMjg0OTI2NTUtNzNiOWQ3YmEtNjY5Ny00ZGFiLWI0NjEtOTUyMGJjNzNlZWQ0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMwVDIzMDAxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY1NWM3ODE4NjdiZWZmZDUyMDVjZWU1YTNjZjM2NWMyNWQwMjY5NDQwYzE3NjNhMDBmNmMxNjU1NGIzYWI4YTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.uzMymxldVE5sfurXMF6_dNFO0yenjunUSDy8MYzTHLk)
![Screenshot from 2024-05-07 18-49-06](https://private-user-images.githubusercontent.com/65482805/328493722-af8590f6-d51b-4e14-a8ef-7be13e8d9979.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNTkxMTgsIm5iZiI6MTcyNTA1ODgxOCwicGF0aCI6Ii82NTQ4MjgwNS8zMjg0OTM3MjItYWY4NTkwZjYtZDUxYi00ZTE0LWE4ZWYtN2JlMTNlOGQ5OTc5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMwVDIzMDAxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAwYmY4YzY4ZDk5YzI4Nzk0M2ZlZDc1MWNhNGJlNmRiNmNlNmJmY2ZkYmE3NGFhYzlhMTRjYTQzNjY1OTZmZWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.CJ7mGsOiLUMnDsSrFEMSslX7K1YkAZ9QP1jNfWRoY_Q)
The result of command
![Screenshot from 2024-05-07 10-43-28](https://private-user-images.githubusercontent.com/65482805/328492030-0d9ff726-a926-4170-b7f4-31572f26be0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNTkxMTgsIm5iZiI6MTcyNTA1ODgxOCwicGF0aCI6Ii82NTQ4MjgwNS8zMjg0OTIwMzAtMGQ5ZmY3MjYtYTkyNi00MTcwLWI3ZjQtMzE1NzJmMjZiZTBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMwVDIzMDAxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJlZmVhMGY2YzAyNGQwNDQyNDkzYTQ3NDY4OTQyZTdlNzZkYWI4MzM3ZjQ2MzE1MjlhNDQ2Y2JjNWQyZDFhZjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ZxE3VHmg-6A3DD8SCTqvne2Bv746p1VQGYe2oCDdAuk)
mavlink status
run on QGCThen I run command
roslaunch mavros px4.launch
The output of
rostopic echo /mavros/state
The output
rostopic echo /diagnostics
I would really like to achieve onboard control of PixHawk by Xavier NX via MAVROS.
I am new in PixHawk, ROS, MAVROS.
Please help me solve this problem.
Thank you very much.
The text was updated successfully, but these errors were encountered: