Skip to content

Commit

Permalink
[ros] fix simSetCameraPose bug (#2874)
Browse files Browse the repository at this point in the history
  • Loading branch information
madratman authored Jul 22, 2020
1 parent 040a08a commit bb6a5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros/src/airsim_ros_pkgs/src/airsim_ros_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ void AirsimROSWrapper::update_commands()
if (has_gimbal_cmd_)
{
std::lock_guard<std::mutex> guard(drone_control_mutex_);
airsim_client_.simSetCameraPose(gimbal_cmd_.camera_name, get_airlib_pose(0, 0, 0, gimbal_cmd_.target_quat), gimbal_cmd_.vehicle_name);
airsim_client_->simSetCameraPose(gimbal_cmd_.camera_name, get_airlib_pose(0, 0, 0, gimbal_cmd_.target_quat), gimbal_cmd_.vehicle_name);
}

has_gimbal_cmd_ = false;
Expand Down

0 comments on commit bb6a5f9

Please sign in to comment.