Classes | |
struct | log2 |
struct | logImu |
struct | logPose |
Public Member Functions | |
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) | |
bool | sendPacket (crazyflie_driver::sendPacket::Request &req, crazyflie_driver::sendPacket::Response &res) |
void | stop () |
Private Member Functions | |
struct CrazyflieROS::logImu | __attribute__ ((packed)) |
struct CrazyflieROS::log2 | __attribute__ ((packed)) |
struct CrazyflieROS::logPose | __attribute__ ((packed)) |
void | cmdFullStateSetpoint (const crazyflie_driver::FullState::ConstPtr &msg) |
void | cmdHoverSetpoint (const crazyflie_driver::Hover::ConstPtr &msg) |
void | cmdPositionSetpoint (const crazyflie_driver::Position::ConstPtr &msg) |
void | cmdStop (const std_msgs::Empty::ConstPtr &msg) |
void | cmdVelChanged (const geometry_msgs::Twist::ConstPtr &msg) |
void | cmdVelocityWorldSetpoint (const crazyflie_driver::VelocityWorld::ConstPtr &msg) |
bool | emergency (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res) |
bool | goTo (crazyflie_driver::GoTo::Request &req, crazyflie_driver::GoTo::Response &res) |
bool | land (crazyflie_driver::Land::Request &req, crazyflie_driver::Land::Response &res) |
bool | notifySetpointsStop (crazyflie_driver::NotifySetpointsStop::Request &req, crazyflie_driver::NotifySetpointsStop::Response &res) |
void | onConsole (const char *msg) |
void | onEmptyAck (const crtpPlatformRSSIAck *data) |
void | onGenericPacket (const ITransport::Ack &ack) |
void | onImuData (uint32_t time_in_ms, logImu *data) |
void | onLinkQuality (float linkQuality) |
void | onLog2Data (uint32_t time_in_ms, log2 *data) |
void | onLogCustom (uint32_t time_in_ms, std::vector< double > *values, void *userData) |
void | onPoseData (uint32_t time_in_ms, logPose *data) |
void | poseMeasurementChanged (const geometry_msgs::PoseStamped::ConstPtr &msg) |
void | positionMeasurementChanged (const geometry_msgs::PointStamped::ConstPtr &msg) |
void | run () |
bool | setGroupMask (crazyflie_driver::SetGroupMask::Request &req, crazyflie_driver::SetGroupMask::Response &res) |
bool | startTrajectory (crazyflie_driver::StartTrajectory::Request &req, crazyflie_driver::StartTrajectory::Response &res) |
bool | stop (crazyflie_driver::Stop::Request &req, crazyflie_driver::Stop::Response &res) |
bool | takeoff (crazyflie_driver::Takeoff::Request &req, crazyflie_driver::Takeoff::Response &res) |
template<class T , class U > | |
void | updateParam (uint16_t id, const std::string &ros_param) |
bool | updateParams (crazyflie_driver::UpdateParams::Request &req, crazyflie_driver::UpdateParams::Response &res) |
bool | uploadTrajectory (crazyflie_driver::UploadTrajectory::Request &req, crazyflie_driver::UploadTrajectory::Response &res) |
Definition at line 84 of file crazyflie_server.cpp.
|
inline |
Definition at line 87 of file crazyflie_server.cpp.
|
private |
|
private |
|
private |
|
inlineprivate |
Definition at line 324 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 224 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 251 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 240 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 310 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 358 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 206 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 788 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 770 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 835 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 733 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 720 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 744 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 608 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 727 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 633 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 704 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 679 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 382 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 375 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 391 of file crazyflie_server.cpp.
|
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 164 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 752 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 826 of file crazyflie_server.cpp.
|
inline |
Definition at line 151 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 779 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 761 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 218 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 265 of file crazyflie_server.cpp.
|
inlineprivate |
Definition at line 797 of file crazyflie_server.cpp.
|
private |
Definition at line 897 of file crazyflie_server.cpp.
|
private |
Definition at line 846 of file crazyflie_server.cpp.
|
private |
Definition at line 858 of file crazyflie_server.cpp.
|
private |
Definition at line 854 of file crazyflie_server.cpp.
|
private |
Definition at line 856 of file crazyflie_server.cpp.
|
private |
Definition at line 860 of file crazyflie_server.cpp.
|
private |
Definition at line 859 of file crazyflie_server.cpp.
|
private |
Definition at line 857 of file crazyflie_server.cpp.
|
private |
Definition at line 855 of file crazyflie_server.cpp.
|
private |
Definition at line 850 of file crazyflie_server.cpp.
|
private |
Definition at line 851 of file crazyflie_server.cpp.
|
private |
Definition at line 847 of file crazyflie_server.cpp.
|
private |
Definition at line 852 of file crazyflie_server.cpp.
|
private |
Definition at line 849 of file crazyflie_server.cpp.
|
private |
Definition at line 888 of file crazyflie_server.cpp.
|
private |
Definition at line 884 of file crazyflie_server.cpp.
|
private |
Definition at line 892 of file crazyflie_server.cpp.
|
private |
Definition at line 886 of file crazyflie_server.cpp.
|
private |
Definition at line 890 of file crazyflie_server.cpp.
|
private |
Definition at line 889 of file crazyflie_server.cpp.
|
private |
Definition at line 887 of file crazyflie_server.cpp.
|
private |
Definition at line 891 of file crazyflie_server.cpp.
|
private |
Definition at line 885 of file crazyflie_server.cpp.
|
private |
Definition at line 848 of file crazyflie_server.cpp.
|
private |
Definition at line 864 of file crazyflie_server.cpp.
|
private |
Definition at line 894 of file crazyflie_server.cpp.
|
private |
Definition at line 894 of file crazyflie_server.cpp.
|
private |
Definition at line 862 of file crazyflie_server.cpp.
|
private |
Definition at line 871 of file crazyflie_server.cpp.
|
private |
Definition at line 869 of file crazyflie_server.cpp.
|
private |
Definition at line 874 of file crazyflie_server.cpp.
|
private |
Definition at line 867 of file crazyflie_server.cpp.
|
private |
Definition at line 873 of file crazyflie_server.cpp.
|
private |
Definition at line 870 of file crazyflie_server.cpp.
|
private |
Definition at line 868 of file crazyflie_server.cpp.
|
private |
Definition at line 863 of file crazyflie_server.cpp.
|
private |
Definition at line 872 of file crazyflie_server.cpp.
|
private |
Definition at line 877 of file crazyflie_server.cpp.
|
private |
Definition at line 878 of file crazyflie_server.cpp.
|
private |
Definition at line 880 of file crazyflie_server.cpp.
|
private |
Definition at line 879 of file crazyflie_server.cpp.
|
private |
Definition at line 876 of file crazyflie_server.cpp.
|
private |
Definition at line 883 of file crazyflie_server.cpp.
|
private |
Definition at line 882 of file crazyflie_server.cpp.
|
private |
Definition at line 881 of file crazyflie_server.cpp.
|
private |
Definition at line 845 of file crazyflie_server.cpp.
|
private |
Definition at line 896 of file crazyflie_server.cpp.
|
private |
Definition at line 853 of file crazyflie_server.cpp.