Skip to content

Commit

Permalink
Fixed time types and a few other merging errors while compiling execu…
Browse files Browse the repository at this point in the history
…tive
  • Loading branch information
ana-GT committed Dec 12, 2024
1 parent f5f7c8d commit 5b4b29c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 26 deletions.
2 changes: 1 addition & 1 deletion communications/ff_msgs/msg/CombinedNavState.msg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# License for the specific language governing permissions and limitations
# under the License.
#
Header header
std_msgs/Header header
geometry_msgs/PoseWithCovarianceStamped pose
VelocityWithCovariance velocity
ImuBiasWithCovariance imu_bias
Expand Down
2 changes: 1 addition & 1 deletion communications/ff_msgs/msg/CombinedNavStateArray.msg
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# License for the specific language governing permissions and limitations
# under the License.
#
Header header
std_msgs/Header header
CombinedNavState[] combined_nav_states
2 changes: 1 addition & 1 deletion communications/ff_msgs/msg/PoseCovarianceStamped.msg
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
#

float64[36] covariance
time time
builtin_interfaces/Time time
19 changes: 1 addition & 18 deletions management/executive/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,11 @@ install(TARGETS ${PROJECT_NAME}
# Install C++ executables
install(TARGETS data_to_disk_pub DESTINATION bin)
install(TARGETS plan_pub DESTINATION bin)
<<<<<<< HEAD
install(TARGETS simple_move DESTINATION lib/${PROJECT_NAME})
install(TARGETS teleop_tool RUNTIME DESTINATION lib/${PROJECT_NAME})
#install(TARGETS zones_pub DESTINATION bin)
install(TARGETS zones_pub DESTINATION lib/${PROJECT_NAME})
#install(CODE "execute_process(
# COMMAND ln -s ../../bin/data_to_disk_pub share/${PROJECT_NAME}
# COMMAND ln -s ../../bin/ekf_switch_mux share/${PROJECT_NAME}
# COMMAND ln -s ../../bin/plan_pub share/${PROJECT_NAME}
# COMMAND ln -s ../../bin/simple_move share/${PROJECT_NAME}
# COMMAND ln -s ../../bin/teleop_tool share/${PROJECT_NAME}
Expand All @@ -155,21 +153,6 @@ install(TARGETS teleop_tool RUNTIME DESTINATION lib/${PROJECT_NAME})
# OUTPUT_QUIET
# ERROR_QUIET
# )")
=======
install(TARGETS simple_move DESTINATION bin)
install(TARGETS teleop_tool DESTINATION bin)
install(TARGETS zones_pub DESTINATION bin)
install(CODE "execute_process(
COMMAND ln -s ../../bin/data_to_disk_pub share/${PROJECT_NAME}
COMMAND ln -s ../../bin/plan_pub share/${PROJECT_NAME}
COMMAND ln -s ../../bin/simple_move share/${PROJECT_NAME}
COMMAND ln -s ../../bin/teleop_tool share/${PROJECT_NAME}
COMMAND ln -s ../../bin/zones_pub share/${PROJECT_NAME}
WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}
OUTPUT_QUIET
ERROR_QUIET
)")
>>>>>>> upstream/develop

# Mark launch files for installation
install(DIRECTORY include/${PROJECT_NAME}
Expand Down
6 changes: 3 additions & 3 deletions management/executive/include/executive/executive.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,14 +346,14 @@ class Executive : public ff_util::FreeFlyerComponent {
FreeFlyerServiceClient<ff_hw_msgs::srv::ConfigurePayloadPower>
payload_power_client_;
FreeFlyerServiceClient<ff_hw_msgs::srv::SetEnabled> pmc_enable_client_;
FreeFlyerServiceClient<ff_hw_msgs::srv::SetExposure> set_dock_cam_exposure_client_;
FreeFlyerServiceClient<ff_hw_msgs::srv::SetExposure> set_nav_cam_exposure_client_;
FreeFlyerServiceClient<ff_msgs::srv::SetExposure> set_dock_cam_exposure_client_;
FreeFlyerServiceClient<ff_msgs::srv::SetExposure> set_nav_cam_exposure_client_;
FreeFlyerServiceClient<ff_msgs::srv::SetInertia> set_inertia_client_;
FreeFlyerServiceClient<ff_msgs::srv::SetRate> set_rate_client_;
FreeFlyerServiceClient<ff_msgs::srv::SetDataToDisk> set_data_client_;
FreeFlyerServiceClient<ff_msgs::srv::EnableRecording>
enable_recording_client_;
FreeFlyerServiceClient<ff_msgs::srv::ResetMap> reset_map_client_
FreeFlyerServiceClient<ff_msgs::srv::ResetMap> reset_map_client_;
FreeFlyerServiceClient<ff_hw_msgs::srv::ClearTerminate> eps_terminate_client_;
FreeFlyerServiceClient<ff_msgs::srv::ResponseOnly>
enable_astrobee_intercommunication_client_;
Expand Down
4 changes: 2 additions & 2 deletions management/executive/src/executive.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@ bool Executive::AutoReturn(ff_msgs::msg::CommandStamped::SharedPtr const cmd) {
// command is received without a berth, set it to 0
if (cmd->args.size() != 1) {
cmd->args.resize(1);
cmd->args[0].data_type = ff_msgs::CommandArg::DATA_TYPE_INT;
cmd->args[0].data_type = ff_msgs::msg::CommandArg::DATA_TYPE_INT;
cmd->args[0].i = 1;
}
if (!FillDockGoal(cmd, true)) {
Expand Down Expand Up @@ -2650,7 +2650,7 @@ bool Executive::SetEnableReplan(
}

bool Executive::SetExposure(ff_msgs::msg::CommandStamped::SharedPtr const cmd) {
NODELET_INFO("Executive executing set exposure command!");
FF_INFO("Executive executing set exposure command!");
std::string err_msg = "";
uint8_t completed_status = ff_msgs::msg::AckCompletedStatus::EXEC_FAILED;
bool successful = false;
Expand Down

0 comments on commit 5b4b29c

Please sign in to comment.