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

Fixed camera failling to start and say text fixed #8

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

TOTON95
Copy link

@TOTON95 TOTON95 commented May 11, 2020

Hello @betab0t,

Would you consider some of the changes that I made to make work the driver on a physical device? I think that I overengineered my code in my camera script but it depends on how the tests work for you.

That aside, Digital Dreams Lab has shown its intentions to keep using this SDK, but is updating the functions every Friday. Would you like to keep updating these new functions?

Let me know what do you think of it.

Thanks in advance.

@@ -8,7 +8,7 @@
<rosparam param="source_list">["/vector/joint_states"]</rosparam>
</node>

<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher">
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher">
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ROS was complaining about a deprecation for this publisher


# connect to Vector
async_robot.connect()

# Camera feed?
async_robot.camera.init_camera_feed()
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, the client was not able to connect with the robot, it said that the client was doing something else and blocks after this.

@@ -34,7 +34,7 @@ def battery_state_service_cb(self, request):
return response

def say_text_cb(self, request):
self.robot.say_text(request.text)
self.robot.behavior.say_text(request.text)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, "behavior" was missing.

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

Successfully merging this pull request may close these issues.

1 participant