Skip to content

Commit

Permalink
[tof100] fixed namespace error
Browse files Browse the repository at this point in the history
  • Loading branch information
MK16kawai committed Jan 11, 2025
1 parent 18a9f76 commit d195698
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions components/ext_devs/ext_dev_tof100/include/maix_tof100.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace maix::ext_dev::tof100 {

/**
* @brief Tof100 Resolution
* @maixpy maix.ext_dev.Tof100.Resolution
* @maixpy maix.ext_dev.tof100.Resolution
*/
enum class Resolution : uint32_t {
RES_100x100 = 100,
Expand All @@ -30,7 +30,7 @@ enum class Resolution : uint32_t {

/**
* @brief Tof100 TOF
* @maixpy maix.ext_dev.Tof100.Tof100
* @maixpy maix.ext_dev.tof100.Tof100
*/
class Tof100 final {
public:
Expand All @@ -47,7 +47,7 @@ class Tof100 final {
* the maximum distance in the frame is taken as the maximum reference distance,
* and the minimum distance in the frame is taken as the minimum reference distance.
*
* @maixpy maix.ext_dev.Tof100.Tof100.__init__
* @maixpy maix.ext_dev.tof100.Tof100.__init__
*/
Tof100(int spi_bus_num,
::maix::ext_dev::tof100::Resolution resolution=::maix::ext_dev::tof100::Resolution::RES_50x50,
Expand All @@ -70,7 +70,7 @@ class Tof100 final {
* It is the responsibility of the caller to free this memory
* in C/C++ to prevent memory leaks.
*
* @maixpy maix.ext_dev.Tof100.Tof100.image
* @maixpy maix.ext_dev.tof100.Tof100.image
*/
::maix::image::Image* image();

Expand All @@ -81,7 +81,7 @@ class Tof100 final {
* (x, y, distance) of the pixel with the maximum distance.
* If the operation fails, the return values will be x, y < 0.
*
* @maixpy maix.ext_dev.Tof100.Tof100.max_dis_point
* @maixpy maix.ext_dev.tof100.Tof100.max_dis_point
*/
TOFPoint max_dis_point();

Expand All @@ -92,7 +92,7 @@ class Tof100 final {
* (x, y, distance) of the pixel with the minimum distance.
* If the operation fails, the return values will be x, y < 0.
*
* @maixpy maix.ext_dev.Tof100.Tof100.min_dis_point
* @maixpy maix.ext_dev.tof100.Tof100.min_dis_point
*/
TOFPoint min_dis_point();

Expand All @@ -103,7 +103,7 @@ class Tof100 final {
* (x, y, distance) of the center pixel in the distance matrix.
* If the operation fails, the return values will be x, y < 0.
*
* @maixpy maix.ext_dev.Tof100.Tof100.center_point
* @maixpy maix.ext_dev.tof100.Tof100.center_point
*/
TOFPoint center_point();

Expand All @@ -115,7 +115,7 @@ class Tof100 final {
* It is the responsibility of the caller to free this memory
* in C/C++ to prevent memory leaks.
*
* @maixpy maix.ext_dev.Tof100.Tof100.image_from
* @maixpy maix.ext_dev.tof100.Tof100.image_from
*/
::maix::image::Image* image_from(const TOFMatrix& matrix);

Expand All @@ -127,7 +127,7 @@ class Tof100 final {
* (x, y, distance) of the pixel with the maximum distance.
* If the operation fails, the return values will be x, y < 0.
*
* @maixpy maix.ext_dev.Tof100.Tof100.max_dis_point_from
* @maixpy maix.ext_dev.tof100.Tof100.max_dis_point_from
*/
static TOFPoint max_dis_point_from(const TOFMatrix& matrix);

Expand All @@ -139,7 +139,7 @@ class Tof100 final {
* (x, y, distance) of the pixel with the minimum distance.
* If the operation fails, the return values will be x, y < 0.
*
* @maixpy maix.ext_dev.Tof100.Tof100.min_dis_point_from
* @maixpy maix.ext_dev.tof100.Tof100.min_dis_point_from
*/
static TOFPoint min_dis_point_from(const TOFMatrix& matrix);

Expand All @@ -151,7 +151,7 @@ class Tof100 final {
* (x, y, distance) of the center pixel in the matrix.
* If the operation fails, the return values will be x, y < 0.
*
* @maixpy maix.ext_dev.Tof100.Tof100.center_point_from
* @maixpy maix.ext_dev.tof100.Tof100.center_point_from
*/
static TOFPoint center_point_from(const TOFMatrix& matrix);

Expand Down

0 comments on commit d195698

Please sign in to comment.