我正在尝试使用TraCI集成sumo和NS2,但我找不到错误 命令:
sumo-gui -n /home/user/Desktop/sumo/map.net.xml --remote-port 8888 &
ns simulation.tcl
这将打开SUMO界面并且打开地图没有任何问题,但是当我尝试启动模拟时它会返回:
Loading net-file from '/home/user/Desktop/sumo/map.net.xml'...done(1142ms).
Loading done.
Simulation started with time: 0.00
Error: Requested command not implemented (1): Command not implemented in sumo
Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown
Quitting (on error).
在终端中显示以下消息:
Error in method TraCIClient::extractCommandStatus, Server returned error [] Command not implemented in sumo
使用的版本:
SUMO相扑版本0.17.1
NS-2版本2.34
Ubuntu 12.04
在一些更改和补丁(TraCI)之后,它会在make命令上返回一堆错误,例如:
traci-client/TraCIClient.o:TraCIClient.cc:function TraCIClient::connect(): error: undefined reference to 'tcpip::Socket::connect()'
有人能指出我做错了吗?