navipack / mcu-sdk

3 stars 2 forks source link

Communication between MCU/Raspbery #1

Open tinoreycoc opened 7 years ago

tinoreycoc commented 7 years ago

Hey,

I'm just starting to use the navi-panel, and I would like to do a python script to communicate with the MCU from a raspberry. I don't know where to start. Is the mcu-SDK used IN the mcu, or used to communicate with it ? If it is for the communication, where do I have to implement the serial read and write code ?

Thanks

JalonWong commented 7 years ago

Hey @tinoreycoc ,

Very sorry for the late reply. Recently our focus has been on other project. The mcu-sdk is used in the mcu to communicate with the NaciPack(Lidar). It's a little difficult what you want to do. You can reference NaviPack通讯协议(标准版). It is only in Chinese. But fortunately, I have a python sample code in my hand. NaviPanelTool. Hope It can help you.

tinoreycoc commented 7 years ago

Hey @JalonWong ,

no problem and thank you for your answer I m going to try to understand the reference and your python sample. I will get back to you if needed ;) See you later

tinoreycoc commented 7 years ago

Hey again @JalonWong

Can you send me all package version that you are using for the python sample please ? Moreover, which python version are you using ? Python 2 or 3 ?

By thanking you in advance for you answer.

JalonWong commented 7 years ago

Hey @tinoreycoc ,

I am using Python 3.5 and package pyserial 3.3.