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

Gazebo config simulation example #63

Open
RPS98 opened this issue Jun 20, 2024 · 0 comments
Open

Gazebo config simulation example #63

RPS98 opened this issue Jun 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@RPS98
Copy link
Contributor

RPS98 commented Jun 20, 2024

Fix example:
https://aerostack2.github.io/_03_aerial_platforms/_gazebo_simulation/index.html#config-simulation

With PR: aerostack2/aerostack2#500

Current error:

root@rafa:~/project_gazebo# ros2 launch as2_gazebo_assets launch_simulation.py use_sim_time:=true simulation_config_file:=sim_config/world.json 
[INFO] [launch]: All log files can be found below /root/.ros/log/2024-06-20-16-10-48-595815-rafa-1161
[INFO] [launch]: Default logging verbosity is set to INFO

[INFO] [ruby $(which gz) sim-1]: process started with pid [1165]
[INFO] [monitor_sim-2]: process started with pid [1167]
[INFO] [create-3]: process started with pid [1170]
[INFO] [parameter_bridge-4]: process started with pid [1172]
[parameter_bridge-4] [INFO] [1718899848.819939799] [world.ros_gz_bridge]: Creating GZ->ROS Bridge: [/clock (ignition.msgs.Clock) -> /clock (rosgraph_msgs/msg/Clock)] (Lazy 0)
[ruby $(which gz) sim-1] QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[create-3] [INFO] [1718899849.370233991] [ros_gz_sim]: Requested creation of entity.
[create-3] [INFO] [1718899849.370367547] [ros_gz_sim]: OK creation of entity.
[INFO] [create-3]: process has finished cleanly [pid 1170]
[ruby $(which gz) sim-1] libEGL warning: egl: failed to create dri2 screen
[ruby $(which gz) sim-1] libEGL warning: egl: failed to create dri2 screen
[ruby $(which gz) sim-1] Warning [Utils.cc:132] [/sdf/model[@name="quadrotor_name"]/model[@name="air_pressure"]/link[@name="internal"]/sensor[@name="air_pressure"]/air_pressure/noise:/root/aerostack2_ws/install/as2_gazebo_assets/share/as2_gazebo_assets/models/quadrotor_base/quadrotor_base.sdf:L181]: XML Element[noise], child of element[air_pressure], not defined in SDF. Copying[noise] as children of [air_pressure].
[ruby $(which gz) sim-1] [Err] [UserCommands.cc:1145] Error Code 14: [/sdf/model[@name="drone_sim_0"]/model[@name="gimbal"]/model[@name="_0"]/model[@name="_1"]/model[@name="_2"]/include[0]/uri:/tmp/quadrotor_base_0.sdf:L252]: Msg: Unable to find uri[model://hd_camera0]
[ruby $(which gz) sim-1] [Err] [UserCommands.cc:1145] Error Code 20: Msg: Child frame with name[gimbal::_0::_1::_2::hd_camera0::hd_camera0] specified by joint with name[hd_camera0_joint] not found in model with name[drone_sim_0].
[ruby $(which gz) sim-1] [Err] [UserCommands.cc:1145] Error Code 25: Msg: FrameAttachedToGraph error, Non-LINK vertex with name [drone_sim_0::hd_camera0_joint] is disconnected; it should have 1 outgoing edge in MODEL attached_to graph.
[ruby $(which gz) sim-1] [Err] [UserCommands.cc:1145] Error Code 25: Msg: Graph has __model__ scope but sink vertex named [drone_sim_0::hd_camera0_joint] does not have FrameType LINK or STATIC_MODEL when starting from vertex with name [drone_sim_0::hd_camera0_joint].
[ruby $(which gz) sim-1] [Err] [UserCommands.cc:1145] Error Code 26: Msg: relative_to name[gimbal::_0::_1::_2::hd_camera0::hd_camera0] specified by joint with name[hd_camera0_joint] does not match a nested model, link, joint, or frame name in model with name[drone_sim_0].
[ruby $(which gz) sim-1] [Err] [UserCommands.cc:1145] Error Code 28: Msg: PoseRelativeToGraph error, Vertex with name [drone_sim_0::hd_camera0_joint] is disconnected; it should have 1 incoming edge in MODEL relative_to graph.
[ruby $(which gz) sim-1] [Err] [UserCommands.cc:1145] Error Code 28: Msg: PoseRelativeToGraph unable to find path to source vertex when starting from vertex with id [20].
[ruby $(which gz) sim-1] [Err] [UserCommands.cc:1145] Error Code 20: Msg: child frame with name[gimbal::_0::_1::_2::hd_camera0::hd_camera0] specified by joint with name[hd_camera0_joint] not found in model with name[drone_sim_0].
[ruby $(which gz) sim-1] [Err] [UserCommands.cc:1145] Error Code 23: Msg: FrameAttachedToGraph unable to find unique frame with name [gimbal::_0::_1::_2::hd_camera0::hd_camera0] in graph.
@RPS98 RPS98 added the bug Something isn't working label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants