Definition at line 82 of file crazyflie_server.cpp.
CrazyflieROS::CrazyflieROS | ( | const std::string & | link_uri, |
const std::string & | tf_prefix, | ||
float | roll_trim, | ||
float | pitch_trim, | ||
bool | enable_logging, | ||
bool | enable_parameters, | ||
std::vector< crazyflie_driver::LogBlock > & | log_blocks, | ||
bool | use_ros_time, | ||
bool | enable_logging_imu, | ||
bool | enable_logging_temperature, | ||
bool | enable_logging_magnetic_field, | ||
bool | enable_logging_pressure, | ||
bool | enable_logging_battery, | ||
bool | enable_logging_pose, | ||
bool | enable_logging_packets | ||
) | [inline] |
Definition at line 85 of file crazyflie_server.cpp.
struct CrazyflieROS::logImu CrazyflieROS::__attribute__ | ( | (packed) | ) | [private] |
struct CrazyflieROS::log2 CrazyflieROS::__attribute__ | ( | (packed) | ) | [private] |
struct CrazyflieROS::logPose CrazyflieROS::__attribute__ | ( | (packed) | ) | [private] |
void CrazyflieROS::cmdFullStateSetpoint | ( | const crazyflie_driver::FullState::ConstPtr & | msg | ) | [inline, private] |
Definition at line 320 of file crazyflie_server.cpp.
void CrazyflieROS::cmdHoverSetpoint | ( | const crazyflie_driver::Hover::ConstPtr & | msg | ) | [inline, private] |
Definition at line 220 of file crazyflie_server.cpp.
void CrazyflieROS::cmdPositionSetpoint | ( | const crazyflie_driver::Position::ConstPtr & | msg | ) | [inline, private] |
Definition at line 247 of file crazyflie_server.cpp.
void CrazyflieROS::cmdStop | ( | const std_msgs::Empty::ConstPtr & | msg | ) | [inline, private] |
Definition at line 236 of file crazyflie_server.cpp.
void CrazyflieROS::cmdVelChanged | ( | const geometry_msgs::Twist::ConstPtr & | msg | ) | [inline, private] |
Definition at line 306 of file crazyflie_server.cpp.
bool CrazyflieROS::emergency | ( | std_srvs::Empty::Request & | req, |
std_srvs::Empty::Response & | res | ||
) | [inline, private] |
Definition at line 202 of file crazyflie_server.cpp.
bool CrazyflieROS::goTo | ( | crazyflie_driver::GoTo::Request & | req, |
crazyflie_driver::GoTo::Response & | res | ||
) | [inline, private] |
Definition at line 765 of file crazyflie_server.cpp.
bool CrazyflieROS::land | ( | crazyflie_driver::Land::Request & | req, |
crazyflie_driver::Land::Response & | res | ||
) | [inline, private] |
Definition at line 747 of file crazyflie_server.cpp.
void CrazyflieROS::onConsole | ( | const char * | msg | ) | [inline, private] |
Definition at line 710 of file crazyflie_server.cpp.
void CrazyflieROS::onEmptyAck | ( | const crtpPlatformRSSIAck * | data | ) | [inline, private] |
Definition at line 697 of file crazyflie_server.cpp.
void CrazyflieROS::onGenericPacket | ( | const ITransport::Ack & | ack | ) | [inline, private] |
Definition at line 721 of file crazyflie_server.cpp.
void CrazyflieROS::onImuData | ( | uint32_t | time_in_ms, |
logImu * | data | ||
) | [inline, private] |
Definition at line 585 of file crazyflie_server.cpp.
void CrazyflieROS::onLinkQuality | ( | float | linkQuality | ) | [inline, private] |
Definition at line 704 of file crazyflie_server.cpp.
void CrazyflieROS::onLog2Data | ( | uint32_t | time_in_ms, |
log2 * | data | ||
) | [inline, private] |
Definition at line 610 of file crazyflie_server.cpp.
void CrazyflieROS::onLogCustom | ( | uint32_t | time_in_ms, |
std::vector< double > * | values, | ||
void * | userData | ||
) | [inline, private] |
Definition at line 681 of file crazyflie_server.cpp.
void CrazyflieROS::onPoseData | ( | uint32_t | time_in_ms, |
logPose * | data | ||
) | [inline, private] |
Definition at line 656 of file crazyflie_server.cpp.
void CrazyflieROS::poseMeasurementChanged | ( | const geometry_msgs::PoseStamped::ConstPtr & | msg | ) | [inline, private] |
Definition at line 361 of file crazyflie_server.cpp.
void CrazyflieROS::positionMeasurementChanged | ( | const geometry_msgs::PointStamped::ConstPtr & | msg | ) | [inline, private] |
Definition at line 354 of file crazyflie_server.cpp.
void CrazyflieROS::run | ( | ) | [inline, private] |
Definition at line 370 of file crazyflie_server.cpp.
bool CrazyflieROS::sendPacket | ( | crazyflie_driver::sendPacket::Request & | req, |
crazyflie_driver::sendPacket::Response & | res | ||
) | [inline] |
Service callback which transmits a packet to the crazyflie
req | The service request, which contains a crtpPacket to transmit. |
res | The service response, which is not used. |
Convert the message struct to the packet struct
Definition at line 160 of file crazyflie_server.cpp.
bool CrazyflieROS::setGroupMask | ( | crazyflie_driver::SetGroupMask::Request & | req, |
crazyflie_driver::SetGroupMask::Response & | res | ||
) | [inline, private] |
Definition at line 729 of file crazyflie_server.cpp.
bool CrazyflieROS::startTrajectory | ( | crazyflie_driver::StartTrajectory::Request & | req, |
crazyflie_driver::StartTrajectory::Response & | res | ||
) | [inline, private] |
Definition at line 803 of file crazyflie_server.cpp.
void CrazyflieROS::stop | ( | ) | [inline] |
Definition at line 147 of file crazyflie_server.cpp.
bool CrazyflieROS::stop | ( | crazyflie_driver::Stop::Request & | req, |
crazyflie_driver::Stop::Response & | res | ||
) | [inline, private] |
Definition at line 756 of file crazyflie_server.cpp.
bool CrazyflieROS::takeoff | ( | crazyflie_driver::Takeoff::Request & | req, |
crazyflie_driver::Takeoff::Response & | res | ||
) | [inline, private] |
Definition at line 738 of file crazyflie_server.cpp.
void CrazyflieROS::updateParam | ( | uint8_t | id, |
const std::string & | ros_param | ||
) | [inline, private] |
Definition at line 214 of file crazyflie_server.cpp.
bool CrazyflieROS::updateParams | ( | crazyflie_driver::UpdateParams::Request & | req, |
crazyflie_driver::UpdateParams::Response & | res | ||
) | [inline, private] |
Definition at line 261 of file crazyflie_server.cpp.
bool CrazyflieROS::uploadTrajectory | ( | crazyflie_driver::UploadTrajectory::Request & | req, |
crazyflie_driver::UploadTrajectory::Response & | res | ||
) | [inline, private] |
Definition at line 774 of file crazyflie_server.cpp.
Definition at line 863 of file crazyflie_server.cpp.
Crazyflie CrazyflieROS::m_cf [private] |
Definition at line 814 of file crazyflie_server.cpp.
bool CrazyflieROS::m_enable_logging_battery [private] |
Definition at line 826 of file crazyflie_server.cpp.
bool CrazyflieROS::m_enable_logging_imu [private] |
Definition at line 822 of file crazyflie_server.cpp.
bool CrazyflieROS::m_enable_logging_magnetic_field [private] |
Definition at line 824 of file crazyflie_server.cpp.
bool CrazyflieROS::m_enable_logging_packets [private] |
Definition at line 828 of file crazyflie_server.cpp.
bool CrazyflieROS::m_enable_logging_pose [private] |
Definition at line 827 of file crazyflie_server.cpp.
bool CrazyflieROS::m_enable_logging_pressure [private] |
Definition at line 825 of file crazyflie_server.cpp.
bool CrazyflieROS::m_enable_logging_temperature [private] |
Definition at line 823 of file crazyflie_server.cpp.
bool CrazyflieROS::m_enableLogging [private] |
Definition at line 818 of file crazyflie_server.cpp.
bool CrazyflieROS::m_enableParameters [private] |
Definition at line 819 of file crazyflie_server.cpp.
bool CrazyflieROS::m_isEmergency [private] |
Definition at line 815 of file crazyflie_server.cpp.
std::vector<crazyflie_driver::LogBlock> CrazyflieROS::m_logBlocks [private] |
Definition at line 820 of file crazyflie_server.cpp.
float CrazyflieROS::m_pitch_trim [private] |
Definition at line 817 of file crazyflie_server.cpp.
ros::Publisher CrazyflieROS::m_pubBattery [private] |
Definition at line 854 of file crazyflie_server.cpp.
ros::Publisher CrazyflieROS::m_pubImu [private] |
Definition at line 850 of file crazyflie_server.cpp.
std::vector<ros::Publisher> CrazyflieROS::m_pubLogDataGeneric [private] |
Definition at line 858 of file crazyflie_server.cpp.
ros::Publisher CrazyflieROS::m_pubMag [private] |
Definition at line 852 of file crazyflie_server.cpp.
ros::Publisher CrazyflieROS::m_pubPackets [private] |
Definition at line 856 of file crazyflie_server.cpp.
ros::Publisher CrazyflieROS::m_pubPose [private] |
Definition at line 855 of file crazyflie_server.cpp.
ros::Publisher CrazyflieROS::m_pubPressure [private] |
Definition at line 853 of file crazyflie_server.cpp.
ros::Publisher CrazyflieROS::m_pubRssi [private] |
Definition at line 857 of file crazyflie_server.cpp.
ros::Publisher CrazyflieROS::m_pubTemp [private] |
Definition at line 851 of file crazyflie_server.cpp.
float CrazyflieROS::m_roll_trim [private] |
Definition at line 816 of file crazyflie_server.cpp.
Definition at line 832 of file crazyflie_server.cpp.
bool CrazyflieROS::m_sentExternalPosition [private] |
Definition at line 860 of file crazyflie_server.cpp.
bool CrazyflieROS::m_sentSetpoint [private] |
Definition at line 860 of file crazyflie_server.cpp.
Definition at line 830 of file crazyflie_server.cpp.
Definition at line 839 of file crazyflie_server.cpp.
Definition at line 837 of file crazyflie_server.cpp.
Definition at line 835 of file crazyflie_server.cpp.
Definition at line 841 of file crazyflie_server.cpp.
Definition at line 838 of file crazyflie_server.cpp.
Definition at line 836 of file crazyflie_server.cpp.
Definition at line 831 of file crazyflie_server.cpp.
Definition at line 840 of file crazyflie_server.cpp.
Definition at line 844 of file crazyflie_server.cpp.
Definition at line 845 of file crazyflie_server.cpp.
Definition at line 847 of file crazyflie_server.cpp.
Definition at line 846 of file crazyflie_server.cpp.
Definition at line 843 of file crazyflie_server.cpp.
Definition at line 849 of file crazyflie_server.cpp.
Definition at line 848 of file crazyflie_server.cpp.
std::string CrazyflieROS::m_tf_prefix [private] |
Definition at line 813 of file crazyflie_server.cpp.
std::thread CrazyflieROS::m_thread [private] |
Definition at line 862 of file crazyflie_server.cpp.
bool CrazyflieROS::m_use_ros_time [private] |
Definition at line 821 of file crazyflie_server.cpp.