mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 01:04:19 +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 */
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user