Skip to content

Example code is not working #1

@ctovarr

Description

@ctovarr

Hello I hope you are doing well, I am trying to execute this example project with a "Jueying Lite3". I built the project inside the robot and looks like something is wrong with some sockets. When I send the command, the robot just starts moving its legs and does not finish its routine.

firefly@firefly:~/skaion/Lite3_MotionSDK/build$ cmake .. -DBUILD_PLATFORM=arm 
CMake Warning (dev) at CMakeLists.txt:34:
  Syntax Warning in cmake code at column 42

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
this is arm platform
-- Configuring done
-- Generating done
-- Build files have been written to: /home/firefly/skaion/Lite3_MotionSDK/build
firefly@firefly:~/skaion/Lite3_MotionSDK/build$ make -j
Scanning dependencies of target Lite_motion
[ 33%] Building CXX object CMakeFiles/Lite_motion.dir/main.cpp.o
[ 66%] Building CXX object CMakeFiles/Lite_motion.dir/src/motionexample.cpp.o
[100%] Linking CXX executable Lite_motion
[100%] Built target Lite_motion
firefly@firefly:~/skaion/Lite3_MotionSDK/build$ ./Lite_motion 
timer start ...
98 : Cannot bind the socket.
firefly@firefly:~/skaion/Lite3_MotionSDK/build$ 

Thanks your your time, what I am doing wrong?

WhatsApp.Video.2023-11-25.at.12.16.07.PM.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions