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

Running client with airsim_ros in docker/Remote Machine gives error #2365

Closed
xuhao1 opened this issue Jan 6, 2020 · 1 comment
Closed

Running client with airsim_ros in docker/Remote Machine gives error #2365

xuhao1 opened this issue Jan 6, 2020 · 1 comment

Comments

@xuhao1
Copy link
Contributor

xuhao1 commented Jan 6, 2020

Hi All,
I am trying to run AirSim client in docker so that I can easily use Windows Version of AirSim with better performance and also test my swarm algorithm with multiple containers.

https://github.com/xuhao1/airsim_djisdk is my version of airsim_ros_pkg, with a little bit of performance improvement on simGetImages and also can configure RPC IP.

My question is after configuring RPClient IP to host machine IP and configure IP in settings.json to docker assigned IP or just localhost, the RPClib raise exceptions:

rpclib: function 'getMultirotorState' (called with 1 arg(s)) threw an exception. The exception is not derived from std::exception. No further information available.
error
Exception raised by the API:
rpclib: function 'getMultirotorState' (called with 1 arg(s)) threw an exception. The exception is not derived from std::exception. No further information available.
Exception raised by the API, didn't get image response.
rpclib: function 'simGetImages' (called with 2 arg(s)) threw an exception. The exception is not derived from std::exception. No further information available.
Exception raised by the API, didn't get image response.
rpclib: function 'simGetImages' (called with 2 arg(s)) threw an exception. The exception is not derived from std::exception. No further information available.
Exception raised by the API, didn't get image response.
rpclib: function 'simGetImages' (called with 2 arg(s)) threw an exception. The exception is not derived from std::exception. No further information available.
Exception raised by the API, didn't get image response.
@xuhao1
Copy link
Contributor Author

xuhao1 commented Jan 6, 2020

I fixed the problem. Just copy settings.json to docker /root/Documents/AirSim/ works

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