Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/Link.cc b/src/Link.cc
index c74783a1..7c5a342b 100644
--- a/src/Link.cc
+++ b/src/Link.cc
@@ -80,6 +80,9 @@ class sdf::Link::Implementation
/// \brief Scoped Pose Relative-To graph at the parent model scope.
public: sdf::ScopedGraph<sdf::PoseRelativeToGraph> poseRelativeToGraph;
+
+ public: bool autoInertia = false;
[GUI] [Err] [Ogre2RenderEngine.cc:1113] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /home/jenkins/workspace/ogre-2.3-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3434)
[GUI] [Err] [Ogre2RenderEngine.cc:1113] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /home/jenkins/workspace/ogre-2.3-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 3434)
[GUI] [Err] [Ogre2RenderEngine.cc:1113] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): OpenGL 3.3 is not supported. Please update your graphics card drivers. in GL3PlusRenderSystem::initialiseContext at /home/jenkins/workspace/ogre-2.3-debbuilder/repo/RenderSystems/GL3Plus/src/OgreGL3P
@azeey
azeey / gist:cca4055cc191d13742cd90becc845479
Last active January 25, 2021 23:12
Dart memory error
build valgrind ./test1
==4215== Memcheck, a memory error detector
==4215== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==4215== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==4215== Command: ./test1
==4215==
==4215== Invalid read of size 4
==4215== at 0x5131230: dart::dynamics::SkeletonRefCountingBase::decrementReferenceCount() const (BodyNode.cpp:144)
==4215== by 0x11B1D2: dart::dynamics::TemplateBodyNodePtr<dart::dynamics::BodyNode>::set(dart::dynamics::BodyNode*) (in /home/developer/build/test1)
==4215== by 0x119922: dart::dynamics::TemplateBodyNodePtr<dart::dynamics::BodyNode>::~TemplateBodyNodePtr() (in /home/developer/build/test1)
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
@azeey
azeey / ros2_rclcpp_PR1241.repos
Created November 20, 2020 21:50
rclcpp at PR 1241
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
@azeey
azeey / ros2.repos
Created November 18, 2020 20:45
ros2.repos with rclcpp PR 1404
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
@azeey
azeey / ros2.repos
Last active November 18, 2020 20:40
ros2 with rclcpp at 27d1b11647adaa7933c00d0c4a399a783fa09b9f and system_tests at 15d3d6ebd13690217506ee09e2f8dfb4759df8f1
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
@azeey
azeey / glxinfo
Last active August 18, 2020 15:19
Intel UHD Graphics 620 not supported by Ignition Rendering Ogre2
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
<sdf version='1.7'>
<world name='conveyor_with_box'>
<physics name='physics_settings' type='dart'>
<max_step_size>0.001</max_step_size>
<real_time_factor>1</real_time_factor>
<real_time_update_rate>1000</real_time_update_rate>
</physics>
<plugin name='ignition::gazebo::systems::Physics' filename='libignition-gazebo-physics-system.so'/>
<plugin name='ignition::gazebo::systems::UserCommands' filename='libignition-gazebo-user-commands-system.so'/>
<plugin name='ignition::gazebo::systems::SceneBroadcaster' filename='libignition-gazebo-scene-broadcaster-system.so'/>
@azeey
azeey / mSkeletonSources
Created January 29, 2020 18:02
Debugging mSkeletonSource
Subscribing to skel: tile_24..failed
skel addr: 0x7fbef5ef3440
mSkeletonSources key | current skeleton name (----- is used if the skeleton no longer exists, **** is used if the address already exists in mSkeletonSources)
=================== | ============
7fbee0122f30 | tile_19
7fbeead07cc0 | tile_31
7fbeead17f00 | tile_30
7fbeebc68e20 | tile_18
7fbeebc6a2d0 | tile_28