Skip to content

How to set the spectator on the agent #59

@Panshark

Description

@Panshark

Hi @praveen-palanisamy ,

I am now working on a multi-agent project, and I want to set the env spectator on the agent vehicle. For example, from the rear of the car, a fixed third-person view to the vehicle. Do you know how to do that? Really thanks a lot!

Besides, when the code throws this exception in line 999 of multi_env.py:

except Exception:
            print("Error during step, terminating episode early.",
                  traceback.format_exc())
            self._clear_server_state()

My training step in the code will get cannot unpack non-iterable NoneType object error. I know why it could happen since the step function doesn't have a normal return this time, but I don't know how to handle it. Could you give me some examples about How do people normally deal with this error?

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions