Comments (4)
your link points to a repo, not to a piece of source code.
from drake-external-examples.
I wanted to put all files
code:
https://github.com/CatchMeFastFat/drake-shambhala-example/blob/master/src/main/demo.cpp#L64
cmakelist:
cmakelist
I didn't change anything only changed include headers when needed.
This method can only be used with URDF models that either (1) do not use package:// to reference modeling resources like mesh files, or (2) only reference packages that are defined up the directory tree relative to urdf_filename. URDF files that contain package:// references that do not meet these requirements should instead use AddModelInstanceFromUrdfFileSearchingInRosPackages().
and Pendulum.urdfhas
<gazebo>
<plugin filename="libgazebo_ros_pub_robot_state.so" name="gazebo_ros_pub_robot_controller">
<alwaysOn>true</alwaysOn>
<updateRate>100.0</updateRate>
<topicName>true_robot_state</topicName>
</plugin>
</gazebo>
https://github.com/RobotLocomotion/drake/blob/master/examples/pendulum/passive_simulation.cc#L29
Why plugin used then called parsers::urdf::AddModelInstanceFromUrdfFileToWorld
?
from drake-external-examples.
update:
segfault debug
0x00000000009ced86 in drake::TypeSafeIndexdrake::systems::SystemConstraintTag::AssertValid (this=0x0, source=0xb29389 "Converting to an int.")
at /home/drake/drake-build/include/drake/common/type_safe_index.h:420
420 if (index_ < 0) {
(gdb) where
#0 0x00000000009ced86 in drake::TypeSafeIndexdrake::systems::SystemConstraintTag::AssertValid (this=0x0, source=0xb29389 "Converting to an int.")
at /home/drake/drake-build/include/drake/common/type_safe_index.h:420
#1 0x00000000009c33bd in drake::TypeSafeIndexdrake::systems::SystemConstraintTag::operator int (this=0x0)
at /home/drake/drake-build/include/drake/common/type_safe_index.h:198
#2 0x0000000000a06054 in drake::systems::Systemdrake::symbolic::Expression::get_constraint (this=0xeb8c50,
constraint_index=<error reading variable: Cannot access memory at address 0x0>)
at /home/drake/drake-build/include/drake/systems/framework/system.h:1016
#3 0x00007ffff73f1b0a in drake::systems::SystemSymbolicInspector::SystemSymbolicInspector(drake::systems::Systemdrake::symbolic::Expression const&) ()
from /home/drake/drake-build/lib/libdrake.so
#4 0x0000000000b1dba1 in std::make_unique<drake::systems::SystemSymbolicInspector, drake::systems::Systemdrake::symbolic::Expression&> ()
at /usr/include/c++/5/bits/unique_ptr.h:765
#5 0x0000000000b1b9e7 in drake::systems::LeafSystem::MakeSystemSymbolicInspector (this=0xeae170)
at /home/drake/drake-build/include/drake/systems/framework/leaf_system.h:1524
from drake-external-examples.
It's now working by reinstalling using cmake.
from drake-external-examples.
Related Issues (20)
- Depends on RBT code that has been removed from drake
- drake_bazel_external fails in debug builds HOT 5
- [Question] Ubuntu 16.04 HOT 1
- make is not working: clp HOT 1
- [drake_bazel_installed] Compile Error when using a stable Drake installed from APT (focal:0.35.0-1) HOT 2
- [drake_bazel_installed] C++ Examples for Bazel when Using with Installed Package HOT 2
- [drake-bazel-installed] Python examples all fail to import pydrake HOT 3
- [drake_cmake_installed] CMake error when building in release mode HOT 4
- Upgrade CI testing to use Ubuntu 20 (focal)
- Update supported MacOS from Catalina to Big Sur
- Possibly Revert #229 Back to Official HOT 1
- [drake_cmake_installed] CMake error when make in release mode HOT 3
- The drake_cmake_installed example Particle does not plot in visualizer HOT 2
- drake_bazel_installed doesn't work well HOT 1
- Re-license to MIT-0 HOT 1
- [drake_cmake_installed] Python version misdetection HOT 2
- Tutorials for getting up and running. HOT 1
- Example for PyPI workflow
- drake_bazel_external warnings about reproducibility HOT 1
- Where are the executables using drake_cmake_external?? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drake-external-examples.