Open tongchenqiang opened 10 months ago
Hi, same problem here. I have just found this link (it is the Wiki page :arrow_up:)
I've done a lot of work using Portico. Some of them are private, but I'll release them ASAP. One is Portico for Docker. projetoarcanjo/portico:2.1.0
Keep one eye here. I'll make them public soon ( trigger me if I forget it ).
I've made Portico wrapped in a Docker container. This is an example how to run a Federate to connect to a X-Plane instance. You will need to configure X-Plane UDP connector.
docker run --name xplaneproxy --hostname=xplaneproxy --network arcanjo \
-e FEDERATION_NAME=ArcanjoFederation \
-e FEDERATE_NAME=XPlaneProxy \
-e XPLANE_ADDRESS=192.168.0.76 \
-v /etc/localtime:/etc/localtime:ro \
-p 36000:8080 \
-p 49003:49003/udp \
-d projetoarcanjo/xplaneproxy:1.0
Thats it. It will take your X-Plane airplane and throw it into a FEderation as a Federate. It also offer a REST API documented in Swagger to controll the Federate via web interface.
It was a long time I've made it so I may not remember some details. Take it here: https://github.com/projeto-arcanjo/xplaneproxy
Check the template federate to see the basics. From there you will need only HLA/RTI common knowledge. This will allow you to focus on your Federation because I take care of the Portico stuff.
https://github.com/projeto-arcanjo/template-federate
You will get a NATO RPR FOM here too. I've made this to create proxies to bind heterogeneous black box simulators into a common bus using Portico. So your X-Plane airplane will be a NATO equivalent plane like PhysicalEntity.Platform.Aircraft
.
Scrap my YouTube channel for "Projeto Arcanjo" and you will find some videos about this: https://youtube.com/@carlosmagnoabreu2827
Let me know if it was useful to you.
Thank you!
Hello, I would like to learn how to use Portico, but I cannot find many useful materials online. Therefore, I would like to inquire if you have any learning materials, including the process from environment configuration to compilation. Thank you!