-
Notifications
You must be signed in to change notification settings - Fork 24
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
Rover: add lidar to rover example #34
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well, only thing was for building, do this instead of what you said:
colcon build --packages-up-to ardupilot_gz_bringup
Do you intend to add the models repo to here: https://raw.githubusercontent.com/ArduPilot/ardupilot_gz/main/ros2_gz.repos
?
When testing, looks a package wasn't built that needed to be. ros_gz_bridge
was missing as a dependency, even before your PR. Here's a patch: srmainwaring#1
ryan@B650-970:~/Dev/ros2_ws$ ros2 launch ardupilot_gz_bringup wildthumper_playpen.launch.py rviz:=true use_gz_tf:=true
[INFO] [launch]: All log files can be found below /home/ryan/.ros/log/2023-10-24-20-22-46-006796-B650-970-94165
[INFO] [launch]: Default logging verbosity is set to INFO
namespace:
transport: udp4
middleware: dds
verbose: 4
discovery: 7400
port: 2019
refs: /home/ryan/Dev/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/dds_xrce_profile.xml
command: ardurover
model: json
speedup: 1
slave: 0
sim_address: 127.0.0.1
instance: 0
defaults: /home/ryan/Dev/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/rover-skid.parm,/home/ryan/Dev/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
synthetic_clock: True
command: mavproxy.py
master: tcp:127.0.0.1:5760
sitl: 127.0.0.1:5501
[ERROR] [launch]: Caught exception in launch (see debug for traceback): "package 'ros_gz_bridge' not found, searching: ['/home/ryan/Dev/ros2_ws/install/ardupilot_gz_bringup', '/home/ryan/Dev/ros2_ws/install/ros_gz_sim', '/home/ryan/Dev/ros2_ws/install/ardupilot_sitl', '/home/ryan/Dev/ros2_ws/install/micro_ros_agent', '/home/ryan/Dev/ros2_ws/install/ardupilot_sitl_models', '/home/ryan/Dev/ros2_ws/install/ardupilot_msgs', '/home/ryan/Dev/ros2_ws/install/ardupilot_gz_gazebo', '/home/ryan/Dev/ros2_ws/install/ardupilot_gz_description', '/opt/ros/humble']"
Merged and updated in PR. |
d419930
to
7860024
Compare
|
With latest changes:
Perhaps add this to the workspace or package.xml if binaries are available? |
Ah, thought I'd added |
Seems like it's an issue for |
No, wasn't missed. A dependency on ardupilot_gz/ardupilot_gz_bringup/package.xml Lines 9 to 22 in 6057dfa
|
Ah my bad, I missed the rosdep call. Alright, after re-running that, robot_state_publisher is crashing. Same behavior on
This is with the command in the README. |
0743b7c
to
869fced
Compare
Signed-off-by: Rhys Mainwaring <[email protected]> Rover: add SITL_Models to ros2 repos Signed-off-by: Rhys Mainwaring <[email protected]>
869fced
to
4c1a946
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a follow up to #33 that adds a lidar to the rover model. It enables the rover model to be used with the cartographer and navigation launch configurations developed by @pedro-fuoco as part of his 2023 GSoC project.
Dependencies
For testing and further details see the descriptions in the above PRs.
Tasks