热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

simulatorapiversion

ubuntu18.04carla0.9.3whenrunningthemanualcontrolmode,Igotthefollow

ubuntu 18.04
carla 0.9.3

when running the manual control mode, I got the following warning, and I am wondering how I can get the simulator API updated?

WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API
WARNING: Client API version = 0.9.3
WARNING: Simulator API version = 0.9.2-131-g39f8e34b-dirty

该提问来源于开源项目:carla-simulator/carla

I have a similar issue. I compiled the PythonAPI for Ubuntu 18.04 (python 3.6) using the following Dockerfile:



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:18.04



ENV DEBIAN_FRONTEND=noninteractive



RUN apt-get update && \

    apt-get install -y wget software-properties-common git python3-distutils && \

    apt-get install -y build-essential clang-7 lld-7 g++-7 cmake ninja-build \

        python-dev python3-dev \

        libpng-dev libtiff5-dev libjpeg-dev tzdata curl unzip autoconf libtool rsync



RUN wget https://bootstrap.pypa.io/get-pip.py && \

    python2 get-pip.py --user --upgrade && \

    python3 get-pip.py --user --upgrade



RUN git clone https://github.com/carla-simulator/carla.git /carla

WORKDIR /carla

RUN git checkout 0.9.6



RUN update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-7/bin/clang 170 && \

    update-alternatives --install /usr/bin/clang++ clang++ /usr/lib/llvm-7/bin/clang++ 170



RUN sed -i 's/bdist_egg/bdist_wheel/g' Util/BuildTools/BuildPythonAPI.sh && \

    make PythonAPI

Then I use

1
docker cp

to extract the wheel from a container and install the wheel using pip.



1
2
3
4
5
6
7
8
9
$ docker build -t carla_whl:0.9.6 PythonAPI

$ docker run -it --rm --name carla_whl carla_whl:0.9.6

$ docker cp carla_whl:/carla/PythonAPI/carla/dist/carla-0.9.6-cp36-cp36m-linux_x86_64.whl PythonAPI/carla/dist/

$ docker stop carla_whl



$ pip3 install --user PythonAPI/carla/dist/carla-0.9.6-cp36-cp36m-linux_x86_64.whl

Processing ./PythonAPI/carla/dist/carla-0.9.6-cp36-cp36m-linux_x86_64.whl

Installing collected packages: carla

Successfully installed carla-0.9.6

But I got the following warning when running

1
manual_control.py

.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$ ./PythonAPI/examples/manual_control.py

pygame 1.9.6

Hello from the pygame community. https://www.pygame.org/contribute.html

INFO: listening to server 127.0.0.1:2000



Welcome to CARLA manual control.



Use ARROWS or WASD keys for control.



    W            : throttle

    S            : brake

    AD           : steer

    Q            : toggle reverse

    Space        : hand-brake

    P            : toggle autopilot

    M            : toggle manual transmission

    ,/.          : gear up/down



    TAB          : change sensor position

    `            : next sensor

    [1-9]        : change to sensor [1-9]

    C            : change weather (Shift+C reverse)

    Backspace    : change vehicle



    R            : toggle recording images to disk



    CTRL + R     : toggle recording of simulation (replacing any previous)

    CTRL + P     : start replaying last recorded simulation

    CTRL + +     : increments the start time of the replay by 1 second (+SHIFT = 10 seconds)

    CTRL + -     : decrements the start time of the replay by 1 second (+SHIFT = 10 seconds)



    F1           : toggle HUD

    H/?          : toggle help

    ESC          : quit



WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API

WARNING: Client API version     = 0.9.6-dirty

WARNING: Simulator API version  = 0.9.6

What is the difference between the "dirty" version and the regular one?


   



推荐阅读
  • 树莓派语音控制的配置方法和步骤
    本文介绍了在树莓派上实现语音控制的配置方法和步骤。首先感谢博主Eoman的帮助,文章参考了他的内容。树莓派的配置需要通过sudo raspi-config进行,然后使用Eoman的控制方法,即安装wiringPi库并编写控制引脚的脚本。具体的安装步骤和脚本编写方法在文章中详细介绍。 ... [详细]
  • 在Docker中,将主机目录挂载到容器中作为volume使用时,常常会遇到文件权限问题。这是因为容器内外的UID不同所导致的。本文介绍了解决这个问题的方法,包括使用gosu和suexec工具以及在Dockerfile中配置volume的权限。通过这些方法,可以避免在使用Docker时出现无写权限的情况。 ... [详细]
  • Android Studio Bumblebee | 2021.1.1(大黄蜂版本使用介绍)
    本文介绍了Android Studio Bumblebee | 2021.1.1(大黄蜂版本)的使用方法和相关知识,包括Gradle的介绍、设备管理器的配置、无线调试、新版本问题等内容。同时还提供了更新版本的下载地址和启动页面截图。 ... [详细]
  • 本文介绍了在Android Studio中使用命令行build gradle的方法,并解决了一些常见问题,包括手动配置gradle环境变量和解决External Native Build Issues的方法。同时提供了相关参考文章链接。 ... [详细]
  • 本文介绍了在Ubuntu 11.10 x64环境下安装Android开发环境的步骤,并提供了解决常见问题的方法。其中包括安装Eclipse的ADT插件、解决缺少GEF插件的问题以及解决无法找到'userdata.img'文件的问题。此外,还提供了相关插件和系统镜像的下载链接。 ... [详细]
  • 安装mysqlclient失败解决办法
    本文介绍了在MAC系统中,使用django使用mysql数据库报错的解决办法。通过源码安装mysqlclient或将mysql_config添加到系统环境变量中,可以解决安装mysqlclient失败的问题。同时,还介绍了查看mysql安装路径和使配置文件生效的方法。 ... [详细]
  • 学习SLAM的女生,很酷
    本文介绍了学习SLAM的女生的故事,她们选择SLAM作为研究方向,面临各种学习挑战,但坚持不懈,最终获得成功。文章鼓励未来想走科研道路的女生勇敢追求自己的梦想,同时提到了一位正在英国攻读硕士学位的女生与SLAM结缘的经历。 ... [详细]
  • Python实现变声器功能(萝莉音御姐音)的方法及步骤
    本文介绍了使用Python实现变声器功能(萝莉音御姐音)的方法及步骤。首先登录百度AL开发平台,选择语音合成,创建应用并填写应用信息,获取Appid、API Key和Secret Key。然后安装pythonsdk,可以通过pip install baidu-aip或python setup.py install进行安装。最后,书写代码实现变声器功能,使用AipSpeech库进行语音合成,可以设置音量等参数。 ... [详细]
  • Centos7.6安装Gitlab教程及注意事项
    本文介绍了在Centos7.6系统下安装Gitlab的详细教程,并提供了一些注意事项。教程包括查看系统版本、安装必要的软件包、配置防火墙等步骤。同时,还强调了使用阿里云服务器时的特殊配置需求,以及建议至少4GB的可用RAM来运行GitLab。 ... [详细]
  • 本文介绍了Hyperledger Fabric外部链码构建与运行的相关知识,包括在Hyperledger Fabric 2.0版本之前链码构建和运行的困难性,外部构建模式的实现原理以及外部构建和运行API的使用方法。通过本文的介绍,读者可以了解到如何利用外部构建和运行的方式来实现链码的构建和运行,并且不再受限于特定的语言和部署环境。 ... [详细]
  • CF:3D City Model(小思维)问题解析和代码实现
    本文通过解析CF:3D City Model问题,介绍了问题的背景和要求,并给出了相应的代码实现。该问题涉及到在一个矩形的网格上建造城市的情景,每个网格单元可以作为建筑的基础,建筑由多个立方体叠加而成。文章详细讲解了问题的解决思路,并给出了相应的代码实现供读者参考。 ... [详细]
  • ubuntu用sqoop将数据从hive导入mysql时,命令: ... [详细]
  • Vagrant虚拟化工具的安装和使用教程
    本文介绍了Vagrant虚拟化工具的安装和使用教程。首先介绍了安装virtualBox和Vagrant的步骤。然后详细说明了Vagrant的安装和使用方法,包括如何检查安装是否成功。最后介绍了下载虚拟机镜像的步骤,以及Vagrant镜像网站的相关信息。 ... [详细]
  • Java 11相对于Java 8,OptaPlanner性能提升有多大?
    本文通过基准测试比较了Java 11和Java 8对OptaPlanner的性能提升。测试结果表明,在相同的硬件环境下,Java 11相对于Java 8在垃圾回收方面表现更好,从而提升了OptaPlanner的性能。 ... [详细]
  • tcpdump 4.5.1 crash 深入分析
    tcpdump 4.5.1 crash 深入分析 ... [详细]
author-avatar
mobiledu2502885017
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有