-
Notifications
You must be signed in to change notification settings - Fork 27
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
Copter: use 3DoF gimbal #59
Copter: use 3DoF gimbal #59
Conversation
Signed-off-by: Rhys Mainwaring <[email protected]>
@Ryanf55, I've just checked on an Ubuntu 22.04 VM (Gazebo Harmonic and ROS 2 Humble) - and is working after checking out the two branches and rebuilding. Can you please post the launch terminal log to help trace what might be going on. |
ardupilot_gz_logs.txt There's no /tf data or /tf_static data. |
The problem is here: [robot_state_publisher-6] [ERROR] [1730333584.404356089] [sdformat_urdf]: Failed to find sdf canonical link [base_link]
[robot_state_publisher-6] Failed to parse robot description using: sdformat_urdf_plugin/SDFormatURDFParser
[robot_state_publisher-6] terminate called after throwing an instance of 'std::runtime_error'
[robot_state_publisher-6] what(): Unable to initialize urdf::model from robot description Now I'm not sure why that is an issue on your install. It could be related to #49? Edit if I check out the [robot_state_publisher-6] [ERROR] [1730370408.367511000] [sdformat_urdf]: Failed to find sdf canonical link [base_link]
[robot_state_publisher-6] [WARN] [1730370408.367654000] [urdf]: Failed to parse robot description using: sdformat_urdf_plugin/SDFormatURDFParser
[robot_state_publisher-6]
[robot_state_publisher-6] libc++abi: terminating due to uncaught exception of type std::runtime_error: Unable to initialize urdf::model from robot description
[ERROR] [robot_state_publisher-6]: process has died [pid 87187, exit code -6, cmd '/Users/rhys/Code/ros2/rolling/ros2-rolling/install/robot_state_publisher/lib/robot_state_publisher/robot_state_publisher --ros-args -r __node:=robot_state_publisher --params-file /var/folders/_y/7tf19g6j2wgclxfy1m3nrr9m0000gn/T/launch_params_xo4lzeen --params-file /var/folders/_y/7tf19g6j2wgclxfy1m3nrr9m0000gn/T/launch_params_i4hxw6i3']. This is because One possibility is that your build / install is using the wrong branch of |
Does the gimbal respond to > rc 6 1500
> rc 7 1500
> rc 8 1500 |
With Not sure why the gimbal doesn't default to that. RC<5,7,8>_TRIM is 1500. |
Change the Iris model to use the 3DoF gimbal.
Dependencies
Testing
Launch simulation
and start a mavproxy interactive session to control: