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

[Bug] Offboard no signal when using real drone #24234

Open
Dobryng opened this issue Jan 20, 2025 · 2 comments
Open

[Bug] Offboard no signal when using real drone #24234

Dobryng opened this issue Jan 20, 2025 · 2 comments

Comments

@Dobryng
Copy link

Dobryng commented Jan 20, 2025

Describe the bug

I am a tertiary student doing a project with my team about ros2 and we wanted to use the Livox MID360 lidar on a UAV. Previously, we were using ROS 1 and Mavros to Offboard our UAV, but our supervisor decided that we should upgrade our UAV to be compatible with ROS2. After reading the ROS2-compatible PX4 packages, our team downloaded px4_ros_com with px4_msg packages and used the micro XRCE-DDS agent as a bridge to get the uORB topic into Ros2. We were able to simulate the drone in the gazebo simulator and we were able to code specific nodes for the simulation. Right now, we want to run the code for a real drone using a companion computer, in our case a Jetson Orin NX, and a Pixhawk 6C flight controller. But whenever we offboard, the QGC kept saying there wasn't any signal. It would be a great help if someone with experience in this field lend a helping hand.

To Reproduce

No response

Expected behavior

No response

Screenshot / Media

Flight Log

No response

Software Version

No response

Flight controller

No response

Vehicle type

None

How are the different components wired up (including port information)

No response

Additional context

No response

@Jaeyoung-Lim
Copy link
Member

@Dobryng In order to get help, you need to provide more information than your setup is not working.

Please provide flight logs, information of what you are doing, code snippets to explain what you are doing

@Dobryng
Copy link
Author

Dobryng commented Jan 21, 2025

Basically, i tried doing offboard using the default takeoff code given you first do the gitclone.

Image

We connected the jetson to the px4 via UART connection and ran the micro agent with the uart connection command, which was successful

Image

After doing some research, we realise that we needed local position data, so we use our Lidar odom and publish to the /fmu/in/vehicle_visual_odometry and was successful and we were able to run the listener command in the Marvlink console and get a feedback from px4 indicating that the publishing was a success. But the px4 odometry still uses the vehicle odometry, so I am not to sure how to proceed next

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

No branches or pull requests

2 participants