Skip to content

Instantly share code, notes, and snippets.

@scpeters
scpeters / aa_readme.md
Last active October 2, 2024 20:31
usda example with pendulums

I used the sdf2usd command from gz-usd to convert the mimic_fast_slow_pendulums_world.sdf example world from SDFormat to USD.

  • mimic_fast_slow_pendulums_world.usda has angular drives enabled for each joint that hold the joint positions to zero, preventing the pendulums from swinging.
  • mimic_fast_slow_pendulums_world_without_drives.usda has no angular drives (they were manually removed), so the pendulums swing in IsaacSim but energy is not conserved.
@scpeters
scpeters / gazebo_abi_log_X.txt
Created May 17, 2023 18:15
gazebo abi error log
Temporary header file '/tmp/rFHu_v4noc/dump1.h' with the following content will be compiled to create GCC translation unit dump:
// add includes
#include "/usr/local/destination_branch/include/gazebo-11/gazebo/util/util.hh"
#include "/usr/local/destination_branch/include/gazebo-11/gazebo/common/common.hh"
#include "/usr/local/destination_branch/include/gazebo-11/gazebo/gazebo.hh"
#include "/usr/local/destination_branch/include/gazebo-11/gazebo/gui/gui.hh"
#include "/usr/local/destination_branch/include/gazebo-11/gazebo/msgs/msgs.hh"
#include "/usr/local/destination_branch/include/gazebo-11/gazebo/ode/ode.h"
#include "/usr/local/destination_branch/include/gazebo-11/gazebo/physics/physics.hh"
$ install/ignition-transport10/lib/ignition/transport10/ign-transport-topic -t /bar -m ign_msgs.__bad_msg_type -p 'data:"good_value"'
Segmentation fault (core dumped)
@scpeters
scpeters / material_applied_to_named_visual.sdf
Created January 21, 2021 07:49
applying material properties to named and unnamed visuals in a urdf
<sdf version='1.7'>
<model name='urdf_gazebo_extension_test'>
<link name='link1a'>
<inertial>
<pose>0 -1.5 0 -2.14159 0.141593 0.858407</pose>
<mass>100</mass>
<inertia>
<ixx>2</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
@scpeters
scpeters / aa_create_venv.txt
Created December 22, 2020 01:03
problem with off-your-rocker
$ mkdir -p off_your_rocker/venv
$ cd off_your_rocker/venv
$ python3.7 -m venv .
@scpeters
scpeters / console.txt
Created December 2, 2020 18:11
brew bump-formula-pr failure
# BEGIN SECTION: call brew bump-formula-pr --write
+ /home/linuxbrew/.linuxbrew/bin/brew bump-formula-pr ignition-fuel-tools3 --write --url=https://osrf-distributions.s3.amazonaws.com/ign-fuel-tools/releases/ignition-fuel-tools3-3.5.0.tar.bz2 --sha256=78a636930bd357a8625f5e43802f150c834b719960af1e4ada6e6af3afc31493
==> replace /^ revision \d+\n(\n( head "))?/m with "\\2"
==> replace /https:\/\/osrf\-distributions\.s3\.amazonaws\.com\/ign\-fuel\-tools\/releases\/ignition\-fuel\-tools3\-3\.4\.0\.tar\.bz2/ with "https://osrf-distributions.s3.amazonaws.com/ign-fuel-tools/releases/ignition-fuel-tools3-3.5.0.tar.bz2"
==> replace "3cac0e59623d806b5e30d62b370666209b27ba373156c7337c37e9cbea03518a" with "78a636930bd357a8625f5e43802f150c834b719960af1e4ada6e6af3afc31493"
Fetching gem metadata from https://rubygems.org/.........
Using concurrent-ruby 1.1.7
Using minitest 5.14.2
Using thread_safe 0.3.6
Using zeitwerk 2.4.1
@scpeters
scpeters / utf8cpp_link_command.txt
Created October 14, 2020 17:28
ign-physics linking command that has error with utf8cpp
@scpeters
scpeters / codecheck.txt
Created October 9, 2020 22:21
make codecheck complaints for ign-sensors3
$ make codecheck
Scanning dependencies of target cpplint
/data_fast/scpeters/ws/ign-sensors/src/ign-sensors/include/ignition/sensors/AirPressureSensor.hh:17: #ifndef header guard has wrong style, please use: INCLUDE_IGNITION_SENSORS_AIRPRESSURESENSOR_HH_ [build/header_guard] [5]
/data_fast/scpeters/ws/ign-sensors/src/ign-sensors/include/ignition/sensors/AirPressureSensor.hh:88: #endif line should be "#endif // INCLUDE_IGNITION_SENSORS_AIRPRESSURESENSOR_HH_" [build/header_guard] [5]
/data_fast/scpeters/ws/ign-sensors/src/ign-sensors/include/ignition/sensors/AirPressureSensor.hh:22: Found C system header after C++ system header. Should be: AirPressureSensor.h, c system, c++ system, other. [build/include_order] [4]
/data_fast/scpeters/ws/ign-sensors/src/ign-sensors/include/ignition/sensors/AirPressureSensor.hh:24: Found C system header after C++ system header. Should be: AirPressureSensor.h, c system, c++ system, other. [build/include_order] [4]
/data_fast/scpeters/ws/ign-sensors/src/ign-sensors/include
@scpeters
scpeters / aa_linking_errors.txt
Created October 7, 2020 19:42
FCL linking errors when building ign-physics with dart from vcpkg on windows
Creating library C:/Users/scpet/Desktop/ws/ignition/build/ignition-physics3/lib/Release/ignition-physics3-dartsim-plugin.lib and object C:/Users/scpet/Desktop/ws/ignition/build/ignition-physics3/lib/Release/ignition-physics3-dartsim-plugin.exp
CustomMeshShape.obj : error LNK2001: unresolved external symbol "public: __cdecl aiNode::aiNode(void)" (??0aiNode@@QEAA@XZ) [C:\Users\scpet\Desktop\ws\ignition\build\ignition-physics3\dartsim\ignition-physics3-dartsim-plugin.vcxproj]
EntityManagementFeatures.obj : error LNK2001: unresolved external symbol "public: static class std::shared_ptr<class dart::collision::OdeCollisionDetector> __cdecl dart::collision::OdeCollisionDetector::create(void)" (?create@OdeCollisionDetector@collision@dart@@SA?AV?$shared_ptr@VOdeCollisionDetector@collision@dart@@@std@@XZ) [C:\Users\scpet\Desktop\ws\ignition\build\ignition-physics3\dartsim\ignition-physics3-dartsim-plugin.vcxproj]
dart.lib(MeshShape.obj) : error LNK2001: unresolved external symbol "public: __cdecl aiNode::~aiNode(v