Skip to content

Commit

Permalink
Merge branch 'hotfix/0.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
Raffaello Bonghi committed Nov 13, 2014
2 parents 6659b68 + 90dbf47 commit c08cbfc
Show file tree
Hide file tree
Showing 13 changed files with 94 additions and 544 deletions.
23 changes: 0 additions & 23 deletions includes/I2c.h

This file was deleted.

4 changes: 2 additions & 2 deletions includes/communication/decode_packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ extern "C" {
* @param len
* @param info
*/
void saveOtherData(information_packet_t* list_send, size_t len, information_packet_t info);
void saveOtherData(information_packet_t* list_send, size_t len, information_packet_t* info);

/**
*
* @param list_send
* @param len
* @param info
*/
void sendOtherData(information_packet_t* list_send, size_t len, information_packet_t info);
void sendOtherData(information_packet_t* list_send, size_t len, information_packet_t* info);


#ifdef __cplusplus
Expand Down
4 changes: 2 additions & 2 deletions includes/communication/parsing_packet.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ extern "C" {
* @param len
* @param info
*/
void saveData(information_packet_t* list_send, size_t len, information_packet_t info);
void saveData(information_packet_t* list_send, size_t len, information_packet_t* info);

/**
*
* @param list_send
* @param len
* @param info
*/
void sendData(information_packet_t* list_send, size_t len, information_packet_t info);
void sendData(information_packet_t* list_send, size_t len, information_packet_t* info);

/**
*
Expand Down
17 changes: 9 additions & 8 deletions includes/packet/motion.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ typedef struct coordinate {
} coordinate_t;
#define LNG_COORDINATE sizeof(coordinate_t)

typedef struct delta_odometry {
coordinate_t delta[BUFFER_ODOMETRY];
} delta_odometry_t;
#define LNG_DELTA_ODOMETRY sizeof(delta_odometry_t)
//TODO correction this messages TOO LARGE
//typedef struct delta_odometry {
// coordinate_t delta[BUFFER_ODOMETRY];
//} delta_odometry_t;
//#define LNG_DELTA_ODOMETRY sizeof(delta_odometry_t)

typedef struct parameter_motors {
float radius_r;
Expand Down Expand Up @@ -90,8 +91,8 @@ typedef uint8_t enable_motor_t;
enable_motor_t enable; \
motor_t motor; \
constraint_t constraint; \
emergency_t emergency; \
delta_odometry_t delta_odometry;
emergency_t emergency;
//delta_odometry_t delta_odometry;

#define PID_CONTROL_L 0
#define PID_CONTROL_R 1
Expand Down Expand Up @@ -130,8 +131,8 @@ typedef uint8_t enable_motor_t;
hashmap_motion[VELOCITY] = LNG_VELOCITY; \
hashmap_motion[VELOCITY_MIS] = LNG_VELOCITY; \
hashmap_motion[ENABLE] = LNG_ENABLE_MOTOR; \
hashmap_motion[EMERGENCY] = LNG_EMERGENCY; \
hashmap_motion[DELTA_ODOMETRY] = LNG_DELTA_ODOMETRY; \
hashmap_motion[EMERGENCY] = LNG_EMERGENCY;
//hashmap_motion[DELTA_ODOMETRY] = LNG_DELTA_ODOMETRY;

#endif /* MOTION_H */

302 changes: 0 additions & 302 deletions nbproject/Makefile-XC16_dsPIC33FJ128MC804.mk

This file was deleted.

36 changes: 0 additions & 36 deletions nbproject/Makefile-local-XC16_dsPIC33FJ128MC804.mk

This file was deleted.

73 changes: 0 additions & 73 deletions nbproject/Package-XC16_dsPIC33FJ128MC804.bash

This file was deleted.

14 changes: 9 additions & 5 deletions nbproject/configurations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<itemPath>includes/system/user.h</itemPath>
<itemPath>includes/system/system.h</itemPath>
</logicalFolder>
<itemPath>includes/I2c.h</itemPath>
</logicalFolder>
<logicalFolder name="LibraryFiles"
displayName="Library Files"
Expand Down Expand Up @@ -55,7 +54,6 @@
<itemPath>src/system/configuration_bits.c</itemPath>
<itemPath>src/system/interrupts.c</itemPath>
</logicalFolder>
<itemPath>src/I2c.c</itemPath>
<itemPath>src/main.c</itemPath>
</logicalFolder>
<logicalFolder name="ExternalFiles"
Expand All @@ -76,7 +74,7 @@
<targetPluginBoard></targetPluginBoard>
<platformTool>ICD3PlatformTool</platformTool>
<languageToolchain>XC16</languageToolchain>
<languageToolchainVersion>1.22</languageToolchainVersion>
<languageToolchainVersion>1.23</languageToolchainVersion>
<platform>4</platform>
</toolsSet>
<compileType>
Expand Down Expand Up @@ -257,23 +255,29 @@
<property key="memories.aux" value="false"/>
<property key="memories.bootflash" value="false"/>
<property key="memories.configurationmemory" value="false"/>
<property key="memories.configurationmemory2" value="true"/>
<property key="memories.dataflash" value="true"/>
<property key="memories.eeprom" value="true"/>
<property key="memories.flashdata" value="true"/>
<property key="memories.id" value="true"/>
<property key="memories.programmemory" value="true"/>
<property key="memories.programmemory.end" value="0x157ff"/>
<property key="memories.programmemory.partition2" value="true"/>
<property key="memories.programmemory.partition2.end"
value="${memories.programmemory.partition2.end.value}"/>
<property key="memories.programmemory.partition2.start"
value="${memories.programmemory.partition2.start.value}"/>
<property key="memories.programmemory.start" value="0x0"/>
<property key="memories.userotp" value="false"/>
<property key="poweroptions.powerenable" value="false"/>
<property key="programoptions.donoteraseauxmem" value="false"/>
<property key="programoptions.eraseb4program" value="true"/>
<property key="programoptions.preservedataflash" value="false"/>
<property key="programoptions.preserveeeprom" value="false"/>
<property key="programoptions.preserveprogramrange" value="false"/>
<property key="programoptions.preserveprogramrange.end" value="0x157ff"/>
<property key="programoptions.preserveprogramrange.start" value="0x0"/>
<property key="programoptions.preserveuserid" value="false"/>
<property key="programoptions.programcalmem" value="false"/>
<property key="programoptions.programuserotp" value="false"/>
<property key="programoptions.testmodeentrymethod" value="VPPFirst"/>
<property key="programoptions.usehighvoltageonmclr" value="false"/>
<property key="programoptions.uselvpprogramming" value="false"/>
Expand Down
Empty file removed nbproject/project.properties
Empty file.
20 changes: 0 additions & 20 deletions src/I2c.c

This file was deleted.

Loading

0 comments on commit c08cbfc

Please sign in to comment.