VESC & CAN Bus communication to another MCU (NOT VESC)

General topics and discussions about the VESC and its development.
ExiD
Posts: 6
Joined: 28 Nov 2017, 12:41
Location: Russia
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby ExiD » 28 Nov 2017, 12:46


pf26
Posts: 310
Joined: 28 Mar 2016, 14:37
Location: FR Valence
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby pf26 » 29 Nov 2017, 13:19

I think your sendPacket function has flaws:
- your need to send extended packets, not standard ones. (ie: the IDE bit in the CAN frame should be set)
- you seem to send only your "data" array, not the packet bytes.

ExiD
Posts: 6
Joined: 28 Nov 2017, 12:41
Location: Russia
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby ExiD » 29 Nov 2017, 14:53


skipper762
Posts: 10
Joined: 13 May 2017, 06:08
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby skipper762 » 29 Nov 2017, 20:56


ExiD
Posts: 6
Joined: 28 Nov 2017, 12:41
Location: Russia
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby ExiD » 30 Nov 2017, 13:11


xachmo
Posts: 2
Joined: 16 Sep 2017, 19:18
Location: California
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby xachmo » 03 Feb 2018, 03:36

Hi Nick,

I've got a similar setup; using a Teensy and MCP2562 and working on using it to control my VESC over CAN.

Was wondering how far you got with this ?

yosoufe
Posts: 50
Joined: 18 Jul 2016, 11:26
Location: USA
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby yosoufe » 03 Feb 2018, 07:36


skipper762
Posts: 10
Joined: 13 May 2017, 06:08
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Re: VESC & CAN Bus communication to another MCU (NOT VESC)

Postby skipper762 » 25 Jun 2018, 03:53

@xachmo

Did you get anywhere with this, I got distracted by other project but I have just come back to this..?
By implementation was somewhat lacking and untested, did you write a library for this.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1236: count(): Parameter must be an array or an object that implements Countable

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests