imu_to_angles.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:autonomous_bicycle 作者: SiChiTong 项目源码 文件源码
def publish_angles(self):
        self.pub_imu_roll_msg = Float32()
        self.pub_imu_roll_msg.data = self.roll
        self.pub_imu_roll.publish(self.pub_imu_roll_msg)

        self.pub_imu_pitch_msg = Float32()
        self.pub_imu_pitch_msg.data = self.pitch
        self.pub_imu_pitch.publish(self.pub_imu_pitch_msg)

        self.pub_imu_yaw_msg = Float32()
        self.pub_imu_yaw_msg.data = self.yaw
        self.pub_imu_yaw.publish(self.pub_imu_yaw_msg)


# Main function.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号