How can I simulate the operation of this library? #271
-
Hi, I'm an electrical engineering student from Brazil and I'm interested in learning more about ISOBUS and its surroundings. Unfortunately, documentation of ISOBUS comes at a pretty high price for me, so I'm looking for ways to learn about it from information I find on the internet. Observing AgIsoStack++, I was able to understand some things, but I don't have, at this point, equipment to prepare tests and carry out the tutorial. So, do you have any suggestions for some form of simulation that I can run? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello! It depends on what exactly you want to simulate. If you're looking to essentially make two applications that talk to each other via ISOBUS without any hardware, that's easy enough if you have access to a Linux PC of some kind, like a raspberry pi, or a desktop PC with Linux installed. Basically, you could set up two programs to communicate over Linux virtual CAN interfaces.
Then when running our tutorials/examples, just replace "can0" with "vcan0" when using the SocketCAN driver.
If you're wanting to do something a bit more complicated, like perform virtual terminal or task controller communication, that might be pretty difficult, as we do not have software to fully emulate a VT or TC (yet) unfortunately. Those will probably require some hardware to fully experiment with. |
Beta Was this translation helpful? Give feedback.
Hello! It depends on what exactly you want to simulate.
If you're looking to essentially make two applications that talk to each other via ISOBUS without any hardware, that's easy enough if you have access to a Linux PC of some kind, like a raspberry pi, or a desktop PC with Linux installed. Basically, you could set up two programs to communicate over Linux virtual CAN interfaces.
Then when running our tutorials/examples, just replace "can0" with "vcan0" when using the SocketCAN driver.
canDriver = std::make_shared<isobus::SocketCANInterface>("vcan0");
If you're wanting to do something a bit more complicate…