mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 09:13:34 +08:00
astyle src/platforms/ros
This commit is contained in:
committed by
Lorenz Meier
parent
624403f147
commit
ca60d2d15f
+1
-1
@@ -65,7 +65,7 @@ int DemoOffboardAttitudeSetpoints::main()
|
|||||||
|
|
||||||
/* Publish example offboard attitude setpoint */
|
/* Publish example offboard attitude setpoint */
|
||||||
geometry_msgs::PoseStamped pose;
|
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);
|
0.0);
|
||||||
quaternionTFToMsg(q, pose.pose.orientation);
|
quaternionTFToMsg(q, pose.pose.orientation);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user