mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
astyle src/platforms/ros
This commit is contained in:
parent
624403f147
commit
ca60d2d15f
@ -65,7 +65,7 @@ int DemoOffboardAttitudeSetpoints::main()
|
||||
|
||||
/* Publish example offboard attitude setpoint */
|
||||
geometry_msgs::PoseStamped pose;
|
||||
tf::Quaternion q = tf::createQuaternionFromRPY(0.0, 0.1 * (sinf(0.5 * (float)px4::get_time_micros() / 1000000.0f)) ,
|
||||
tf::Quaternion q = tf::createQuaternionFromRPY(0.0, 0.1 * (sinf(0.5 * (float)px4::get_time_micros() / 1000000.0f)),
|
||||
0.0);
|
||||
quaternionTFToMsg(q, pose.pose.orientation);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user