Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this sdk also tested on h1-2? #20

Open
Dawnborn opened this issue Nov 25, 2024 · 0 comments
Open

Is this sdk also tested on h1-2? #20

Dawnborn opened this issue Nov 25, 2024 · 0 comments

Comments

@Dawnborn
Copy link

Dear developers,

thank you for your contribution!

Are this repo and examples only for H1 or they could also work on H1-2. Recently I pull this repo and try to run on our H1-2 robot.

python h1_low_level_example.py                                                       
WARNING: Please ensure there are no obstacles around the robot while running this example.
Press Enter to continue...
[RecurrentThread] target func raise exception: name=AttributeError, args=("'NoneType' object has no attribute 'imu_state'",)
[RecurrentThread] target func raise exception: name=AttributeError, args=("'NoneType' object has no attribute 'motor_state'",)
[RecurrentThread] target func raise exception: name=AttributeError, args=("'NoneType' object has no attribute 'motor_state'",)
[RecurrentThread] target func raise exception: name=AttributeError, args=("'NoneType' object has no attribute 'motor_state'",)

There is no error during the installation. The robot is in develop mode, and I have run the following cmd

export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp

and export this file as the CYCLONEDDS_URI

<?xml version="1.0" encoding="UTF-8" ?>
<CycloneDDS xmlns="https://cdds.io/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://cdds.io/config https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd">
    <Domain Id="any">
        <General>
            <Interfaces>
                <NetworkInterface name="enp6s0" priority="default" multicast="default" />
            </Interfaces>
            <AllowMulticast>spdp</AllowMulticast>
        </General>
        <Internal>
        	<!--MinimumSocketReceiveBufferSize>50MB</MinimumSocketReceiveBufferSize-->
        </Internal>
    </Domain>
</CycloneDDS>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant