Open krvcz opened 4 years ago
Haha, that is true, but I already did much of the research on the protocol. Have a look at proc.py file. I will be reviving this project, so expect some updates and feel free to make requests or contribute.
Basically the firmware can already move gimbal, wheels and blaster, just needs some basic plumbing for the way commands are sent. I will implement the new version of asyncio to create a control loop. Let me know if you can get it to load on your board.
Added async event loop and web socket
ok, yesterday I came back to check with the option of two Can bus and the gimbal was moving, but the motors did not respond. It's was project: RoboMasterS1Challenge/robomaster_s1_can_hack
Why do you want to use 2 can busses? Can you try loading the micropython code and let me know if it works for you? Do you really need ROS? Trying to understand what you want to achieve.
I just want to check if the older solutions work, because the newest ones with one CAN do not necessarily work. First, I wanted to do as in the previous topic using ROS. In one solution, the robot connects to the ROS, but only the gimbal moves. If ideas run out, I will try micropython
Implemented simple keyboard controller to move the robot with arrow keys via tcp ip callback
Dear sir I want to try the function of your work But I would like to know
I can not let the board and s1 communicate to each other: Do I need a CAN RXTX - HL convertor? I plug the board serial to putty terminal it shows the led2 is on and pulling "passing" to the terminal
What should I do to get rid of this!?
Yes you need a canbus HL converter.
You need to connect it to the gimball for example and unplug the control unit (with antennas)
Thanks for your quick reply Would I know which pin I need to plug? Currently I make it with a convertor and using the CAN1 Is it correct because I just can guess the port from the python code and don't know if it is the work.
Also is it a rx-rx/ tx/tx connection for the converter connection?
Many thanks for your kind reply at all
Are there only two wires needs to connect to the board?
Yes CAN 1, photo might be incorrect, I meant to show where I connected it to the S1
So, I do not know if I understood, but at the moment in micropython I can only turn on the blue lamp?