Em Andamento

Transform CAN message handlers from mBed C/C++ code to Python

Note: I'm dropping all automated replies with generic proposals - see question in the end.

We've got a small module of code that parses CAN messages using a microcontroller. The current system uses mBed OS and we're now moving to Linux. I'd like to have the knowledge embedded in C code to be usable in the new system, which is written in Python. Currently the software is compiled per car model and the correct .h is included with and #ifdef during the build.

Basic structure is that there's a common part that ingests CAN mesages (uint8_t processCanMessage(CANMessage msg)) and provides a few functions that return the data item's we're interested in (example uint8_t getCanWiper(void) returns if windshield wiper is currently active). The state is kept by the module in static variables - mostly no C++ features are used.

Each car model (17 models and thus .h files) is configured a .h file, which encodes which CAN message IDs are of interest (used for HW message filtering) and how the CAN messages are decoded to state variables.

The embedded code has almost no dependencies to other parts - it's just ingest-process-provide accessors to state.

The task is to:

Create single or multiple Python modules that:

-Use cut and paste, preferably even directly, the current embedded code

-For each car model, create a Python module that uses the code and provides the following functionality:

--function to list the CAN message IDs used (.h has a list of structs that have these as uint16_t)

-ingest function that takes CAN message and processes it

-accessor functions to state variables in C module

-Build script to build these all on ARM target (can be built on Raspbian or similar, no cross compiling needed.

There can be either 1 or 17 Python modules as a result. The less changes to existing C code the better.

I can send the source code with NDA. Included here is one example of the 17 configuration .h files.

As a sanity filter to block robots and your stuff - usually only one or two proposals are from people who actually know their stuff and I'm plonking all others. A few correct words are enough, no need for writing a novel!

How can you use C code in Python ?

Habilidades: Python, Programação C, Linux, Software Integrado

Veja mais: can set digits phone code vb60, can someone decode eaccelerator code, message board tracking code, app developers message board facebook code, converting php code python, php message board example code, convert php code python, can iphone scan upc code, vbnet message board source code, message board html code template, site crawler code python, can convert visual basic code matlab, convertphp code python, program translate message english morse code java, conversion code python php, php mysql instant message open source code, can message hornymatches, looking for a developer who can code python and php

Acerca do Empregador:
( 8 comentários ) Finland

ID do Projeto: #21707034

Concedido a:

simmme

Hello Sir, Got two files: // file module.c // $ cc -fPIC -shared -o [login to view URL] module.c int my_function(int num) { if (num == 0) return 0; else if ((num & (num - 1) == 0)) // even return 1; return -1; // odd Mais

€350 EUR em 7 dias
(0 Comentários)
0.0

18 freelancers estão ofertando em média €540 para esse trabalho

DevStar925

Hello sir, I read your project description and I am interested in your job. As you can see my profile, I am a full-time developer and have just completed many projects. Specially, I have top skills for C/C++, C#, J Mais

€500 EUR in 4 dias
(76 Comentários)
7.3
NewFuture338

Hello, Here's how to use c code in python. First, let’s write one simple function using C and generate shared library of the file. Let’s say file name is function.c. filter_none brightness_4 int myFunction(int num) Mais

€500 EUR in 7 dias
(19 Comentários)
5.7
ahmad5857

Hi Sir, we are CAN BUS experts , we can transform the C code to python. Lets talk to us on this. We are professional engineers and developers who do such projects from the last 10 years. We offer you our skills for Mais

€400 EUR in 7 dias
(17 Comentários)
5.8
george19921014

Hello! Nice to meet you! I have read your project carefully. I am very interested in your project. I am a Microelectronics engineering expert. I have a lot of experience on ARM, FPGA, DSP, Arduino, Raspberry, PLC, PIC, Mais

€500 EUR in 3 dias
(10 Comentários)
4.5
Victorier006

hello,how are you. i read your bid carefully. i am c/c++ expert and have full experience for 10 years. c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact me. Mais

€500 EUR in 7 dias
(6 Comentários)
4.2
malikasad079

I'm a python developer with 3+ year's of experience that specializes me in multi-platform applications using Pyside /puqt, scrapy , pillow matplotlib. I am also working as a full stack developer, so that I have more ex Mais

€500 EUR in 7 dias
(8 Comentários)
3.7
SmithZhang

Hello. I am a senior Microcontroller firmware and embedded system developer. I read your description and I am interested in your project. I have developed the raspberry pi app using python and Qt, Node js. I can devel Mais

€500 EUR in 10 dias
(15 Comentários)
4.5
avto35217

Hi,dear. I understand your proposals and I am very interested in this job - 'Transform CAN message handlers from mBed C/C++ code to Python'. I've already done this kind of project before. I am senior software developer Mais

€555 EUR in 2 dias
(3 Comentários)
3.2
athminteam

Hi, This is Vipin, an alumnus of IIT Kanpur. I have 6+ years of experience in customized software, web and mobile app development and has expertise in Android, iOS, Python, Magento, PHP, HTML, Java, Angular and Ioni Mais

€500 EUR in 7 dias
(2 Comentários)
2.8
partgreat801

I read your details . Your project is very interesting. If you work with me, it will be very reasonable. Looking forward hearing from you. Best Regards. Thank.

€500 EUR in 7 dias
(2 Comentários)
2.8
uxiaojuan2019

I have worked as developer embedded system with microcontroller such as DSP, FPGA/CPLD, PIC, PLC and so on. In there years, I have experiences about electronics engineering, power converter, communication such as I2C, Mais

€400 EUR in 7 dias
(7 Comentários)
2.7
steven54

Hello, this is a preliminary bid because (at least on the mobile interface I cannot find the include file). As for your questsion: Python can simply import compiled extensions (with minimal changes). Relevant Skills a Mais

€1666 EUR in 15 dias
(0 Comentários)
0.0
Software9981

Hello I hope you're doing well. I read your project needs carefully and found my skills relevant to your project we are a team of expert developers and have more than 6 years of experience in the same domain. As per Mais

€500 EUR in 7 dias
(0 Comentários)
0.0
pinesucceed01

Hi there, I am Python developer, having below given skills: Engineering professional with 10 years of experience in Software development. Mastering/Leading in the development of applications/tools using Python for 6 Mais

€500 EUR in 7 dias
(0 Comentários)
0.0
manager21

we have experiences on data sciences and python or r we have good team working on this projects please give a chances to done your work on time

€400 EUR in 7 dias
(0 Comentários)
0.0
trulsnyberg

Nice to meet you I am an Amazon Cloud Architect for the web infrastructure serving 90 million page impressions and 12 TB Internet traffic per month. The AWS services I use are EC2, ELB, MySQL RDS, VPC, CloudFront, Elas Mais

€700 EUR in 10 dias
(0 Comentários)
0.0
Albertbestcoder

I can start your project immediately. I can provide full-time communication and work your time-zone. If you give me a chance to serve you, I will provide a high quality product within the deadline. Best Regards

€250 EUR in 7 dias
(0 Comentários)
0.0