33 #include <xpp_msgs/RobotStateJoint.h> 40 int main(
int argc,
char *argv[])
57 base.
lin.
p_.x() = 1.0/T*t;
59 double roll = 30./180*M_PI*
sin(t);
65 xpp_msgs::RobotStateJoint msg;
67 bag.
write(
"xpp/joint_quadrotor_des", timestamp, msg);
79 int success = system((
"rosbag play " + bag_file).c_str());
static xpp_msgs::StateLin3d ToRos(const StateLin3d &xpp)
void open(std::string const &filename, uint32_t mode=bagmode::Read)
std::string getFileName() const
static Quaterniond GetQuaternionFromEulerZYX(double yaw, double pitch, double roll)
int main(int argc, char *argv[])
INLINE Rall1d< T, V, S > sin(const Rall1d< T, V, S > &arg)
void write(std::string const &topic, ros::MessageEvent< T > const &event)