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

Go1 Deployment camera code #52

Open
guyostfeld opened this issue Jul 21, 2024 · 0 comments
Open

Go1 Deployment camera code #52

guyostfeld opened this issue Jul 21, 2024 · 0 comments

Comments

@guyostfeld
Copy link

Thank you for open sourcing the code, much appreciated.
I am trying to deploy this on the Go1 and understand the camera height map code.
it seems to me that the height map part is not implemented on the version that is here. as when I am looking at the a1_real.py file the function _get_heights is a placeholder:

def _get_heights(self):
        """ TODO: get estimated terrain heights around the robot base """
        # currently return a zero tensor with valid size
        return torch.zeros(self.num_envs, 187, device= self.model_device, requires_grad= False)

also after reading some more, the camera sends the ros topic and thic code recieved it using this function _get_forward_depth_obs
but it is never called.

Am I missing something? could you share the complete code for generating the height map on the actual robot?
thanks.

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