leggedrobotics / xpp

Visualization of Motions for Legged Robots in ros-rviz
http://wiki.ros.org/xpp
BSD 3-Clause "New" or "Revised" License
317 stars 99 forks source link

Crashed when load node in launch file? #9

Closed littleggghost closed 5 years ago

littleggghost commented 5 years ago

Hi, @awinkler I followed your "xpp_examples/src/monoped_pub.cc" and build a new file named "xpp_examples/src/biped_pub.cc" with "RobotStateCartesian hopper(2)". I'm sure that I modified correct "CMakeLists.txt" file and add correct launch file.

If I load this node not in launch file, then it works fine. But if I load this node in launch file, then it would crashed. The full error code: "rviz: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreNode.cpp:385: virtual void Ogre::Node::setOrientation(const Ogre::Quaternion&): Assertion `!q.isNaN() && "Invalid orientation supplied as parameter"' failed."

Did I miss something? Hope for your reply!