问题标签 [automotive]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
173 浏览

architecture - AUTOSAR架构中的AssemblySwConnector和DelegationSwConnector有什么区别?

我的目标是在 SW 组件和 BSW 模块之间创建一个接口。

0 投票
2 回答
593 浏览

can-bus - 在 UDS 中,是否可以配置安全访问来解锁会话?

  1. 我有 4 个会话,即默认、扩展、编程和供应商会话。
  2. 跳转到供应商会话将通过扩展会话发生。默认 -> 扩展 -> 供应商
  3. 但在跳转到供应商会话之前,我需要提供安全访问。
  4. 一旦提供了安全访问,那么只有跳转应该发生在供应商会话中。

根据 ISO 14229 - 1 文档,安全访问服务不适用于默认会话,但适用于非默认会话。那么这是否意味着可以在 2 个非默认会话之间应用安全访问?

0 投票
1 回答
1850 浏览

c++11 - SOME/IP and VSOMEIP - Communication between 2 devices (TCP/UDP) Not working

I am working on Franca IDL and trying to implement the SOME/IP two device communication. I am referring the below links:

  1. https://at.projects.genivi.org/wiki/pages/viewpage.action?pageId=5472320
  2. https://github.com/GENIVI/vsomeip/wiki/vsomeip-in-10-minutes#request

Current Setup:

Ubuntu 18.04 (two machines - Server & Client) Two Machines connected over ethernet

But am actually confused between SOME/IP and VSOME/IP. Anyhow I went with the link [1] I could able to achieve communication between the processes running on the single local machine. I failed in two 2 device communication.

Later I followed the same in in link [2] but even here I was able to achieve communication between the processes running on the single local machine. I failed in two 2 device communication but server was running in one device and client was running on another but no communication achieved.

I came across this VSOMEIP - Communication between 2 devices (TCP/UDP) Not working post here but couldn't get how to proceed further.

My actual aim is to achieve two device communication using Franca IDL and SOME/IP i.e link [1]. But I am not finding any single source so that I can at least look into it.

Any suggestions will help me a lot. Thanks in advance.

0 投票
2 回答
153 浏览

android - 为什么 AP_POWER_STATE_REQ 在 Vehicle HAL 中是只读的

我在 type.hal 中看到,AP_POWER_STATE_REQ是只读的。如何VMCU - Power Controller更改 Android Automotive OS 的 powerState?我的假设是会有一个本机服务 - VHAL 的客户端处理与 VMCU 的通信,然后请求AP_POWER_STATE_REQ.. 进入关机, ......但是如果是只读的ON_FULL or DISP_OFF,我该怎么做。AP_POWER_STATE_REQ

0 投票
1 回答
157 浏览

python - 不明白为什么 UDS 长度对我来说似乎是错误的

我正在学习 UDS,在此过程中我遇到了从汽车记录的这个数据框

我不明白的是:测试帧中的长度是 2,后跟两个字节,这是正确的。请注意,函数和子函数都计入长度。但是在测试仪中,长度是 18,但是当我计算字节数(在我的示例中为 AA)时,它们是 22 字节,不包括肯定响应和子功能,如果我们包含它们,它将变为 24。ISO-TP 中的长度也是如此只参考以下帧而不是第一个?因为如果我们不计算包含位置消息的第一帧,那么 AA 字节的长度为 18。

另外,有人可以指导我到一个实现UDS的好库(现在最好是Python,因为我仍在学习过程中),因为我只是在做所有硬编码的事情,而且我不喜欢我最终得到的混乱.

0 投票
0 回答
24 浏览

android - 自动 UI 实现 Button

据我所知,只允许 MediaService 和 NotificationService 。有没有办法在 Android Auto 上显示一个调用函数的按钮?例如向手机发送一个字符串...

0 投票
1 回答
398 浏览

android - 如何为汽车安卓开发应用程序

我正在尝试为汽车 android(不是 android auto)构建简单的应用程序,但我找不到合适的模拟器来测试它?那么如何测试这些应用程序呢?有模拟器可以下载吗?是否可以从源代码构建它?如果可以从源代码构建,那么完整源代码的大小是多少?我尝试检查源代码,但它下载了超过 15 GB。谢谢

0 投票
1 回答
240 浏览

automation - 通过 CANoe COM 对象诊断 CANoe 自动化

我目前正在自动化矢量独木舟工具以将 CAN 数据发送到我的目标。我成功地加载了配置文件并使用 Canoe COM 对象控制了环境变量。现在我需要通过对象自动化诊断响应和请求。我能够在 COM 对象中找到 api 帮助雇用 achy,但我不确定要传递的参数。诊断创建请求 API 的快照

在这里我无法理解论点中的原始路径是什么?请提供相同的解释。提前致谢。

0 投票
3 回答
1080 浏览

unit-testing - 如何测试 AUTOSAR 项目?

我对 AUTOSAR 很陌生。目前我正在寻找在 AUTOSAR 项目中使用的不同类型的测试。我的目标是获得有关 AUTOSAR 测试领域的知识。以下是我希望得到解答的问题。1. AUTOSAR有哪些不同的领域可以测试?2. 如何实际测试AUTOSAR项目?3. 基于AUTOSAR的项目测试使用了哪些工具?4. AUTOSAR项目的学习测试如何开始?5. 查找可用于学习 AUTOSAR 测试的资源。

0 投票
2 回答
174 浏览

architecture - Polarion 和 Rhapsody 之间的可追溯性

我是 Rhapsody 和 Polarion 的新手,现在我必须将一些文件从 Polarion 导入 Rhapsody,然后再返回 Polarion。我知道并且可以帮助我解决问题的唯一工具是 ReqXChanger。有了这个工具,我可以使用来自 polarion 的 ReqIF 文件,然后创建一个可以导入 Rhapsody 的包。但是使用这个工具真的很难,当我导入/导出 ReqIF 文件时,我可能会在 Polarion 中导致严重的问题

我的问题是:你知道其他可以促进 Polarion 和 Rhapsody 之间联系的工具吗?

谢谢!