MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/SOAR / cmd_callback

Function cmd_callback

src/simulator/cascadePID/src/cascadePID_node.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32geometry_msgs::PoseStamped pose_cmd;
33int control_flag = 0;
34void cmd_callback(const geometry_msgs::PoseStamped &msg) {
35 pose_cmd = msg;
36 control_flag = 1;
37}
38
39void fuel_position_cmd_callback(
40 const quadrotor_msgs::PositionCommand::ConstPtr &cmd) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected